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.

Configure push provider

Set up FCM

Follow Google’s guide: Setting up a FCM client app on Android.

At a high level:

  1. Create a Firebase project and register your Android application.

  2. Add Firebase to your Android project.

  3. Implement a service extending FirebaseMessagingService:

    1. Override onNewToken to support the push token update

    2. Override onMessageReceived to handle push notification from NFC Wallet backend.

  4. Declare the service in your application manifest.

Set up HMS Push Kit

For Huawei devices without Google Play services, configure HMS Push Kit.

Follow Huawei’s guide: HMS Push Kit (Android) Codelabs.

At a high level:

  1. Enable Push Kit for your application in AppGallery Connect.

  2. Integrate HMS Core SDK into your digital wallet application.

  3. Implement a service extending HmsMessageService:

    1. Override onNewToken to support the push token update

    2. Override onMessageReceived to handle push notification from NFC Wallet backend..

  4. Declare the service in your application manifest.

Last updated

Was this helpful?