/
Flutter iOS How to Activate Location
Flutter iOS How to Activate Location
Permission configuration
The R89SDK
optionally requires access to the user’s location for setting it as First-Party Data which increases revenue. But since this is perceived normally as intrusive by some users we let our publishers choose if this is something they want or can do with in their community. If you are already getting the location for other purposes its easier to justify getting it for advertising.
In the iOS module, 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.
, multiple selections available,
Related content
1.0.0 - Flutter - Manual Initialization
1.0.0 - Flutter - Manual Initialization
More like this
1.0.0 - Flutter - Single Tag Initialization
1.0.0 - Flutter - Single Tag Initialization
More like this
1.0.0 - Flutter - Get Started
1.0.0 - Flutter - Get Started
More like this
1.0.0 - Flutter - Demo App
1.0.0 - Flutter - Demo App
More like this
iOS Get Started
iOS Get Started
More like this
1.0.0 - Flutter - Tagged Widgets Guild
1.0.0 - Flutter - Tagged Widgets Guild
More like this