transistorsoft / flutter_background_geolocation

Sophisticated, battery-conscious background-geolocation & geofencing with motion-detection
https://www.transistorsoft.com/shop/products/flutter-background-geolocation
Other
650 stars 241 forks source link

app not setup in Samsung device because warning by Samsung health how to solve this ? how to turn off connected with health app because i use package in track location only? #1344

Closed AbdullahAhmed1991998 closed 2 months ago

AbdullahAhmed1991998 commented 3 months ago

Your Environment

Expected Behavior

Actual Behavior

Steps to Reproduce

1. 2. 3. 4.

Context

Debug logs

Logs ``` PASTE_YOUR_LOGS_HERE ```
christocracy commented 3 months ago

What is a “warning by Samsung health”?

the plug-in implements the Motion API, which the plug-in uses to toggle location services ON/OFF when the device is detected to be in-motion/still. The Motion API (which this plug-in has implemented for the last 10 years), has since Android 13, been placed under the umbrella of “Health API”.

read the wiki here “Philosophy of Operation”.

also see my blog: https://transistorsoft.medium.com/google-play-store-required-declarations-for-foreground-services-and-health-97da6e2abd5a

AbdullahAhmed1991998 commented 3 months ago

ok now i turn off Philosophy of Operation on android by edit in manifest file how turn off in ios ?

christocracy commented 3 months ago

Are you aware of the consequences?

AbdullahAhmed1991998 commented 3 months ago

yes how to turn off connected with health app in android and ios because i use package in track location only ?

christocracy commented 3 months ago

Do you understand that the plug-in will take much longer on Android to initiate location-tracking without the Motion api as a trigger?

see api docs Config.disableMotionActivityUpdates

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.