From f71bb2d8d35138023eaa5d3f242dccbdb9384977 Mon Sep 17 00:00:00 2001 From: Aman Mittal Date: Wed, 21 Dec 2022 01:14:14 +0530 Subject: [PATCH 1/2] Update expo installation command to npx expo in docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2280ab1..61ffc99 100644 --- a/README.md +++ b/README.md @@ -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:** From 44382d6e2ba85225ed9d09749c9457e2262c6b35 Mon Sep 17 00:00:00 2001 From: Aman Mittal Date: Wed, 21 Dec 2022 01:19:09 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 61ffc99..15ff509 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 ``` ---