I have very similar problem: some users of our app (all on iOS 18.1.1, but device models are different) are not able to register for push notifications.
It can be due to bad network, of course, and I tried to simulate this situation (but only had luck on simulator), so here is my experience:
If application is offline while calling registerForRemoteNotifications and 3-5 minutes afterwards, appDelegate would never receive didRegisterForRemoteNotificationsWithDeviceToken or didFailToRegisterForRemoteNotificationsWithError.
I have a feeling that that may be the case for affected users. What would be best approach in this case?
On simulator, I tried to call registerForRemoteNotifications but that never trigger didRegisterForRemoteNotificationsWithDeviceToken. However, on device registerForRemoteNotifications always matches didRegisterForRemoteNotificationsWithDeviceToken
Topic:
App & System Services
SubTopic:
Notifications
Tags: