Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Documentation only changes in ios-setup.md #8194

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/messaging/usage/ios-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
```
<key>aps-environment</key>
<string>development</string>
```
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.
Loading