cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Monroy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10371) phonegap build keeps firing PositionError when app is launched with GPS state OFF and then turning ON still in the APP
Date Sun, 17 Jan 2016 22:20:39 GMT

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

Jesse Monroy commented on CB-10371:
-----------------------------------

FYI: Petra V. in the Nitobi forum points out that the latest plugin (cordova-plugin-geolocation@2.0.0)
may fix this issues (or be creating the issue). But we have no way to test this as because
in all likelyhood this plugin requires *Cordova Android 5.4.0*, but the current *Phonegap
Build* is using cli-5.2.0 - which pins *Cordova Android ~4.1.0 (4.1.1)*.

Jesse

> phonegap build keeps firing PositionError when app is launched with GPS state OFF and
then turning ON still in the APP
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-10371
>                 URL: https://issues.apache.org/jira/browse/CB-10371
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 3.5.0
>            Reporter: Sandro Di Bernardi
>            Priority: Minor
>
> I would like to find a way to detect mobile geolocation state change when an app is already
launched ? example : geoloc if OFF , I launch my APP , I get an error 1 = PositionError.PERMISSION_DENIED
as expected . Then I turn my geoloc ON (still with my APP running) , I try to check again
, and still get error 1 ... which is now wrong .  
> Contrary is OK : Geoloc is ON , and try to turn it OFF after my APP has been previously
launched , then I receive an error 3 = PositionError.TIMEOUT which is correct . 
> Can you please answer for my first example ? and tell me how to solve this ? 
> best regards



--
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