Android
Push Provisioning SDK is used to tokenize cards for Google Pay and Samsung Pay. This SDK handles communication with the Google Pay and Samsung Pay SDKs. It also simplifies the Tokenization flow for issuer applications.
This section is for Android issuer application developers who want to integrate Push Provisioning SDK into their application.
Available services
Thales Push Provisioning SDK provides the following services:
Enable you to integrate an issuer application with Push Provisioning SDK APIs, such as
isCardDigitizedandaddCard(Google Pay and Samsung Pay).Reduce the need to understand Google Pay and Samsung Pay SDKs.
Reuse Push Provisioning SDK services in existing projects.
Enroll the FPAN in Google Pay or Samsung Pay.
Access TSH server APIs.
Prerequisites
Java version: 11
Android Studio version: Chipmunk or later.
A device with Google Play Services (for Google Pay).
For full functionality of Google Pay, it is recommended to run it on mobile devices.
Integrating with issuer app
Create a folder named
libsinside the module (usually 'app') directory, as shown in the following figure:

Copy the Push Provisioning SDK AAR file into the
libsfolder.Since Push Provisioning SDK v1.12.2, copy Samsung Pay SDK JAR file into the
libsfolder.Open the app's
build.gradleorbuild.gradle.ktsand add the following dependencies:
Note
Since Push Provisioning SDK V1.7.0, the JNA library is used as a dependency. It is recommended to use JNA V5.5.0 because other versions are not guaranteed to work with Push Provisioning SDK.
Since Push Provisioning SDK V1.12.0, it is mandatory to use JNA V5.17.0 to support 16 KB page sizes.
To import a file-tree dependency into the Gradle build, open the app's
build.gradleorbuild.gradle.ktsand add the following dependency:
Refer to the sample app and Java documentation to learn how to use the Push Provisioning SDK APIs.
Supporting 16 KB page sizesStarting Nov 1, 2025, all newly developed apps and updates to existing apps submitted to Google Play, and intended for Android 15+ devices, must support 16 KB page sizes. This support is available for Push Provisioning SDK V1.12.0 and later.
When building an APK that supports 16 KB page sizes:
Upgrade to Push Provisioning SDK V1.12.0 or later.
Upgrade the JNA dependency to 5.17.0 or later. For JNA 5.17.0, the required Android Gradle Plugin (AGP) version is 8.0.2 or later. If you use AGP earlier than 8.0.2, you may encounter compilation issues.
When the AGP version is 8.5.1 or later, the app is automatically aligned to 16 KB page sizes. If it is earlier than 8.5.1, set the legacy packaging options in the
build.gradlefile.
Configuration
Use the following snippet to configure Push Provisioning SDK in your mobile application:
NoteSince Push Provisioning SDK V1.9.0, your application can set an application
Contextinstead of anActivitywhen configuring Push Provisioning SDK for Google Pay and Samsung Pay. AnActivityis only required by the new API,addCard(Activity activity, CardInfo cardInfo, TPCSDKListener<T> listener), for Google Pay push provisioning.
Samsung Pay configuration
Starting with Android R (target SDK 30), you must declare <queries> in the Android manifest file.
Obfuscation
If your app has ProGuard issues with Samsung Pay, use the following rules:
Last updated
Was this helpful?