Registering for remote push notifications works fine and the user gets asked for permission.
Afterwards I never receive the device token, it always stays null with not error message whatsoever.
After debugging the XCode project, I noticed that the delegate method "didRegisterForRemoteNotificationsWithDeviceToken" never gets called. So I tripple checked all the XCode setup is correct: Provisioning Profile, Capabilities, everything is correct.
Then I created an empty Swift project with the...
Unable to register iOS push notifications
Afterwards I never receive the device token, it always stays null with not error message whatsoever.
After debugging the XCode project, I noticed that the delegate method "didRegisterForRemoteNotificationsWithDeviceToken" never gets called. So I tripple checked all the XCode setup is correct: Provisioning Profile, Capabilities, everything is correct.
Then I created an empty Swift project with the...
Unable to register iOS push notifications