[Location Plugin] GetLocation always has error Timeout expired on Android

Forge Component
(22)
Published on 3 Apr by OutSystems R&D
22 votes
Published on 3 Apr by OutSystems R&D

Hi,

I\m using GetLocation widget to detect if GPS is enabled on device and we can get its location. OniOS its working ok, but on Android I always have error "Timeout expired". I've tried increase timeout to 10000 and disable HighAccuracy but result is the same.

What can be the reason?

Any other way to detect if GPS is enabled on device?

Thank you

Hi,

I have the same problem.. but the thing is that it works on almost every Android with an exception of one model:

M3Mobile M3SM15N 7.1.1

The Location permission is enable and the GPS is working because on native Google Maps native app it's working.

Any ideas?

Best regards,
Tiago Lopes