Skip to content

Add support for collapse_id for iOS 10 notifications #27

Description

@mman

HTTP/2 header field collapse_id is used to update push notifications instead of generating new ones on the iOS 10.

iOS 10 uses the UNNotificationRequest.identifier (https://developer.apple.com/reference/usernotifications/unnotificationrequest/1649634-identifier) to achieve the same functionality for local notifications generated on device.

OneSignal has recently added support for collapse_id in their REST API (https://documentation.onesignal.com/reference#create-notification) so it's possible now to implement the same in parse-server-onesignal-push-adapter.

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