iOS: Why did Push notifications work in development but not in production?
Why did Push notifications work in development but not in production (iOS)?
This is a common question. Apple uses basically two servers for their APNS protocol: one is their sandbox (for testing purposes) and the other is for production (live). When an App is defined as Development - Connecting to testing servers in our Application the APNS Sandbox is invoked.
When the App goes into production, it is recommended to create another App on our Console (which will have different app keys and such) in order to "start clean" and also in order to follow the release standards.
Here is an image showing the differentiation between Production and Development in certificates:

Thus always remember to use the adequate status in the MOCA console, even if you use an universal certificate.
More about APNS can be found at Apple's APNS Overview. A good guide on what could of gone wrong can be found at Apple's official troubleshooting Push Notifications documentation.
Related Articles
Testing iOS Remote Push in Production
Here, at MOCA, we strongly recommend creating two environments to test the correct integration of the Remote Push functionality of our SDK. The reason is simple: APNs has a strict set of rules in how to test production defined Apps, and it can create ...
iOS - Remote Push notifications do not reach the test devices?
Remote Push Notifications for iOS devices have many moving parts that can cause issues. Let's explain the most common scenarios: 1. App Bundle ID declared in the App is different than the one declared when requesting the APNs Certificate. APNs ...
iOS 13 and MOCA SDK
MOCA iOS SDK has been tested on BETA versions of iOS 13. Find the version notes below: - MOCA SDK for iOS uses the CoreBluetooth framework in order to monitor bluetooth status. In iOS 13 the mere fact of using any of the CoreBluetooth methods will ...
MOCA iOS SDK LOG_LEVEL Settings
You can set a variety of logging levels for our SDK in the MOCAconfig.plist file, under the LOG_LEVEL variable: LOG_LEVEL Description Off Log is turned off at SDK level. Error Shows only error events. Warning Shows only warning events. Info Shows ...
Is the MOCA Console compatible with .p8 Authentication Keys?
Our MOCA Console accepts Apple Push Notification service SSL certificates for Sandbox and Production environments. It's currently not compatible with Apple Push Authentication Keys (.p8 files). In order to download Apple Push Notification service SSL ...