Skip to content

Commit

Permalink
docs: Documentation only changes in ios-setup.md
Browse files Browse the repository at this point in the history
Aps Evironment not is added
  • Loading branch information
faizan2301 authored Dec 17, 2024
1 parent 3623a50 commit 0cdd411
Showing 1 changed file with 9 additions and 0 deletions.
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.

0 comments on commit 0cdd411

Please sign in to comment.