[Location Plugin] Location when Offline
Question
Forge component by OutSystems R&D

I'm trying to get the position when the device has no signal or is offline; but the GetLocation.Success always return false. When I set the device Onliem then it works. 

Getting the Locations should be independent to be on a network or not. Is this a bug? Got some workaround?

Champion

Hi,


The plugin uses the device's GPS, or location inferred from the network signals.

If you have no signal or is offline, I think, you also need to check if the GPS on the device is turned on.

Using this forge component would suffice.


Cheers,
JohnB

I'm with the same problem. I guess it's a cordova plugin (https://github.com/OutSystems/cordova-plugin-geolocation). It has some questions in stackoverflow about that. I'm looging for a solution yet.

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