Get GPS location without background service

Hello there,
I am looking for a solution, to get the users GPS location without the background service in a fixed intervall when the phone is sleeping.
As far as i understood, there is something called alarmmanager on android. Does anyone know a cordova plugin for that?
Or are there any other solutions out there?
How about iOS?

Any help will be highly appreciated.


I as a user would hate this so hard that I would instantly delete this app and give it zero-star reviews. Battery life is precious. Mobile apps should not waste it. When my phone is sleeping, it is sleeping.

1 Like

Sorry, i forgot to mention, that this will only happen, when the user activates it manually.
So, no need to get angry :wink: