References
Secure SDK integration
Step 1: Add OtplessSecureService
dependencies
To integrate OtplessSecureService
into your project, include the following dependency in your app-level build.gradle
file under the dependencies
section:
build.gradle
In your settings.gradle
file, add the following dependencies:
settings.gradle
Make sure to sync your project with Gradle after adding this dependency.
Step 2: Initialize OtplessView
in your LoginActivity
First, import OtplessView
:
Declare an OtplessView
instance:
Initialize OtplessView
in onCreate()
of your activity:
Step 3: Attach OtplessSecureService
in your activity
Replace YOUR_APP_ID
with your actual App
ID provided in
your OTPLESS dashboard.
Was this page helpful?