isMutable
A preference indicating if a notification can be mutated by a service worker running on the subscriber’s device.
var isMutable: Bool
Defaults to false
. Setting this to true
requires a service worker be registered to handle capturing the notification in order to mutate it before presentation. Note that the service worker may be skipped if it is not running, and the notification will be presented as is.