onMessageReceived
Called when a new push message is received.
This method is invoked by Firebase when a push message is received while the app is in the foreground. The message is processed through the PushFeature module for handling and routing to appropriate listeners.
Message processing includes:
- Logging the received message
- Extracting message data and payload
- Determining message type (silent vs. notification)
- Routing to appropriate handlers
Parameters
message
The received RemoteMessage containing push notification data. Must not be null.
See also
RemoteMessage