bodo
04/16/2025, 5:46 AMval contentIntent = TaskStackBuilder
.create(context)
.addNextIntent(homeIntent)
.addNextIntent(newsIntent)
.getPendingIntent(
0,
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE,
)
NotificationCompat.Builder()
.setContentIntent(contentIntent)
This works fine if i click the notification directly when i receive it.
BUT: If I don´t click the notification directly and wait a few hours or even click it on the next day it only opens the app and don´t forward to the News Activity.
This only happens for the first push I click e.g. on the next day. If I have two or more pushes from yesterday to news, only the first one I click is not working but the others are.
I don´t even have an idea how to debug this behaviour. Can you please help me what I am doing wrong or how i can reproduce / debug this?
Thanks in advanceChrimaeon
04/16/2025, 6:24 AM