Adds support for mutable_content so that OneSignal can correctly trigger the new Notification Service Extensions support in iOS 10.
Using this in parse is same as you use the content-available param. Just pass "mutable-content": 1 to your payload dict.
From OneSignal Docs
mutable_content: booleanOptional
iOS 10 feature used to trigger didReceive(_:withContentHandler:) on your UNNotificationServiceExtension. This allows you to change the notification content in your app before it is displayed.
Adds support for mutable_content so that OneSignal can correctly trigger the new Notification Service Extensions support in iOS 10.
Using this in parse is same as you use the
content-available
param. Just pass"mutable-content": 1
to your payload dict.From OneSignal Docs
mutable_content
: booleanOptional iOS 10 feature used to triggerdidReceive(_:withContentHandler:)
on your UNNotificationServiceExtension. This allows you to change the notification content in your app before it is displayed.