Skip to content

Commit

Permalink
chore: improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNerdGuyLulu committed Apr 26, 2024
1 parent d8231c0 commit 79fa862
Showing 1 changed file with 24 additions and 11 deletions.
35 changes: 24 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,25 +474,38 @@ The plugin provides props for extra customization. Every time you change the pro
}
```

Place your `google-services.json` inside the project's root and link it.
#### Push notifications

```
"android": {
Add the following configurations into your `app.json` or `app.config.js`:

Place your `google-services.json` inside the project's root and link it

```json
{
"expo": {
...
"android": {
"googleServicesFile": "./google-services.json",
...
}
}
}
```

Add the necessary permission descriptions to infoPlist key.

```
"ios": {
...
"infoPlist": {
"NSCameraUsageDescription": "This is just a sample text to access the Camera",
"NSPhotoLibraryUsageDescription": "This is just a sample text to access the Photo Library"
```json
{
"expo": {
...
"ios": {
...
"infoPlist": {
"NSCameraUsageDescription": "This is just a sample text to access the Camera",
"NSPhotoLibraryUsageDescription": "This is just a sample text to access the Photo Library"
}
...
}
}
...
}
```

Expand Down

0 comments on commit 79fa862

Please sign in to comment.