I looked around here and found nothing about it.
Is anyone able to successfully compile a background geolocation plugin on Android and iOS? I'm testing a plugin that is licensed and costs a little expensive for me and everyone I tested gives compilation error on Android or iOS.
Hi Eurico Junior,
And what type of plugin you are searching, a google maps component? I used one that is available in the forge: https://www.outsystems.com/forge/
Regards,
Marco Arede wrote:
Forge has only two background plugins: one is not up to date and does not compile for Android and the other is what I've created and I'm testing, but it's based on a licensed plugin.
Hi Eurico,
You have this component to access GPS capabilities of the device.
Marcelo
Marcelo Ferreira wrote:
This plugin only allows the location in foreground mode and in background mode it stops working.
There's a plugin on the forge for that... it seems to not be working currently, but the basis of how to integrate a Cordova Plugin for this sort of thing in OutSystems is there.
A quick search on Cordova shows plenty of implementations of background geolocation (loosely sorted by Last Published):
Maybe you can adapt the existing OutSystems Plugin to use one of these more active Cordova plugins?
Jorge Martins wrote:
I already tested most of these and other plugins. Many of them are fork from the original plugin (Mauron85) which does not compile anymore for Android (same problem in the Alexandre plugin that is in the forge).
So far only two I have managed to compile on Android and iOS:
https://github.com/pmwisdom/cordova-background-geolocation-services (works only in background mode and foreground does not register the location)
https://github.com/transistorsoft/cordova-background-geolocation-lt (the free version compiles only in debug mode on Android, it is necessary to buy the license, which here in Brazil costs a little expensive)