Pregunta

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 ?

¿Fue útil?

Solución

You can not keep a device awake with a non-native app. See the docs.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top