iOS 13.1 Beta - Geolocation not reported when app is in background
See original GitHub issueSeems like the geolocation is not reported when the app runs in background despite the “Always” permission is set
Your Environment
- Plugin version: 3.0.6
- Platform: iOS 13.1 beta
- OS version:
- Device manufacturer and model: IPhone 6s
- Cordova version (
cordova -v
): 9.0.0 (cordova-lib 9.0.1) - Cordova platform version (
cordova platform ls
): ios 5.0.1 - Plugin configuration options:
- Link to your project:
Context
On iOS 13.1 when the user has checked in the settings of the app the “always” permission for the iOS, the location is not beeing recorded after one leaves the app (switches the app to background i.e.).
I can see that on the navtive Cordova Background Geolocation It this issue has been already raised and solved: transistorsoft/cordova-background-geolocation-lt#952
Expected Behavior
The Geolocation should be properly sent even if the app is in the background
Steps to Reproduce
- Turn on the “Always” geolocation permission (turned on from the settings page, not from the prompt - as it is no longer available in the iOS 13).
- Start tracking the geolocation
- Go to the desktop
- After approx. 30 seconds the location arrow on the top bar will disappear and the geolocation requests will cease beeing sent to the server.
- Going back to the application reenables sending of the geolocation requests
Issue Analytics
- State:
- Created 4 years ago
- Comments:17
Top Results From Across the Web
Get geolocation when app not in use | Apple Developer Forums
There are some Location Services API that allows an application to be launched in the background as a result of a location event,...
Read more >iOS 7.1 to Fix Geolocation Issue That Broke Location-Based ...
In iOS 7, when a user force quits the app, all location-aware background services were disabled. This caused the company to have a...
Read more >Some iPhone owners are reporting that iOS 13 closes ...
There have many reports across the Internet with iPhone owners bemoaning how aggressive iOS 13 is closing apps in the background.
Read more >iOS 13 or iPadOS problems and how to fix them - AppleToolBox
AirPort Utility app keeps crashing on iPadOS and iOS 13.1 ... Several users have reported that Apple Music does not sync and the...
Read more >Will ios terminate the app running in background after a ...
No, there is no specific time defined for this.But app will definitely terminate based upon certain parameter - battery drain, memory footprint issue...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have not done any fork. I am using the vanilla 3.1.0 version
Kind regards
Tom On 11/09/2020 12:05, Anuj Singh wrote:
@stgraham2000 on iOS 13 you have to enable access to use “geolocation always” in application settings or by accepting additional prompt which popups when after locking and unlocking the phone, check this article for more details https://medium.com/@transistorsoft/ios-13-and-android-q-support-beb7595d2c24