Installation
Step 1: Add to app-level build.gradle and sync project to gradle
Implementation
Step 2: Import the SDK
Step 3: Configuration
Create an instance ofImprintConfiguration with your clientSecret and environment, then assign additional optional fields as needed.
Step 4: Define the completion handler
Define the completion handleronCompletion to manage the terminal states when the application flow ends.
Step 5: Starting the Application flow
Once you have configured theImprintConfiguration, initiate the application flow by calling Imprint.startApplication. This will start within a new Activity.
context: The context from which the application process will be presented
configuration: The previously created ImprintConfiguration object containing your API key and completion handler
onCompletion: The completion handler of the flow
Complete code example
Response Data
ErrorCode (Enum)
Application States