You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+43-1Lines changed: 43 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -332,6 +332,9 @@ Add this permission to your `Info.plist`
332
332
333
333
#### iOS: Push Notifications
334
334
335
+
>**Note**: You should request user permission to display push notifications.
336
+
e.g. [react-native-permissions](https://github.com/zoontek/react-native-permissions)
337
+
335
338
Add **Push Notifications** and **Background Modes > Remote Notifications**[Details HERE](https://developer.apple.com/documentation/xcode/adding-capabilities-to-your-app)
336
339
337
340
@@ -470,11 +473,50 @@ The plugin provides props for extra customization. Every time you change the pro
470
473
}
471
474
```
472
475
476
+
#### Push notifications
477
+
478
+
Add the following configurations into your `app.json` or `app.config.js`:
479
+
480
+
Place your `google-services.json` inside the project's root and link it
481
+
482
+
```json
483
+
{
484
+
"expo": {
485
+
...
486
+
"android": {
487
+
"googleServicesFile": "./google-services.json",
488
+
...
489
+
}
490
+
}
491
+
```
492
+
493
+
Add the necessary permission descriptions to infoPlist key.
494
+
495
+
```json
496
+
{
497
+
"expo": {
498
+
...
499
+
"ios": {
500
+
...
501
+
"infoPlist": {
502
+
"NSCameraUsageDescription": "This is just a sample text to access the Camera",
503
+
"NSPhotoLibraryUsageDescription": "This is just a sample text to access the Photo Library"
504
+
}
505
+
...
506
+
}
507
+
}
508
+
}
509
+
```
510
+
511
+
>**Note**: You should request user permission to display push notifications.
512
+
e.g. [react-native-permissions](https://github.com/zoontek/react-native-permissions)
513
+
473
514
Next, rebuild your app as described in the ["Adding custom native code"](https://docs.expo.io/workflow/customizing/) guide.
474
515
516
+
475
517
#### Limitations
476
518
477
-
-**No push notifications support**: Intercom push notifications currently aren't supported by this config plugin extension. This will be added in the future.
519
+
- **No deep links support**: Deep Linking currently is not supported by this config plugin extension. This will be added in the future.
0 commit comments