Skip to content

Push message callback fired twice on iOS if app has been killed #2

Description

@heyman

The onPushTokenReceivedCallback gets called twice if the app has been killed and a notification is tapped.

Steps to reproduce:

  • Add a console.log call in the onPushTokenReceivedCallback callback function
  • Start the app
  • Kill the app
  • Trigger a push notification
  • Open the app by tapping the notification
  • The callback will be called twice (the console log will contain two entries)

I assume that the same will happen if the app has been recycled out by the OS, but I haven't tested that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions