Is it possible to track the gps location in the phonegap (iphone) application in the background (means the application is not working)

I am working on an iphone application that should trigger a notification when a user reaches a certain place. I am developing an application on the phone. The function is available in the telephone table for continuous tracking of the GPS location, i.e. "Geolocation.watchPosition", but I want to know: will the function track the location, even if the application does not work (out of state)?

+4
source share
2 answers

I recently found out that for the desired functionality I need to create a Phonegap plug-in and embed it in the project. It worked for me.

+4
source

you can do this if your application runs in the background
but its not possible if the user stops the application
checks this message
Is it possible to run the background process on the iPhone using private APIs?

0
source

Source: https://habr.com/ru/post/1392918/


All Articles