Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Push notification not receiving in iOS 10

My App is in Appstore. Push notification is working fine in iOS 9, but in iOS 10 it is not working. I am not receiving any push notification for iOS 10 devices. I have checked the device token and certificate in my server. All are correct. I have also checked the notification properties in settings app. All are fine. But I didn't receive any notification. I just switch OFF and ON the notification for my app. And I opened my app to check whether device token is changing or not. It is changed and updated to my server. Then I am receiving notification properly. It is working fine now for my device.

I am worried whether this will affect for all users or only me. Anyone find the proper solution please let me know.

Thanks in advance

like image 861
Yogesh Mv Avatar asked Sep 15 '16 06:09

Yogesh Mv


1 Answers

Need some changes for iOS 10 with xCode 8 GM You need to implement UserNotifications.framework and their delegate methods to get work of push notifications.

I have resolved my issue using new UserNotifications.framework. Please follow this link : Push notification issue with iOS 10

like image 198
Ashish Shah Avatar answered Oct 01 '22 15:10

Ashish Shah