简体   繁体   中英

Ios : App is not asking for location permission

I have two the keys: NSLocationAlwaysUsageDescription and NSLocationWhenInUseUsageDescrition in my info.plist. Still, App is not asking for location permission. I have used nativescript and webpack to build this app. I have followed this git repository in order to code the functionality: https://github.com/nickcoury/nativescript-maps-app

Start initializing CLLocationManager and startUpdatingLocation , then the app will ask for location permission.

It will not show a popup unless you invoke CLLocationManager methods.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM