I am trying to implement remote notifications for my mobile game with Unity on iOS. I was able to register a player to ApplePushNotificationService. I use the "Send push notification" button in player menu, and it works if the game is on.
However, I get the following error after the game is closed.
"Failed to deliver to mobile device. Check that the device is registered for push notifications. Error: iOS Push Notification Failed: Client has been unregistered for push notifications.."
Is it an expected behavior that the client is unregistered from the remote notification service on application quit? Do you have any idea to keep the device registered when the application is closed?