IOS App Beacons requestAlwaysAuthorization() problems


#1

Does anyone have experience using ionic cordova for IOS? I am using a cordova-plugin-ibeacon and I put in my app the following request: “this.ibeacon.requestAlwaysAuthorization()” . When I launch my app in xcode 9 I am having warning/error and after that I cannot detect beacons.

Message error from xcode: “This app has attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain both NSLocationAlwaysAndWhenInUseUsageDescription and NSLocationWhenInUseUsageDescription keys with string values explaining to the user how the app uses this data”

I have a 2 keys correctly written in InfoPlist file of the project. The same thing works perfectly on android.

Anyone has similar problems?