PushMessagingService
com.salesforce.marketingcloud.pushfeature.push
Push Feature Module v2.0.0
Salesforce Marketing Cloud Unified SDK 11.0.0
A Firebase Cloud Messaging service implementation for handling push notifications within the PushFeature module.
This service extends FirebaseMessagingService to provide integration between Firebase Cloud Messaging and the PushFeature module, managing token refresh events and incoming push messages.
- Handling new FCM token generation
- Processing incoming push messages
- Forwarding events to the PushFeature module
- Logging and error handling for FCM events
- Extends
FirebaseMessagingServicefor FCM integration - Integrates with PushFeature module for token management
- Provides logging through SFMC SDK logging system
- Supports testing through visible methods
This service is managed by the Android system and Firebase SDK. It will be automatically started when FCM events occur.
1.0.0
FirebaseMessagingServicePushFeaturePushMessageManager
Default constructor for the service.
Called when a new push message is received.
Parameters:
message: RemoteMessage- The incoming remote message from FCM
Called when a new FCM token is generated.
Parameters:
token: String- The new FCM registration token
To use this service in your Android application, add it to your AndroidManifest.xml: