257
Views
7
Comments
[Location Plugin] Plugin is not working when enabling GPS after app started
Question
location-plugin
Mobile icon
Forge asset by OutSystems

Hello all.

I build a mobile app using this plugin and I have the following problem.

1) Starts the mobile app with location OFF.

2) try to get location and it is not returned (timeout), as expected.

3) Turn location ON without closing app.

4) try to get location again and it is failing over and over until I shut the app down and open it again

Does anyone could help me on that ?

Thanks in advance.

Luciano Guimaraes

UserImage.jpg
Luciano Guimaraes

Hi.

I build a simple mobile app to get location and test it.

It is simply not working on a Android Sumsung Duos device.

I have another device a Android Motorola X Play, and it is working fine IF gps is on when the aplication started.

Could you plese, share with me some experiences and dificulties using this plugin ? Is there any alternative to it ?

Cheers

Luciano

2020-07-21 19-28-50
Rajat Agrawal
Champion

Hi Luciano,

Please check android version in both the device.


Regards,

Rajat Agrawal

UserImage.jpg
Luciano Guimaraes

Hi Rajat.

Thanks for answering.

Motorola X Play ---- Android 6.0.1

Samsung Duos --- Android 5.0.2


They are relative new... I think location must work even on Android 4.x. It is a very basic feature.


Regards,

Luciano Guimaraes

2020-07-21 19-28-50
Rajat Agrawal
Champion

Hi Luciano,

Please do one thing go and check mobile settings, if all access and permissions are allowed or not for that mobile apps in your device.

Please also share your oml.


Regards

Rajat Agrawal

2020-07-21 19-28-50
Rajat Agrawal
Champion

Hi Luciano,

At same time you can also create ticket for this problem on support@outsystems.com because this forge component is supported by outsystem team.


Regards

Rajat Agrawal


UserImage.jpg
Luciano Guimaraes

Thanks again Rajat. I forgot that.

I'll do this and let you know the results...

Cheers

Luciano Guimaraes

2020-07-21 19-28-50
Rajat Agrawal
Champion

Sure 

Regards

Rajat Agrawal

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