Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/expo-support' into expo-support
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenmo committed May 10, 2024
2 parents 1ed2fc7 + 6df45a2 commit b78b489
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The official Push Notification adapter for Parse Server. See [Parse Server Push
- [Using a Custom Version on Parse Server](#using-a-custom-version-on-parse-server)
- [Install Push Adapter](#install-push-adapter)
- [Configure Parse Server](#configure-parse-server)
- [Expo Push Options](#expo-push-options)

# Silent Notifications

Expand Down Expand Up @@ -57,7 +58,7 @@ const parseServerOptions = {
push: {
adapter: new PushAdapter({
ios: {
/* Apple push notification options */
/* Apple push options */
},
android: {
/* Android push options */
Expand All @@ -66,12 +67,23 @@ const parseServerOptions = {
/* Web push options */
},
expo: {
/* Expo push options (https://docs.expo.dev/push-notifications/overview/)
* If you setup access token, add `accessToken: '<token>'`.
*/
}
})
/* Expo push options */
},
}),
},
/* Other Parse Server options */
}
```

### Expo Push Options

Example options:

```js
expo: {
accessToken: '<EXPO_ACCESS_TOKEN>',
},
```

For more information see the [Expo docs](https://docs.expo.dev/push-notifications/overview/).

0 comments on commit b78b489

Please sign in to comment.