To cater push notifications , I’m using “messaging from ‘@react-native-firebase/messaging’” for android and “{Notifications} from ‘react-native-notifications’” for iOS. In their handlers messaging().onNotificationOpenedApp() / Notifications.events().registerNotificationOpened(), I’m receiving a message param which is supposed to return trackingId along with messageId to mark message as read. But I’m unable to receive trackingId in message object. How can I then mark message as read when a user clicks on a notification when app is terminated or in background state.
Screenshots of both objects received on android and ios are attached.