Skip to content

Commit 9c6f607

Browse files
authored
docs(messaging): how to config iOS remote notifications in Expo (#8212)
1 parent 76bbdb8 commit 9c6f607

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/messaging/usage/index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,22 @@ Since Expo SDK51, Notifications entitlement is no longer always added to iOS pro
4848
}
4949
```
5050

51+
## iOS - Remote notification
52+
53+
If you require `remote notification` on Expo, you can also add this to your Expo `app.json` or `app.config.js`
54+
55+
```json
56+
{
57+
"expo": {
58+
"ios": {
59+
"infoPlist": {
60+
"UIBackgroundModes": ["remote-notification"]
61+
}
62+
}
63+
}
64+
}
65+
```
66+
5167
# What does it do
5268

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

0 commit comments

Comments
 (0)