The existing implementation didn't have support for dismissal-date so have added support to the current beta. Code is working in prototype Vapor live notification service we've been working on. Changes:
Updated APNSLiveActivityNotification to accept a dismissal date as unix timestamp value.
Added unit tests to validate JSON encoding of APNSLiveActivityNotification.
Added extension to Int to provide dismissImmediately constant.
The existing implementation didn't have support for
dismissal-date
so have added support to the current beta. Code is working in prototype Vapor live notification service we've been working on. Changes:dismissImmediately
constant.README.md
Would be helpful if this accepted - thanks!