universal-tools / UTNotificationsFeedback

7 stars 0 forks source link

iOS: Repeated taps on notifications: OnNotificationClicked keeps reporting data of the first notification #137

Open derwaldgeist opened 2 years ago

derwaldgeist commented 2 years ago

We've implemented the OnNotificationClicked callback and are able to receive notification data successfully, including any custom payload.

However, this only works reliably if the user taps on the notification to cold-start the app from scratch.

If the user receives multiple notifications in a row and the notification text is still the same, quite often the data of an older notification is reported instead of the newer one (including the payload data). As soon as we change the notification text, it works again.