cordova - PhoneGap – prevent screen lock -


i doing investigation in developing app target android/ios/windows phone mainly.

i use phonegap build.

i can not answer regarding following: can prevent screen locking when application running?

this critical app track gps data 3 hours potentially.

if use plugins, prevent me using phonegap build? prefer not have set different environments target different platforms.

do need continuous tracking or need app visible, time?

have tried setting (ios only), instance: exit-on-suspend
app continue run while being in background, if set flag in config.xml.

<preference name="exit-on-suspend" value="false" /> 

phonegap documentation: configuring remote builds


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -