react-native-background-geolocation icon indicating copy to clipboard operation
react-native-background-geolocation copied to clipboard

Access to motion and fitness data

Open normanrz opened this issue 11 years ago • 3 comments

When I start my app it asks for a permission to access motion and fitness data. Why is this necessary? Is there a way to avoid it?

normanrz avatar Nov 26 '15 22:11 normanrz

disableMotionActivityUpdates: true

You will no longer receive the activity data in your recorded locations

christocracy avatar Nov 26 '15 23:11 christocracy

Thanks, I somehow missed that in the docs!

normanrz avatar Nov 26 '15 23:11 normanrz

For me it is for MOTION access asking the FIRST time the app is installed, but not AGAIN after that. WITH disableMotionActivityUpdates: true On a VIRTUAL device, it does not ask, but on a REAL device, it asks 1 time after download.

RESOLUTION: you must run the READY function with the START function in the callback for that CONFIGURATION to MATTER. running the READY function in a DIFFERENT scope means the START function will not see that CONFIGURATION

ejswenson15 avatar Jun 04 '19 18:06 ejswenson15