cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "clement bidon (JIRA)" <>
Subject [jira] [Commented] (CB-8443) Android: nothing happens if GPS is turned off
Date Tue, 05 Jan 2016 11:09:39 GMT


clement bidon commented on CB-8443:

Changing the documentation does not fix problems....

I have a question for you:
imagine that I whant to create an app like google maps. the behaviour is done like this:

1) if the users phone have the "location service disabled" a message is displayed to request
him to turn it on.
2) if the users phone has  "location service enabled" , then nothing happens: the app just
wait forever until a position is received.

( I believe there is no way of doing it with your plugin.. that is terrible is it not?)

> Android: nothing happens if GPS is turned off
> ---------------------------------------------
>                 Key: CB-8443
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Geolocation
>    Affects Versions: 3.5.0
>         Environment: moto G android 4.4.4
>            Reporter: clement bidon
>              Labels: android, triaged
> to goe the error:  disable "ALL LOCATION SERVICE" on the phone.
> call "getCurrentPosition" or "watchPosition" functions without any timout.
> The "onError" function should be called with "PositionError.PERMISSION_DENIED" or with
"PositionError.POSITION_UNAVAILABLE", BUT IT S NOT THE CASE: --> nothing happens.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message