-
Notifications
You must be signed in to change notification settings - Fork 248
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
[Help Want]: Not Working in IOS side kill mode after 30 minutes #1418
Comments
After terminating an iOS app, the plug-in will automatically resume tracking when the device moves about 200 meters. This is easily demonstrated in the iOS simulator with location simulated with “Freeway Drive” |
Read the api docs Config.stopOnTerminate for detailed information. |
i already set |
Read the api docs Config.stopOnTerminate. There’s valuable information there. Also see wiki “Debugging” and learn to fetch plug-in logs using method .emailLog (consult the api docs for usage). |
dear, please give me proper solution of this problem |
Provide logs. |
already share code logs |
No, you have not. The plug-in logs everything it does in its own logs database. Search the api docs “Logger”. You MUST learn to analyze the plug-in logs. |
Also read the wiki “Debugging”. |
https://github.com/transistorsoft/flutter_background_geolocation/wiki/Debugging |
Provide logs |
is it require of shaking (movement) to phisical live device for get location ? |
Yes |
how can i get logs file ? |
Do you know how to access the api documentation? |
no, just give me step |
The api docs have a search feature. Search “emailLog” |
Required Reading
Plugin Version
flutter_background_geolocation: ^4.16.6
Mobile operating-system(s)
What do you require assistance about?
I am working on a Flutter application that requires continuous location tracking, even when the app is killed (terminated). The implementation works fine for 15-20 minutes, but after 30 minutes, location updates stop completely on iOS.
Environment:
Flutter Version: [✓] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale en-IN)
Xcode Version: XCode 16.0
iOS Version: [iOS 15/16/17]
Device: [iPhone Model]
Question:
How can I ensure reliable location tracking in iOS even after the app is killed for more than 30 minutes? Are there any additional workarounds to keep the app running in the background or restart location updates?
[Optional] Plugin Code and/or Config
[Optional] Relevant log output
Stop the tracking in iOS killed mode after 30 minutes
The text was updated successfully, but these errors were encountered: