-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android app crashes when using backgroundgeolocation.start() #1732
Comments
Found the issue this was not added in android/app/build.gradle implementation 'com.google.android.gms:play-services-location:21.0.1' |
It is well-known that
See #1710 There are smarter ways to control the |
The |
Searching the issues here for "IncompatibleClassChangeError", you would find these results |
Your Environment
react-native -v
):0.70.4Expected Behavior
state.enabled should be true to perform further tasks.
Actual Behavior
state.enabled is false and the app crashes when I use BackgroundGeolocation.getCurrentPosition or any other task
Steps to Reproduce
1.Did the setup as instructed and added the key in manifest file
2.configured the background geolocation in usestate function
3.getting state.enabled as false
4.the app crashes whenever I try to use backgroundgeolocation.start() or backgroundgeolocation.getcurrentposition
Context
Not much context, just trying to configure the background geolocation
Debug logs
The text was updated successfully, but these errors were encountered: