[Location Plugin] Plugin is not working when enabling GPS after app started

[Location Plugin] Plugin is not working when enabling GPS after app started

  
Forge Component
(17)
Published on 2016-12-15 by OutSystems R&D
17 votes
Published on 2016-12-15 by OutSystems R&D

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

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

Hi Luciano,

Please check android version in both the device.


Regards,

Rajat Agrawal

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

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

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


Thanks again Rajat. I forgot that.

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

Cheers

Luciano Guimaraes

Sure 

Regards

Rajat Agrawal