Skip to content

Add support for specifying target-content-id  #155

@mman

Description

@mman

When sending a push notification to the iOS 13 multi window app, a notification payload can specify target-content-id value that is later populated into UNNotificationContent when push notification is received and can later be used to target what app window should be brought forward when the notification is tapped.

WWDC video: https://developer.apple.com/videos/play/wwdc2019/259/
APN reference: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification
UNNotificationContent: https://developer.apple.com/documentation/usernotifications/unnotificationcontent/3235764-targetcontentidentifier

Looks like a good and simple starter PR where target-content-id is basically populated through the same way mutable-content is.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions