iOS Silent APNS push notification does not go thru
Hi there
I am experiencing the Apns silent background notification sent with pushtype="background", priority="5", contentavailable=true never reaches the phone. I expect the DidReceiveRemoteNotification triggers but the break point on that line never stops. Additionally, my Azure Service bus explorer does not encounter it as Dead-letter so it seems to get thru.
I can see the notification comes thru' if pushtype="alert", priority="5" in foreground mode. It shows up the message on the message tray yet DidReceiveRemoteNotification do not trigger either. But at least it gets thru'
How to isolate if it is due to not well-formed message json for silent mode or wrong event wiring the phone side?
My info.plist keeps
<key>UIBackgroundModes</key>
<array>
<string>location</string>
<string>fetch</string>
<string>remote-notification</string>
<string>processing</string>
</array>
iPhone 11, software version 15.3.1
Thanks