Hi everyone, I have a question. I’m using native n...
# multiplatform
a
Hi everyone, I have a question. I’m using native notifications for both platforms in a Jetpack Compose app. The issue I’m facing is that when the app is in the background or closed, I’m unable to open a specific screen from the notification. However, if I send a notification while the app is running, then close the app and tap the notification, it does open the specific screen correctly. Any idea how I can fix this so the screen opens properly whether the app is in the background or not running at all?
a
How are you doing it post some reference code. It can be helpful debugging the problem
b
hard to tell from the description but it sounds like the app is still in memory and the receiver in the code is still active, so it works.
a
Here i send the intent for open the screen when i click in notification when the app is running in background.
I’ll try to get the intent for show the specific screen but i receive the null value when the app is in background.
b
I am not sure, but I think I read that Deeplinks don't work yet. What about doing an internal notification?
a
The internal notification is work the only problem is when the app is running in background, i was check the documentation about notification but i have one activity, and the example use two activity for open the notification, i’ll try to test it.