- SDK Version: 41
- Platforms(Android/iOS/web/all): Android Expo Go
- Add the appropriate “Tag” based on what Expo library you have a question on.
I have updated SDK to the newest version and I started to receive error when app is calling background task using this method:
Location.startLocationUpdatesAsync. All needed permissions, like:
requestBackgroundPermissionsAsync are called before as It mentioned in documentation.
Exception visible in console:
[Unhandled promise rejection: Error: Attempt to invoke interface method 'java.util.Map o.e.c.j.d.getOptions()' on a null object reference] at node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:103:50 in promiseMethodWrapper at node_modules/@unimodules/react-native-adapter/build/NativeModulesProxy.native.js:15:23 in moduleName.methodInfo.name at node_modules/expo-location/build/Location.js:162:7 in startLocationUpdatesAsync at node_modules/expo-location/build/Location.js:162:7 in startLocationUpdatesAsync at screens/Home.js:160:20 in findCoordinates at [native code]:null in flushedQueue at [native code]:null in invokeCallbackAndReturnFlushedQueue