I have two different apps that are very similar.
When I install them on iOS8 beta 5, one is listed in Settings -> Privacy -> Location Services the other is NOT listed there.
Neither one intentionally uses Location Services so I would like to turn it off.
Both apps are built with XCode 5.x.
Here is what I have done to try to figure this out:
- I have carefully compared xcode configuration between apps that work and don't work to look for differences.
- I used grep "Location" in the project folder too look for configurations differences between working and non-working apps.
- I unpacked the .ipa file and looked for differences in the .plist file
I am sure whatever I am missing will be obvious in hindsight, but for now I am stumped.
The question is:
How does an app get listed in Settings -> Privacy -> Location Services
in iOS8?
The obvious answer of "Uses Location Services" will not be helpful, I need answer a bit deeper than that to be helpful.
This is important to fix because the app that is listed in Location Services also gets this warning message when starting:
Allow "app-name" to access your location even when you are not using the app?
Which is a pretty ominous warning, especially when the app does not provide any location based service to the user.
Edit: I have installed the iOS 8 GM Seed and this problem still occurs.
Edit: I actually have several apps, here is a breakdown of the version of phonegap in use and whether the warning message is displayed:
- 3.3.0 - asks for location
- 2.7.0 - works
- 2.7.0 - asks for location
- 3.3.0-rc1 - works
- 3.3.0 - works
- 3.3.3-rc1 - asks for location
- 3.3.0 - works
- 3.3.0 - works.