Open petertoth-dev opened 1 month ago
react-native -v
BackgroundGeolocation.ready( { desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH, distanceFilter: 10, stopTimeout: 5, debug: true, // <-- enable this hear sounds for background-geolocation life-cycle. logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE, stopOnTerminate: false, // <-- Allow the background-service to continue tracking when user closes the app. startOnBoot: true, } ).then((state) => { // YES -- .ready() has now resolved. BackgroundGeolocation.getCurrentPosition({}); BackgroundGeolocation.start(); });
default
It should work
The App can't even start up, it throws: new NativeEventEmitter() requires a non-null argument error.
new NativeEventEmitter() requires a non-null argument
Try to reproduce in freshly generated “hello-world” app.
This issue is stale because it has been open for 30 days with no activity.
Your Environment
react-native -v
): 0.72.9default
Expected Behavior
It should work
Actual Behavior
The App can't even start up, it throws:
new NativeEventEmitter() requires a non-null argument
error.Steps to Reproduce
Context
Debug logs
Logs
``` PASTE_YOUR_LOGS_HERE ```