SDK Setup & Installation
Follow this step-by-step guide to integrate the EdfaPay Soft POS SDK into your application. Covers prerequisites, repository configuration, and dependency implementation.
Prerequisites
Before you begin the integration, ensure your development environment meets the following requirements. The SDK requires a minimum Android SDK version to function correctly with NFC capabilities.
Android Min SDK
Version 29 (Android 10) or higher
Hardware
NFC-enabled Android device
Build Tools
Kotlin 2.0+
compileSdk 36
AGP 8.9.1+
Credentials
Auth Token or Email/Password
Add Maven Repository
Add the EdfaPay Maven repository to your project's settings.gradle.kts file. This allows Gradle to locate and download the SDK artifacts.
Loading...Note
If you're using an older project structure, you might need to add this to the root build.gradle file inside the allprojects block.
Add Dependency
Add the implementation dependency to your module-level build.gradle.kts file. Ensure you are using the latest version of the SDK.
Loading...Packaging Options
To avoid duplicate file conflicts during build, add the following packaging exclusions to your app/build.gradle.kts:
Loading...ProGuard Rules
If you have minification enabled in your release build, add these rules to your proguard-rules.pro to prevent the SDK classes from being obfuscated:
Loading...5-Minute Quick StartUpdated v1.0.5
Get up and running quickly with this minimal example. This code demonstrates the basic flow: initialize the SDK, then process a payment.
Loading...That's it!
You've successfully integrated the SDK. For detailed configuration options, check out the Initialization guide.
On this page
Downloads
Coming SoonSample apps, release bundles, and more content will be available here soon.