Skip to content

onNotificationOpen called when app is in foreground for iOS #987

@DevArenaCN

Description

@DevArenaCN

Describe the bug
When app is running in the foreground, after receiving the notification, the onNotificationOpen function gets called immediately without the user tapping on the notification.

To Reproduce
Steps to reproduce the behavior:

  1. Run the app
  2. Send a notification when the app is running
  3. onNotificationOpen functions gets called.

Expected behavior
I would expect that this function only gets called when "opening" the notification, ie, tapping on the notification.

Plugin Version
2.0.5

Smartphone (please complete the following information):

  • OS: iOS 12.1.2
  • Version: Cordova iOS 4.5.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions