How to keep my app in the background and get geolocation?
Application Type
Mobile

Hi!

I need to keep my application running in the background and get geolocation. It seems to me that the best tool to make this possible on Android and IOs is:

https://www.transistorsoft.com/shop/products/cordova-background-geolocation

Does anyone disagree and recommend another?

The problem is that, due to the example I got here on the forum, I was not able to test this solution. It is a paid solution. And, I can't buy before I validate that the feature works as expected. See attached image.

How can I do this test with Outsystems?


References:

https://www.outsystems.com/forge/component-overview/8162/background-geolocation-lt

https://github.com/transistorsoft/cordova-background-geolocation-lt


Thanks.

Screenshot20210218160825Outsystems.jpg

Hello all,

I've developed a Plugin to track the location of a Device in Background and Foreground mode for Android and iOS.

This plugin is compatible with MABS 7.0 version and supports Android X.

The plugin doesn't requires a paid license!

Plugin + Demo: https://www.outsystems.com/forge/component-overview/9502/significant-change-location-plugin


Best Regards,

Bruno Domingues

Hello Bruno,


Thanks for sharing. Correct me if I'm wrong but transistorsoft is paid for Android right?


Kind Regards,

Kevin

Hi Kevin,


Yes, it is. However this version of the plugin the you don't need to pay a license to use in Production. That validation was removed from the Plugin code.

This plugin doesn't have all the functionalities that Transistorsfot offer, but in terms of tracking in Background and Foreground do the job.

We can say that this Plugin is a light version of Trasistorsfot Plugin.


Best Regards,

Bruno Domingues.

Solution

It appears you are attempting to run the app using OutSystems now which wont work. 


One option is to actually generate the app and download it for it to work


Hii Fabricio 

The component says you can use it without license in Debug Mode. So, you can validate it in Debug and if seems fine can buy a license. There are several services from Google as well which could be used for taking Geolocation. 

Thank you Manish Gupta.

I am trying to test the plugin I mentioned in DEBUG mode, but I have not been successful yet.

Sorry, I'm still a beginner on the Outsystems platform.


1) Could you specify how I run the demo file for this project in DEBUG mode?

2) About other google tools that you mentioned that allow you to get the geolocation of the device, do they allow you to do this in background mode? Does it work with IOs and Android? Which would be the most suitable to work together with Outsystems?

I'm sorry to insist ... Could someone here help me, please?

Hii Fabricio 

Please look into this document might help you. It is step by step guide for the debugging - https://success.outsystems.com/Documentation/11/Developing_an_Application/Troubleshooting_Applications/Debugging_Applications

See the attached screens, I tried to follow the instructions to run in Debug mode. However, the "plugin not available" message persists.


Did I forget to do something or check some configuration?






You need to have the application generated and installed on your device in order to test cordova plugins

Solution

It appears you are attempting to run the app using OutSystems now which wont work. 


One option is to actually generate the app and download it for it to work


Now the problem is that latitude and longitude don't update when I walk a few meters to test.

I will check with greater distances.

Hello all,

I've developed a Plugin to track the location of a Device in Background and Foreground mode for Android and iOS.

This plugin is compatible with MABS 7.0 version and supports Android X.

The plugin doesn't requires a paid license!

Plugin + Demo: https://www.outsystems.com/forge/component-overview/9502/significant-change-location-plugin


Best Regards,

Bruno Domingues

Hello Bruno,


Thanks for sharing. Correct me if I'm wrong but transistorsoft is paid for Android right?


Kind Regards,

Kevin

Hi Kevin,


Yes, it is. However this version of the plugin the you don't need to pay a license to use in Production. That validation was removed from the Plugin code.

This plugin doesn't have all the functionalities that Transistorsfot offer, but in terms of tracking in Background and Foreground do the job.

We can say that this Plugin is a light version of Trasistorsfot Plugin.


Best Regards,

Bruno Domingues.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.