cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandro Di Bernardi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-10371) phonegap build keeps firing PositionError when app is launched with GPS state OFF and then turning ON still in the APP
Date Sat, 16 Jan 2016 21:43:39 GMT
Sandro Di Bernardi created CB-10371:
---------------------------------------

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