69
Views
6
Comments
[Location Plugin] Unable to get Location | Error Code 0 | Lat & Long Empty | Success Flag False
Question
Forge component by OutSystems R&D
28
Published on 25 Aug 2020

Hi,

I am using this plugin & it was working perfect but right from now it started giving an error.

The Plugin is not able to fetch Location on Android-8,9

Response:

Error-Code : 0
Latitude : ""

Longitude : ""


I tried multiple times from 2  other locations, even on an Open Ground :)

Please help

mvp_badge
MVP
Rank: #19

Hi assif_tiger,

I'm assuming you have at lest one of Wi-Fi, Mobile Data and/or GPS enabled on your Android device, correct?

I was checking... according to this, it could also be a Plugin issue?... what did you change from when it was working to now? and does it never work now, or just sometimes?

mvp_badge
MVP
Rank: #19

Have you tried this on iOS? does it work? Have you debugged the application running on the device (check this on how to debug a native application)

Do you think it could be related to this? The Cordova geolocation plugin will silently fail if the GeoLocation service is disabled and there's no error callback (haven't checked the Location Plugin implementation if that could be the case).

mvp_badge
MVP
Rank: #19

You can debug an application running on your device using Service Studio directly. Follow the link I provided above for details.