Im using Apache cordova to make a route tracer app. My issue is that the coords are getting correctly when my app is foreground, but not when it goes to background (xhr calls are still working) this is because of Android 11 permission limitation.
My question is if anyone knows any method to show an app runing notification to get the app always "running in foreground" or some way to my app have the privilegie to get location everytime.
Thanks.