Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This plugin is an [Expo Config Plugin](https://docs.expo.dev/guides/config-plugi
## Install

```sh
expo install onesignal-expo-plugin
npx expo install onesignal-expo-plugin
```

**Note:**
Expand All @@ -35,7 +35,7 @@ After installing the onseignal-expo-plugin, install now the react-native-onesign
yarn add react-native-onesignal
```

If you frogot to run the following command after you have built your project, you can fix this by running `expo prebuild --clean`. This should delete android and ios and do a clean native build, then run the `yarn add react-native-onesignal`.
If you forgot to run the following command after you have built your project, you can fix this by running `npx expo prebuild --clean`. This should delete android and ios and do a clean native build, then run the `yarn add react-native-onesignal`.

## Configuration in app.json / app.config.js
### Plugin
Expand Down Expand Up @@ -108,13 +108,13 @@ OneSignal.setAppId("YOUR-ONESIGNAL-APP-ID");

## Run
```sh
$ expo prebuild
$ npx expo prebuild

# Build your native iOS project
$ expo run:ios
$ npx expo run:ios

# Build your native Android project
$ expo run:android
$ npx expo run:android
```
---

Expand Down