Xcode 11.4 (beta) allows developers to trigger push notifications on the simulator. I'm currently doing this via command-line using:
xcrun simctl push [device] [my.bundle.identifier] payload.apns
However I also have some UNNotificationServiceExtension
that loads an image from an external URL given in a custom field of the payload. The image is then displayed in the notification popup. Unfortunately this extension is never called using the given command-line.
I also tried to use the bundle identifier of the extension in the command-line, but that just doesn't do anything.
I am aware that Xcode 11.4 is still in its first beta, but did anyone discover a way to trigger a notification service extension using this new feature?
Certain kinds of notifications are not currently supported, including service extensions and VoIP.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With