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 29, 2024
1 parent d8231c0 commit cc01598
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 15 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
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1204,10 +1204,10 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"

"@expo/config-plugins@^7.8.4":
version "7.8.4"
resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-7.8.4.tgz#533b5d536c1dc8b5544d64878b51bda28f2e1a1f"
integrity sha512-hv03HYxb/5kX8Gxv/BTI8TLc9L06WzqAfHRRXdbar4zkLcP2oTzvsLEF4/L/TIpD3rsnYa0KU42d0gWRxzPCJg==
"@expo/config-plugins@^7.9.1":
version "7.9.1"
resolved "https://registry.yarnpkg.com/@expo/config-plugins/-/config-plugins-7.9.1.tgz#fe4f7e4f9d4e87f2dcf2344ffdc59eb466dd5d2e"
integrity sha512-ICt6Jed1J0tPYMQrJ8K5Qusgih2I6pZ2PU4VSvxsN3T4n97L13XpYV1vyq1Uc/HMl3UhOwldipmgpEbCfeDqsQ==
dependencies:
"@expo/config-types" "^50.0.0-alpha.1"
"@expo/fingerprint" "^0.6.0"
Expand Down

0 comments on commit cc01598

Please sign in to comment.