ostinelli / apnotic

A Ruby APNs HTTP/2 gem able to provide instant feedback.
MIT License
477 stars 95 forks source link

Add target-content-id & interruption-level & relevance-score to payload #106

Closed Sai closed 3 years ago

Sai commented 3 years ago

This PR adds 3 payload keys to the Apnotic::Notification class:

Ref: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification#2943363 https://developer.apple.com/documentation/usernotifications/unnotificationinterruptionlevel https://developer.apple.com/documentation/usernotifications/unnotificationcontent/3821031-relevancescore https://github.com/ostinelli/apnotic/issues/105

benubois commented 3 years ago

Thank you!