Push token not received on iOS only (cloud build problem?)

We have released 3 apps already this year on Ionic and they are working fine. However we have two new apps that have the same problem: on iOS the app doesn’t receive push tokens at all. On Android everything works as expected. We use cloud building on iOS and local building on Android.

In an earlier app we released had a problem with receiving push notifications, but this is different because back then the app registered and received a push token. Here’s the github issue on that: https://github.com/ionic-team/ionic-cloud/issues/133. That time renewing certificates a few times worked, but not now.

So I started to suspect there’s still issues on the cloud building, here’s a few examples:

  • App A: Failed iOS 2017-08-07 10:23 AM (Failure while building the project environment)
  • App B: Failed iOS 2017-08-07 10:33 AM (Failure while building the project environment)
  • App B: Success iOS 2017-08-14 8:58 AM 501:07 (veeeeery slow)
  • App A: Success iOS 2017-08-14 9:14 AM 486:50 (veeeeery slow)
  • App A: Success iOS 2017-08-21 9:05 AM 00:52 (speed normalized, no push token received)
  • App B: Success iOS 2017-08-24 8:40 AM 01:03 (speed normalized, no push token received)

Both apps get the “Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature’s entitlements do not include the “aps-environment” entitlement.” email from Apple as soon as they are sent.

So two iOS apps with the same problems and two completely working Android apps. We’re completely lost and the push notification is quite key feature for us.