31
Views
11
Comments
Solved
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

Rank: #458
Solution

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

Rank: #621

Hello Bruno,


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


Kind Regards,

Kevin

Rank: #458

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.

Rank: #1880
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


Rank: #639

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. 

Rank: #24262

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?

Rank: #24262

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

Rank: #639

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

Rank: #24262

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?






Rank: #621

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

Rank: #1880
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


Rank: #24262

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.

Rank: #458
Solution

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

Rank: #621

Hello Bruno,


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


Kind Regards,

Kevin

Rank: #458

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.