Replies: 1 comment 2 replies
-
Hi there! You have specified no versions of software used to build your app or to execute this use case (https://stackoverflow.com/help/how-to-ask) So all of my thoughts are guesses.
really nothing happens? I expect your app to boot and show it's user interface, yes? It should be getIniitalNotification. If you search issues here, and my memory serves me, some people have had issues with calling getInitialNotification immediately on startup and have put a call in to that API with a short delay after app boot. This is a vague recollection on my part. I use getInitiailNotification though, and then navigate to some deep link screen depending on the notification, after app boot |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Android: When a user swipes up the app and gets a notification (FCM->notification) it shows the notification normally... Then, the user clicks on the notification and nothing happens.
I have onMessage, onNotificationOpenedApp and getInitialNotification.
Can someone explains to me which method should handle this event? As far as i understand is getInitialNotification but not sure. My method setBackgroundMessageHandler() gets the information when the notification arrives but that doesnt help me with my use case which is that i want to move the user to the main screen... Im not using the Splash package other issues show and i am currently in the latest version of the firebase packages + react + react-native
The problem have is that if the app is not swiped up, onMessage and and onNotificationOpenedApp will handle those cases but with the swipe up there is no information even in the logcat
Beta Was this translation helpful? Give feedback.
All reactions