One of the frameworks I used (Indoo.rs SDK for Bluetooth location detection) with NSLocationWhenInUseUsageDescription I was also using Core Location Manager in the
plist file which is the NSLocationAlwaysUsageDescription
.
is configured to work with. Am I both of your Can I use in Plist? I'm not sure how to proceed with the two types of hardware (Bluetooth and GPS / WiFi / cell tower) used for location services.
Do not do this with hardware that you are using - that is when you have your app running in foreground (when used in authorization), or when your app In the background (always being in the Authority), only the location is all Is to use.
Then you should request proper level access. The "always" authorization is included in the "when used" authorization, so if you prompt the user for "always" authorization, they will not be notified if the framework requests are "in use" authorization.
If, however, your code requests request "settings" before "always" settings, then the user will see two requests and you will need to set both keys - from the perspective of the user experience You should avoid this.
No comments:
Post a Comment