Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

iOS only receives first notification in foreground #42

@ashconnell

Description

@ashconnell

Sending a push notification only calls on('notification') once, while the app is in the foreground.

To reproduce:

  • add a console.log to the on('notification') callback
  • deploy to device and leave the app in the foreground
  • send it a push notification
  • XCode logs native Push Plugin key: alert etc
  • on('notification') callback is fired and outputs to log
  • send another push notification
  • xcode still logs native Push Plugin key: alert etc
  • on('notification') doesn't get fired

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