cordova-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CB-8443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15082851#comment-15082851
] 

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.

HOW DO YOU DO THAT WITH YOUR PLUGIN?
( 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: https://issues.apache.org/jira/browse/CB-8443
>             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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message