Got the fix actually but using the code which the library suggest is wrong, Posting it here just in case anyone is stuck because of it.
the code suggested by library :
const {HIGH_ACCURACY} = LocationEnabler.PRIORITIES;
Modified code :
const {HIGH_ACCURACY} = LocationEnabler.default.PRIORITIES;