Can't register for push notification on any device ios9.1 and newer

We’ve been tracking down push notification bug where it turns out we aren’t getting device tokens.

After digging into it, we found that devices that have ios8 installed seem to be registering for notifications, but the ios9 ones are not.

We set some breakpoints in Xcode and found that it’s calling didFailToRegisterForRemoteNotificationsWithError.

We’re running 5.3.4f1.

Anyone have any ideas or known bugs on this?

We are asking with the new syntax:
UnityEngine.iOS.NotificationServices.RegisterForNotifications(UnityEngine.iOS.NotificationType.Alert |
UnityEngine.iOS.NotificationType.Badge |
UnityEngine.iOS.NotificationType.Sound);

Hello. This is no known bug like this. Could you please submit a bug report and attach a small reproduction project? Could you post the id of the new bug here? Thanks.

@povilas sorry we meant to update this. This was on the provisioning/certificate side. Though we didn’t change anything, it stopped working. We basically deleted all the push certificates a few times and it eventually worked. Not sure WHY, but it was one of those apple certificate issues, even though they were unchanged. So if anyone reads this, it’s always a good last ditch effort.