The Amazon Insights SDK allows a developer to request variations and record events. The SDK requires the following AndroidManifest.xml permissions:
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>In addition to these permissions, the following service must be declared in AndroidManifest.xml:
<service android:name="com.amazon.insights.InsightsProcessingService" />This service batches and uploads events in the background to minimize data use and battery consumption.
onCreate
method of the app.)