cordova-issues mailing list archives

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


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message