-
Notifications
You must be signed in to change notification settings - Fork 0
AWS Kinesis
James Dansie edited this page Nov 6, 2019
·
2 revisions
With amplify you can use either pinpoint or kinesis for data analytics of your app. These can be use to analyze the audience behavior, and to send SMS messages if needed. Because everyone loves spam text messages. Stuff for pinpoint; 1.
$ cd ./YOUR_PROJECT_FOLDER
$ amplify add analytics
check with status and then push. 2. Add dependencies
dependencies {
implementation 'com.amazonaws:aws-android-sdk-pinpoint:2.15.+'
implementation ('com.amazonaws:aws-android-sdk-mobile-client:2.15.+@aar') { transitive = true }
}
- Add permissions in AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
- Go do code!
Stuff for Kinesis is at the bottom of the doc;