0

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 ?

j0k
  • 22,600
  • 28
  • 79
  • 90
Noname
  • 25
  • 1
  • 6

1 Answers1

1

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

adamdehaven
  • 5,890
  • 10
  • 61
  • 84