I’ve got 2 devices with both same iOS version (14.2), the same app and the same configuration (low power mode and low data mode disabled, background refresh enabled) and I have 2 different behaviours :
One (called A) receive silent notification all the time
The other (called B) receive silent notification ONLY when app is in foreground mode
I’ve got other devices on other iOS versions (iOS 12.4.9 and iOS 13.7), I always receive silent notification all the time.
So I use Wireshark software to analyse network messages between the B device and my router. When my app is in foreground, I saw silent notification like expected coming from Apple server (17.57.146.4).
When I leave my app, I saw my device communicating with Apple server, next I send silent notification but there is nothing, Apple server doesn’t send silent notification. I've got the same behaviour when I lock the device.
I use the same test for the A device, I saw device communicating with Apple server even when my app is in background.
I think there is a iOS 14.x bug because I don't have any problem on other iOS version below 14.
Topic:
App & System Services
SubTopic:
Notifications
Tags: