I requested to get the Device token for push notification, but there was no response from Apple's server.

I sent "register for remote notifications" from my iOS app to get the Device token for push notifications.

However, neither the success token "didRegisterForRemoteNotificationsWithDeviceToken" nor

the failure token "application: didFailToRegisterForRemoteNotificationsWithError"

is returned from the Apple server.

It happens immediately after the app is first installed and launched on the device.


The above is done in sandbox mode. Is it a sandbox-specific problem?

Is it a phenomenon that does not occur on the production server?


The environment is as follows.

iOS13

xcode11.4


Please let me know if you know the workaround for this cause.