cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-7832) [iOS8][Geolocation] multiple initial calls to getCurrentPosition/watchPosition
Date Tue, 21 Oct 2014 18:57:35 GMT

     [ https://issues.apache.org/jira/browse/CB-7832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shazron Abdullah updated CB-7832:
---------------------------------
    Issue Type: Sub-task  (was: Bug)
        Parent: CB-7043

> [iOS8][Geolocation] multiple initial calls to getCurrentPosition/watchPosition
> ------------------------------------------------------------------------------
>
>                 Key: CB-7832
>                 URL: https://issues.apache.org/jira/browse/CB-7832
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Plugin Geolocation
>    Affects Versions: 3.6.3
>         Environment: Testing on iOS8, iPhone4, using an IPA built with PhonegapBuild
>            Reporter: Luís Vieira
>
> In iOS8, when the App first calls getCurrentPosition or watchPosition a popup is shown
for the user to allow the App to retrieve location information.
> If we call getCurrentPosition and watchPosition concurrently, the first call callbacks
wait for the user's response but the second call immediately fails. So even if the user gives
the App permission to retrieve location information, only the first call succeeds. This forces
the App to hang all calls to the Geolocation API on the callbacks of the first call.
> Shouldn't the API guarantee that all calls wait for the user's response, before returning
success or failure??



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