I have notification service extension and I can get it to execute if the payload is like this (in php)
$payload = json_encode([
'aps' => [
'alert' => "Hello",
'sound' => 'default',
'mutable-content' => $isContentMutatable,
]
]);But not if it is something like this:
$payload = json_encode([
'aps' => [
'alert' => ['title' => 'Game Request'],
'sound' => 'default',
'mutable-content' => $isContentMutatable,
]
]);Anybody been able to get it to be called when the alert is anything other than just a string?