I am experiencing an issue with push notifications on my iOS application. The issue is as follows:
- On Android devices, push notifications are received immediately without any problems.
- On iOS devices, the behavior is inconsistent:
- When the app is in the foreground, notifications are received immediately.
- When the app is in the background or in recent apps with a significant delay of 5–10 hours, push notifications are not received at all.
This behavior creates a major challenge for us, as timely notifications are critical for our app’s functionality. We have already verified the following points on our side:
- Push notification certificates and APNs setup are correct.
- Payload and server configurations are valid, as notifications are working fine on Android.
- No restrictions from the server-side, since Android users receive notifications instantly.
It seems the issue is specifically related to iOS devices or APNs delivery. Could you please help us identify the cause and provide guidance on how to resolve this?