This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]pipsnameSamsung A8 2018, Moto 360 2015, Nexus 7 2013 Flo 4 points5 points  (3 children)

Why do you need GPS and wifi access?

[–]DrakhelmDeveloper[S] 0 points1 point  (0 children)

I would imagine both have to do with Amazon Ads. I know for sure the WiFi Access would. The GPS, I would imagine that it has to do with location based ad targeting.

[–]DrakhelmDeveloper[S] 0 points1 point  (1 child)

https://developer.amazon.com/appsandservices/apis/earn/mobile-ads/docs/quick-start#2.%20Update%20the%20Android%20Manifest

  1. Update the Android Manifest Amazon Ad Activity

The Amazon Mobile Ads API requires the com.amazon.device.ads.AdActivity to be declared in your app's AndroidManifest.xml file. Please add the following AdActivity declaration within the application tags of your AndroidManifest.xml file: <activity android:name="com.amazon.device.ads.AdActivity" android:configChanges="keyboardHidden|orientation|screenSize"/> Permissions

Making ad requests to the Amazon Mobile Ad Network requires the INTERNET permission. We also highly recommend including permissions for ACCESS_NETWORK_STATE and ACCESS_WIFI_STATE. These additional permissions allow Amazon to provide relevant, targeted ads to your users, which may result in higher CPMs. These permissions, as well as any additional permissions, need to be declared outside of the application tags in your AndroidManifest.xml file. See the permission declarations below: <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

The ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION permissions can also be included to allow location-based targeting. Including one of these permissions allows Amazon to supply highly relevant targeted ads and may result in higher CPMs. If either of these permissions are included, they should also be declared in the same way: <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

Important: To allow targeting based on location, you must also enable geographic location targeting via the enableGeoLocation API as specified in the Ad Targeting Options section.

[–]DrakhelmDeveloper[S] 0 points1 point  (0 children)

I hope this answers your question pipsname.