AWS Kinesis - JamesDansie/data-structures-and-algorithms GitHub Wiki

AWS Kinesis

Author: James Dansie

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 }
}
  1. Add permissions in AndroidManifest.xml
 <uses-permission android:name="android.permission.INTERNET"/>
 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
  1. Go do code!

Stuff for Kinesis is at the bottom of the doc;


References

  1. https://aws-amplify.github.io/docs/android/analytics