Hi,
we need to use silent notifications in our app. Seems it works only when the app is in foreground or in debugging.
When the app goes background the silent notification doesn't wake the app anymore.
I added the headers to the request:
"apns-id": Guid.NewGuid().ToString("D")
"apns-push-type": "background"
"apns-priority":"5"
"apns-topic":{AppBundleID}
I used the payload from the documentation:
{"aps" : { "content-available" : 1 } , "acme1" : "bar" }
I tried to send the "alert" aswell in the playload, i tried everything what i found on forums. Seems nothing works.
When i am debugging the app, i get the silent noifications and everything works as expected.
When i unplug the phone, the silent notification does not wake the app anymore.
I followed every steps as it stated in the documentation.
Everything should be set properly as it worked on IOS12 but stopped working since IOS13.