Can't navigate when setBackgroundMessageHandler is triggered #5509
Replies: 2 comments 4 replies
-
Integrate some form of persistent storage, shared between components of the app. |
Beta Was this translation helpful? Give feedback.
-
Hi! @mikehardy , I'm using async storage to build the queue, It's working, but I have a problem.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to navigate to a specific page when a user opens a notification and boots the application. In the React native firebase documentation it used setBackgroundMessageHandler to handle the notification sent but it handles it outside the whole app in the index.js file.
So my question is, how can I navigate to a certain module if the app throw the setBackgroundMessageHandler isn't registered yet?
Beta Was this translation helpful? Give feedback.
All reactions