iOS: Cannot get push notification to work on one particular device

268 Views Asked by At

I have set up push notification on my app by following the tutorial on the iOS Developer Library, and I got push notification to work on all but one device. For this particular device, neither the didRegisterForRemoteNotificationsWithDeviceToken nor the didFailToRegisterForRemoteNotificationsWithError methods are being called. All the devices I've tested are running iOS 8.2 and I'm using XCode 6.2.

Here are the steps that I've already tried to resolve the issue:

  • Deleting and re-installing my app on this device
  • Re-booting the device
  • Deleting all provisioning profiles on the device (Settings > General > Profiles)

Has anyone run into a similar issue in the past? And if so, could you share how you were able to resolve it?

Thanks!

1

There are 1 best solutions below

3
On

Please enable the push notifications on appid.And register the application for push notifications.

And please check your device settings disabled or enabled the notifications for your application.