Push
Before you start
Register whether to allow receiving push notifications
Map<String, Object> consents = new HashMap<>();
consents.put(DFUserProfile.PUSH_OPTIN, true);
consents.put(DFUserProfile.PUSH_ADS_OPTIN, true);
DfineryProperties.setUserProfiles(consents);val consents = mapOf<String, Any>(
DFUserProfile.PUSH_OPTIN to true,
DFUserProfile.PUSH_ADS_OPTIN to true
)
DfineryProperties.setUserProfiles(consents)Registering Firebase information in the console
Adding Support Library Dependency
Firebase Cloud Messaging Integration
Add Firebase to your Android project
Setting up Firebase Cloud Messaging
Linking tokens to DFINERY
Link when getting the current registration token
Integration when monitoring token generation
Connecting push notification channels to DFINERY
Create a push notification channel
Register the created push notification channel ID
Setting up push notification icons
Processing push notifications
Handling push notification clicks
Complete
Learn more
Follow the steps to create a notification channel
How to issue a Firebase user authentication private key file
How to check caller ID
Last updated





