Configure push provider
Set up FCM
Follow Google’s guide: Setting up a FCM client app on Android.
At a high level:
Create a Firebase project and register your Android application.
Add Firebase to your Android project.
Implement a service extending
FirebaseMessagingService:Override
onNewTokento support the push token updateOverride
onMessageReceivedto handle push notification from NFC Wallet backend.
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:
Enable Push Kit for your application in AppGallery Connect.
Integrate HMS Core SDK into your digital wallet application.
Implement a service extending
HmsMessageService:Override
onNewTokento support the push token updateOverride
onMessageReceivedto handle push notification from NFC Wallet backend..
Declare the service in your application manifest.
Last updated
Was this helpful?