diff --git a/examples/README.md b/examples/README.md index 48dd63f..ef92f63 100644 --- a/examples/README.md +++ b/examples/README.md @@ -25,26 +25,38 @@ In the output, you'll find options to open the app in a You can start developing by editing the files inside the **app** directory. This project uses [file-based routing](https://docs.expo.dev/router/introduction). -## Get a fresh project +## Publish update -When you're ready, run: +### Prerequisites -```bash -npm run reset-project ``` +# expo +npm install -g eas-cli +eas login +``` + +### Building -This command will move the starter code to the **app-example** directory and create a blank **app** directory where you can start developing. +Update the version in `app.json` -## Learn more +``` +{ + "expo": { + "version": "1.1.0", + } +} +``` -To learn more about developing your project with Expo, look at the following resources: +``` +eas build --platform android --profile production +``` -- [Expo documentation](https://docs.expo.dev/): Learn fundamentals, or go into advanced topics with our [guides](https://docs.expo.dev/guides). -- [Learn Expo tutorial](https://docs.expo.dev/tutorial/introduction/): Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web. +You might need to configure project on your machine (use/download existing keystore) -## Join the community +Then submit the application -Join our community of developers creating universal apps. +``` +eas submit --platform android +``` -- [Expo on GitHub](https://github.com/expo/expo): View our open source platform and contribute. -- [Discord community](https://chat.expo.dev): Chat with Expo users and ask questions. +Then you can go to the google play console and publish the release. \ No newline at end of file diff --git a/examples/app.json b/examples/app.json index 34915df..7b42689 100644 --- a/examples/app.json +++ b/examples/app.json @@ -1,8 +1,8 @@ { "expo": { - "name": "react-native-popup-menu-examples", - "slug": "react-native-popup-menu-examples", - "version": "1.0.0", + "name": "RNPopupMenuExamples", + "slug": "RNPopupMenuExamples", + "version": "1.1.0", "orientation": "portrait", "icon": "./assets/images/icon.png", "scheme": "reactnativepopupmenuexamples", @@ -16,6 +16,7 @@ "foregroundImage": "./assets/images/adaptive-icon.png", "backgroundColor": "#ffffff" }, + "package": "sk.instea.rnpopupmenuexamples", "edgeToEdgeEnabled": true }, "web": { @@ -37,6 +38,12 @@ ], "experiments": { "typedRoutes": true + }, + "extra": { + "router": {}, + "eas": { + "projectId": "bb486290-87aa-4799-84e2-fe1d0e93c74d" + } } } } diff --git a/examples/eas.json b/examples/eas.json new file mode 100644 index 0000000..70e502c --- /dev/null +++ b/examples/eas.json @@ -0,0 +1,21 @@ +{ + "cli": { + "version": ">= 16.17.4", + "appVersionSource": "remote" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal" + }, + "preview": { + "distribution": "internal" + }, + "production": { + "autoIncrement": true + } + }, + "submit": { + "production": {} + } +} diff --git a/examples/package.json b/examples/package.json index def5f23..2aa5c81 100644 --- a/examples/package.json +++ b/examples/package.json @@ -8,6 +8,7 @@ "android": "expo start --android", "ios": "expo start --ios", "web": "expo start --web", + "expo": "expo", "lint": "expo lint" }, "dependencies": {