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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to