Iphone webapp keep alive
-
22-06-2021 - |
Question
I am currently developing a web app application for iphone
The main fonctionnality of this app is to collect GPS data in a regular way ( every 10 sec ) in order to be sent via AJAX to a WebService and saved...
the problem is that after a few moments , the iphone goes in sleep mode ( screen switch off ) and then the process is no longer active
is there a way to keep the application constantly awake like some traditional applications such as GPS applications ?
Solution
You can not keep a device awake with a non-native app. See the docs.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow