1. Binary integration
Integrate the NFC Wallet SDK for Android
Use this guide to add NFC Wallet SDK libraries to your Android digital wallet application.
Supported configurations
Latest NFC Wallet SDK for Android supports the following configurations for this integration:
Android version: 8.1 to 16.0
CPU architecture (ABI):
armeabi-v7a,arm64-v8a
Copy the AAR files
Get the SDK AAR files from Deliverables.
Copy them into a dedicated folder in your project. For example:
./dependencies
├── TSHPaySDK-dev-[version].[qualifier].aar
└── TSHPaySDK-release-[version].[qualifier].aarConfigure repositories
Add the folder as a local Maven repository using flatDir.
Enable ABI splits
Enable ABI splits to reduce APK size (one APK per ABI). See Build multiple APKs.
Add dependencies
Declare in depencies:
NFC Wallet AARs
required external libraries dependencies:
JNA (Java Native Access)
Verify the build
The project should be now ready to be synced and compiled.
Sync Gradle.
Build the
devvariant.
Last updated
Was this helpful?