-
I'm confused with the firebase notifications use. All working but i can't achieve to open a specific screen when user clicks on notification. I've read a lot about this but whatever the code i add in the listener, it always and only open the app on HomeScreen. using firebase you have 3 listeners to implement :
i tried a : Can someone please help me ? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok found it, had to create and use a navigatorKey as a GlobalKey in the main.dart in order to use it as the BuildContext of the Navigator.push() method. |
Beta Was this translation helpful? Give feedback.
Ok found it, had to create and use a navigatorKey as a GlobalKey in the main.dart in order to use it as the BuildContext of the Navigator.push() method.
that works...