I have cordova javascript running in the background, triggered by phonegap pushPlugin background message processing (https://github.com/phonegap/phonegap-plugin-push/).
Calling navigator.geolocation.getCurrentPosition
doesn't return the callback until the user resumes the app.
Is there any way to bypass this restriction?