Support for new features in iOS 15.0

73 views
Skip to first unread message

georgea...@gmail.com

unread,
Jul 2, 2021, 9:35:51 AM7/2/21
to pushy
Hello Team,

I would like to know whether the library supports new push payload fields for iOS beta versions.

We have a use case where we need fields in UNNotificationContent object like interruptionLevel, relevanceScore etc.. which are available from iOS 15.0+:



For me it seems the current ApnsPayloadBuilder is not supporting these fields. Please let me know in case if this is in road plan.

Jon Chambers

unread,
Jul 3, 2021, 11:37:02 AM7/3/21
to pushy
Yes, the new payload fields will be in the next release. Please let me take this opportunity to remind everybody that an APNs payload is just a JSON string, and using ApnsPayloadBuilder is not the only way to create a payload; please don't feel like you need to wait for a Pushy update before using these features.

-Jon

Jon Chambers

unread,
Jul 3, 2021, 11:55:50 AM7/3/21
to pushy
Actually, let me clarify that: interruption level will certainly be in there, but it's not yet clear to me that `relevanceScore` is something that can be set in the payload. I'll see if I can find more about it. At the time of writing, the docs for notification payloads have not been updated to include either interruption levels or relevance scores, and so that WWDC video is pretty much the only payload documentation we have to work with.

-Jon
Reply all
Reply to author
Forward
0 new messages