KMPNotifier
KMPNotifier copied to clipboard
Navigate after clicking notification
Hey, this might be out of scope of this library, but I'm trying to navigate to a specific screen when clicking a notification, but I cant make it work. I am receiving the correct id to navigate to the path detail/{id}, but navigation is not happening correctly. I probably have to use deep links and pending intents, but am unsure on how and where to call them. Does anyone know how to implement this in kmp/cmp?
@Ashkan-san I've used data store to store the notification when receiving it, by sending a callback to onClickListener, and when the app comes to foreground, I check if something is stored inside data store and if so, I open that screen.