How to make a phonegap build app work in background
问题 I need my app to work 24/7 recording the users location every 5 mins. It works fine while the phone is active but when it isn't the setInterval() 's strecth out to be up to 5x longer than they should. Using phonegap build, how would I go about making the app work as it should in the background while the phone is idle? 回答1: @Marty, both Android and iOS and run in the background, but require an extension to the regular config.xml. To be clear Android apps uses AndriodManifest.xml. iOS uses,