Skip to content

Open message handler #4823

Answered by JoeToeniskoetter
ksielyov asked this question in Q&A
Discussion options

You must be logged in to vote

If you are trying to handle a user clicking the notification itself

import messaging from '@react-native-firebase/messaging';


messaging().onNotificationOpenedApp(remoteMessage => {
      //navigate to new screen or
     //Show the user something
    });

https://rnfirebase.io/messaging/notifications

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ksielyov
Comment options

Answer selected by andersonaddo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants