Launch the Android SDK
Last updated: October 28, 2024
8.x and later
Use one of the methods described below to launch the Android SDK.
IProovCallbackLauncher
Create an instance of IProovCallbackLauncher
, this method is suitable for:
-
Developers familiar with previous versions of the iProov SDK looking for a simple upgrade path.
-
Java-only apps.
-
Kotlin apps that do not make use of Android flows.
See this GitHub page for details.
IProovFlowLauncher
Create an instance of IProovFlowLauncher
, this method is suitable for:
-
Kotlin apps.
-
Developers that require the most modern API integration and are familiar with Android coroutines and flows.
See this GitHub page for details.
Parameters
After the event listeners have been implemented, call launch()
to trigger the authentication claim. The iProov UI is then displayed.
Parameter | Description |
---|---|
context
|
The current context. |
streamingURL
|
The appropriate iProov base URL according to your selected tenant. |
token
|
The iProov token for this session. Your application should request this from your backend. |
options
|
The iProov options object, see Customize the Android user interface. |
Next step