Getting Started - rezolved/rezolve_sdk_sampleapp_android GitHub Wiki
Requirements
- The minimum supported Android SDK version is 21 (Android 5.0 Lollipop).
Get API access
In order to gain access Rezolve’s services, you will need to fill-in and submit our request form which can be found here:
Request a personalised API Key
Open Source SDK Sample app
The most convenient way to get started with SDK integration is to get familiar with our SDK Sample app hosted right here on Github. This is a complete Android Studio project that produces a working application, showcasing the majority of the features described in this documentation.
:information_source: Remember to fill-in your API details in the
gradle.properties
file before attempting to compile and run the SDK Sample app.
SDK Setup
The Rezolve Inside™ SDK is distributed through Nexus repository manager. In order to gain access please get in touch with your Rezolve contact. When you have Nexus url, username and password, you can add them in your top level build.gradle
file:
allprojects {
repositories {
mavenLocal()
maven {
url REZOLVE_SDK_REPOSITORY_URL
credentials {
username REZOLVE_SDK_REPOSITORY_USERNAME
password REZOLVE_SDK_REPOSITORY_PASSWORD
}
}
google()
jcenter()
}
}
Now you can declare Rezolve SDK dependencies in your application module's build.gradle
:
dependencies {
def rezolveSdkVersion = "3.2.1"
def rezolveSdkScanVersion = "3.2.1"
// ...
// core SDK, required for any other functionality
implementation "com.rezolve.sdk:core-android:$rezolveSdkVersion"
// required to conduct payments via Rezolve SDK
implementation "com.rezolve.sdk:payment-android:$rezolveSdkVersion"
// required to handle RXP engagements, including Acts and Info Pages
implementation "com.rezolve.sdk:ssp-android:$rezolveSdkVersion"
// optional module with ready-to-go implementation of geofence detector based on Google API.
implementation "com.rezolve.sdk:ssp-google-geofence:$rezolveSdkVersion"
// required to process image and audio engagements
implementation "com.rezolve.sdk:resolver:$rezolveSdkVersion"
// required to provide image and audio scan capabilities
implementation "com.rezolve.sdk:scan-android:$rezolveSdkScanVersion"
// optional module that provides image and audio scan capabilities for devices using x86 architecture.
implementation "com.rezolve.sdk:scan-android-x86:$rezolveSdkScanVersion"
// ...
}