[Location Plugin] Permissions

Forge Component
Published on 25 Aug by OutSystems R&D
28 votes
Published on 25 Aug by OutSystems R&D


I implemented the Location Plugin on my app.

When I open the app on my phone it asks for permission to access the device's location and my only 2 options were to refuse or to allow but only while using the app. I chose allow but only while using the app.

I was able to post my location to my server but only while I either had the screen unlocked and I had the app opened or I had screen locked but the app was still opened. When I minimized the app or switched to another app it stopped posting.

I want to be able to minimize the app or switch to another app and still be posting the location to my server.

Do you know how to manipulate permissions so that it can be possible?

And by the way, I am aware that there are other plugins for that but I wanted to use the one that is OutSystems supported and maintained so I don't run into problems in the future.

Thanks in advance,


Hello Rui,

Have you taken a look at this previous post about using it in the background? https://www.outsystems.com/forums/discussion/22988/background-mode-not-returning-coords/

It mentions using this plugin to support background mode: https://www.outsystems.com/forge/component-overview/1623/background-location-plugin