diff --git a/docs/messaging/usage/ios-setup.md b/docs/messaging/usage/ios-setup.md index 06b92025d1..04f834023d 100644 --- a/docs/messaging/usage/ios-setup.md +++ b/docs/messaging/usage/ios-setup.md @@ -155,3 +155,12 @@ testing and production. To rebuild your app, run the following command: ```bash npx react-native run-ios ``` +### Aps Environment +Check the `aps-environment` Key +1. Open the .entitlements file in Xcode or a text editor. +2. Look for the aps-environment key. It should appear like this: +``` +aps-environment +development +``` +3. Make sure it should be set to `production` for the release build. If it's missing or set to `development`, push notifications will not work in production.