Welcome to our new developer portal! Use the "Ask" button to chat with our AI Agent.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

3. Application manifest file

Configure AndroidManifest.xml so the NFC Wallet SDK can run correctly.

Android permissions

Declare the following permissions in AndroidManifest.xml:

Android permission
Requirement
Description

android.permission.INTERNET

Required

Enable network calls (for example, enrollment and payment key replenishment).

android.permission.NFC

Required

Enable NFC access for contactless payment.

android.permission.USE_BIOMETRIC

Conditional

Enable biometric authentication as CDCVM.

android.permission.USE_FINGERPRINT

Conditional

Support Android 9 and earlier when using biometrics as CDCVM.

Declare NFC features

For contactless payment, the device must support:

  • android.hardware.nfc

  • android.hardware.nfc.hce

Option A: Filter unsupported devices in Google Play

Declare both features as required:

<uses-feature android:name="android.hardware.nfc" android:required="true" />
<uses-feature android:name="android.hardware.nfc.hce" android:required="true" />

Option B: Allow install and check at runtime

If you cannot filter device compatibility in Google Play, check feature support using the Android APIs:

Enable CPS communication service

Enable CPSCommService to process CPS message communication.

Disable backup and restore

Disable Android application backup and restore.

Example AndroidManifest.xml

This example shows the typical declarations you need. Adjust names and metadata to your digital wallet application.

Declaration of HCE service will be described in Implement HCE service

Last updated

Was this helpful?