/
iOS How to Activate Location

iOS How to Activate Location

Permission configuration

The R89SDK optionally requires access to the user’s location for setting it as a user-oriented First-Party Data. Add the NSLocationWhenInUseUsageDescription to the app’s Info.plist with the same or with a different version that best explains why the access is needed in your application.

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> ... <key>NSLocationWhenInUseUsageDescription</key> <string>This app uses your location to display advertisement according to geolocation</string> ... </dict> </plist>

If NSLocationWhenInUseUsageDescription is missing from your Info.plist, the R89SDK won't request location permission.

Related content