-
Notifications
You must be signed in to change notification settings - Fork 425
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] Health apps requirement for accessing the ACTIVITY_RECOGNITION permission #2003
Comments
Yes, the plug-in uses the Motion API to automatically triggger location-tracking in the background. The Motion API comes under the umbrella of “Health”. The Play Store has become more strict about this permission, requiring you explain in detail why you’re using the motion API, which is to automatically trigger location-tracking in the background. This is an accepted exemption for foreground-service launches. see “Exemptions from background start restrictions“ in the Android Docs |
The plug-in can, of course, operate without the motion api (it uses a Geofence around the last known position to detect movement). Your app will take longer distances to engage location-tracking (requiring movement of at least 200 meters) |
Is there a way to include The Play Store Health form isn't great and doesn't let you explain why you need it sadly, it's just an Other checkbox: Thanks for the quick reply @christocracy |
See the last paragraph of my blog here to learn how to remove specific permissions from your app. |
See my latest blog-post about this |
Your Environment
react-native -v
): 0.72.6PASTE_YOUR_CODE_HERE
Expected Behavior
No issues in Play Store
Actual Behavior
Received this message in the Play Store
Steps to Reproduce
react-native-background-geolocation
to AppContext
Publish on Play Store
Debug logs
Logs
The text was updated successfully, but these errors were encountered: