Android SDK
Installation
Integrate Reclaim Protocol into Android Native Applications.
Prerequisites
- An Android application source code (Support for Android 5.0 or later).
- An Android device or emulator running Android 5.0 or later.
- A Reclaim account where you've created an app and have the app id, app secret.
- A provider id that you've added to your app in Reclaim Devtools.
Installation
Add the following repositories to your settings.gradle file's repositories block or at the end of settings.gradle:
You can replace the version mentioned in the url of reclaimStorageUrl with the version of SDK you're using. Latest is 0.3.0.
Some projects may require you to add the repositories to the root build.gradle file or your app-level build.gradle file's allprojects section.
Next, add the following to your app level build.gradle file:
Add the following to your app level AndroidManifest.xml file under the <application> tag: