EddyVerbruggen / nativescript-local-notifications

:mailbox: NativeScript plugin to easily schedule local notifications
MIT License
162 stars 57 forks source link

When app is in background and notification is tapped, the same notifcation pops up again (after app was launched) #190

Open Nikkerlassen opened 4 years ago

Nikkerlassen commented 4 years ago

I have a minor problem with my local notifications. When i get a notification (app closed) and i tap the notification the app starts, but instead of sending users to a route specified in the callback function of the local-notification-plugin, the app just shows me the same notification as if it just arrived again.

If i click this new notification the callback is sending me to the expected route. This only happens when the app is in the background.

Correct me if i am wrong, but as i understood it this is not the expected behaviour. Has anyone else experienced this problem?

Btw i am experiencing this problem on both platforms.

image

image

Hope someone can help with this issue, thanks in advance.