addPushNotificationReceivedListener

Subscribe to the pushNotificationReceived lifecycle event — fires when a data-only FCM message arrives in the FOREGROUND, BEFORE the SDK posts the system notification.

Return

an unregister lambda.