Detect notifications if the application launches directly

using PhoneGap and pushPlugin for notifications, is there a way to detect a notification when the application launches directly?

that is, if someone clicks on the notification, the application starts, and I can detect the notification information using the onNotificationAPN () function, but if the user ignores the notification, and then opens the application directly, although it has a small red color onNotificationAPN notification number ( ) does not start.

+4
source share

Source: https://habr.com/ru/post/1526538/


All Articles