Project Requirements
To integrate the Spotflow Android SDK into your project, ensure the following prerequisites are met:- Android Studio 4.1 or later
- Android SDK API level 21 or higher while the minimum supported SDK version is 15
- Android Gradle Plugin 7.2 and above
- Gradle 7.1.3 and above
- AndroidX
The Android SDK is currently a beta release. If you encounter any issues, kindly reach out to our support team at support@spotflow.one.
Installation
- Add the Spotflow SDK dependency to your app-level
build.gradlefile:
- Add the Internet permission to your AndroidManifest.xml file:
- Sync your project with Gradle files to download the SDK into your project. Upon installation, you gain access to the UI components and methods to accept seamless payment experiences in your Android app.
Parameters Required by the Library
Avoid exposing your API keys in your application. Requests that require your API key should originate from a secure server environment.
Usage with Jetpack Compose
If you’re using Jetpack Compose, call thePaymentUI composable function with the required parameters.

