📄️ Android SDK Requirements
- EarthID Android SDK needs your minSdkVersion to be of 21 or above.
📄️ Adding the Android SDK
Open the root settings.gradle file and add a new maven destination to the repositories in the allprojects section.
📄️ Adding Permissions
The SDK will request all the permissions it needs, please make sure that the CAMERA, RECORD_AUDIO permissions are not explicitly removed using tools:node="remove" in your app`s manifest file. Ignore this if you are not explicitly removing any permissions.
📄️ Starting the verification flow
The verification flow must be launched from the vendor Activity class with a unique session. A session is valid for 7 days and expires automatically after that.
📄️ Customizing the SDK
Setting a theme (Optional)
📄️ More customization options
Customizing primary button background color
📄️ Getting the verification status
EarthID SDK sends callbacks to your mobile application. To capture the result override the onActivityResult method in your activity that started the verification flow: