Skip to content

Commit

Permalink
docs(messaging, expo): note iOS entitlement config requirement for ex…
Browse files Browse the repository at this point in the history
…po SDK51+ (#7842)

* docs(notifications): iOS entitlements

Added new expo section for iOS entitlements since Expo SDK51

* style(lint): `yarn lint:markdown --write`

* lint(spelling): added new technical words to dictionary for PR

---------

Co-authored-by: Mike Hardy <[email protected]>
  • Loading branch information
christopherPiero and mikehardy authored Jun 12, 2024
1 parent d849667 commit a1f3329
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .spellcheck.dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ APNs
AppAttest
AppCheck
AppDelegate.m
aps-environment
async
ATT
ATT-compatible
Expand Down Expand Up @@ -138,6 +139,7 @@ pre-configured
pre-fetched
pre-release
pre-rendered
prebuild
preflight
preloaded
prepended
Expand All @@ -163,6 +165,7 @@ screenview
scrollable
SDK
SDK.
SDK51
SDKs
SDKs.
serverless
Expand Down
18 changes: 18 additions & 0 deletions docs/messaging/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,24 @@ cd ios/ && pod install
If you're using an older version of React Native without auto-linking support, or wish to integrate into an existing project,
you can follow the manual installation steps for [iOS](/messaging/usage/installation/ios) and [Android](/messaging/usage/installation/android).

# Expo

## iOS - Notifications entitlement

Since Expo SDK51, Notifications entitlement is no longer always added to iOS projects during prebuild. If your project uses push notifications, you may need to add the aps-environment entitlement to your app config:

```json
{
"expo": {
"ios": {
"entitlements": {
"aps-environment": “production”
}
}
}
}
```

# What does it do

React Native Firebase provides native integration of Firebase Cloud Messaging (FCM) for both Android & iOS. FCM is a cost
Expand Down

0 comments on commit a1f3329

Please sign in to comment.