π±eNROLL Android SDK
This document is a guide for eNROLL Android SDK. In addition, following the below steps will help you learn how to add and use (eNROLL SDK) in your Android Application.
1. REQUIREMENTS
Minimum Android SDK 24
Target API level 35
2. INSTALLATION
1- Add eNROLL SDK dependency to the build.gradle (Module :app) file:
You can find the latest version https://github.com/LuminSoft/eNROLL-Android/releases
2- Add Maven Repository in settings.gradle file
3- Add license file to your project:
4. USAGE
Step 1: Initialize the SDK and create a callback object:
eNROLL.init function is used for Initializing eNROLL SDK instance to use it.
Itβs a throws function so please put it in a tryβ¦catch blocs.
EnrollCallback object contains Success, Error and Get Request ID call backs
Step 2: launch SDK:
eNROLL.launch function is used for launching eNROLL SDK.
Itβs a throws function so please put it in a tryβ¦catch blocs.
5. VALUES DESCRIPTION
tenantId
Write your organization tenant id. (Required)
tenantSecret
Write your organization tenant sercet. (Required)
enrollMode
ONBOARDING, AUTH, UPDATE or FORGET_PROFILE_DATA (Required)
environment
Select the EnrollEnvironment: EnrollEnvironment.STAGING for staging and EnrollEnvironment.PRODUCTION for production. (Required)
enrollCallback
Callback function to receive success and error response. (Required)
localizationCode
Select your language code LocalizationCode.EN for English, and LocalizationCode.AR for Arabic. The default value is English. (Required)
googleApiKey
Google Api Key to view the user current location on the map. (Optional)
applicantId
Write your Application id. (Optional)
levelOfTrustToken
Write your Organization level of trust. (Optional)
skipTutorial
Choose to ignore the tutorial or not. (Optional)
appColors
Collection of the app colors that you could override like (primary - secondary - backGround - successColor - warningColor - errorColor - textColor). (Optional)
correlationId
Correlation ID to connect your User ID with our Request ID (Optional)
fontResource
Font Resource to set your font family (Optional)
Last updated