-
Notifications
You must be signed in to change notification settings - Fork 564
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
if I manually close the app does not work? #235
Comments
'stopOnTerminate: false' is currently Android only feature. If you terminate your app on iOS it will just stop sending locations. I was working on iOS implementation, but due lack of time and resources it's progressing slowly. |
I should correct docs though. |
Thanks for the quick response. Ah okok, so theoretically on ios can you implement this thing right? Because I watched this repo for a feature that I need in an app, I need to detect when a user is near in an area (gps position). Then I wanted to add, sending the location to the server I don't use it. Thanks |
@mauron85 Hi. We are interested in |
Help is welcomed. It could be implemented by using geofences. When user closes app, geofence is set to some very small radius. If user crosses this radius, geofence event will be sent to plugin, which auto starts itself and continue to operate normally. |
@mauron85 thank you. Will it start tracking after phone reboot? |
I created pull request in ios implementation. mauron85/background-geolocation-ios#7 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed, because it has not had recent activity. If you believe this issue shouldn't be closed, please reopen or write down a comment requesting issue reopening with explanation why you think it's important. Thank you for your contributions. |
Hi,
when I have the app in the foreground and in the background it works because it sends me notifications but if I manually close the app then everything stops working.
(it does not send me any more notifications and in the logs it does not add anything anymore)
Your Environment
desiredAccuracy: BackgroundGeolocation.HIGH_ACCURACY,
stationaryRadius: 5,
distanceFilter: 3,
notificationTitle: 'Background tracking',
notificationText: 'enabled',
debug: true,
startOnBoot: true,
stopOnTerminate: false,
saveBatteryOnBackground: false,
locationProvider: BackgroundGeolocation.DISTANCE_FILTER_PROVIDER,
interval: 10000,
fastestInterval: 5000,
activitiesInterval: 10000,
stopOnStillActivity: false
Context
So what I want to know is, does it work if the app is manually closed or I have a wrong configuration?
Thanks
The text was updated successfully, but these errors were encountered: