phonegap/phonegap-plugins — Issue #202: ChildBrowser on iPhone iOS 5: Locations getting turned on.
Author: twomz
Created: 2011-10-26 18:42:17+00:00
State: open

We're using ChildBrowser to view a PDF on our native app for iPhone and somehow it tries to turn on locations services. There is one definate time it happens and two places it only happens sometimes. Sometimes it prompts to turn on location services after the pdf loads or after the 'done' button is pressed. If not, pulling down the stock/weather/notification ticker that is built into iOS 5 will cause it to prompt you to turn on location services.

The location services icon (purple arrow in the top right corner) stays on if you select ok even after closing child browser (navigator.geolocation.stop() does not stop it from showing when called after done is pressed, but it does stop it after we actually try to use their location in another part of the app).