Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.6.3
-
None
-
None
-
Testing on iOS8, iPhone4, using an IPA built with PhonegapBuild
Description
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??