We setup ONE certificate in development and production and we have 2 different apps. However, our notifications only work in production environment, not in development environment.
Testing it says that its “sent” however we don’t get the notification. Whats the best way to debug logs here?
Not receiving notifications on iOS device
Hey
One common issue we see between prod/dev builds is that the Site ID and API Key combo may not be correct (if, for instance, you have a Prod workspace and a Dev workspace, you will have different SITE ID & API KEY combinations).
Another major factor is whether or not you’re using one of our mobile SDKs. If you’re not using one of our SDKs, you will need to refer to these docs to ensure everything is setup correctly for both builds: https://customer.io/docs/journeys/push-developer-guide/#configure-push
Here’s what we would recommend you try:
- Run our “SDK Doctor” tool: https://github.com/customerio/cio-sdk-tools, gather the output and share it with us
- Enable Debug logs (how to collect from iOS SDK) and capture logs from app initialization through push notification sending and delivery (or, at least until expected delivery, if it is not showing)
With those logs and the output from the SDK doctor tool, please send our Support team an email at win@customer.io, referencing this thread. 😊
Hey
Yes, I believe you should be able to test push notification and in-app message delivery in a simulator to collect logs. If you’re having issues figuring that out, feel free to reach out to Support with as much information as you do have (e.g. share the output of the SDK doctor tool and which SDK version you’re using).
Reply
Login to the community
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.