Skip to content

Commit 1978595

Browse files
committed
Connect examples to our expo
1 parent 9dd19a5 commit 1978595

File tree

4 files changed

+57
-16
lines changed

4 files changed

+57
-16
lines changed

examples/README.md

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,38 @@ In the output, you'll find options to open the app in a
2525

2626
You can start developing by editing the files inside the **app** directory. This project uses [file-based routing](https://docs.expo.dev/router/introduction).
2727

28-
## Get a fresh project
28+
## Publish update
2929

30-
When you're ready, run:
30+
### Prerequisites
3131

32-
```bash
33-
npm run reset-project
3432
```
33+
# expo
34+
npm install -g eas-cli
35+
eas login
36+
```
37+
38+
### Building
3539

36-
This command will move the starter code to the **app-example** directory and create a blank **app** directory where you can start developing.
40+
Update the version in `app.json`
3741

38-
## Learn more
42+
```
43+
{
44+
"expo": {
45+
"version": "1.1.0",
46+
}
47+
}
48+
```
3949

40-
To learn more about developing your project with Expo, look at the following resources:
50+
```
51+
eas build --platform android --profile production
52+
```
4153

42-
- [Expo documentation](https://docs.expo.dev/): Learn fundamentals, or go into advanced topics with our [guides](https://docs.expo.dev/guides).
43-
- [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.
54+
You might need to configure project on your machine (use/download existing keystore)
4455

45-
## Join the community
56+
Then submit the application
4657

47-
Join our community of developers creating universal apps.
58+
```
59+
eas submit --platform android
60+
```
4861

49-
- [Expo on GitHub](https://github.com/expo/expo): View our open source platform and contribute.
50-
- [Discord community](https://chat.expo.dev): Chat with Expo users and ask questions.
62+
Then you can go to the google play console and publish the release.

examples/app.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"expo": {
3-
"name": "react-native-popup-menu-examples",
4-
"slug": "react-native-popup-menu-examples",
5-
"version": "1.0.0",
3+
"name": "RNPopupMenuExamples",
4+
"slug": "RNPopupMenuExamples",
5+
"version": "1.1.0",
66
"orientation": "portrait",
77
"icon": "./assets/images/icon.png",
88
"scheme": "reactnativepopupmenuexamples",
@@ -16,6 +16,7 @@
1616
"foregroundImage": "./assets/images/adaptive-icon.png",
1717
"backgroundColor": "#ffffff"
1818
},
19+
"package": "sk.instea.rnpopupmenuexamples",
1920
"edgeToEdgeEnabled": true
2021
},
2122
"web": {
@@ -37,6 +38,12 @@
3738
],
3839
"experiments": {
3940
"typedRoutes": true
41+
},
42+
"extra": {
43+
"router": {},
44+
"eas": {
45+
"projectId": "bb486290-87aa-4799-84e2-fe1d0e93c74d"
46+
}
4047
}
4148
}
4249
}

examples/eas.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"cli": {
3+
"version": ">= 16.17.4",
4+
"appVersionSource": "remote"
5+
},
6+
"build": {
7+
"development": {
8+
"developmentClient": true,
9+
"distribution": "internal"
10+
},
11+
"preview": {
12+
"distribution": "internal"
13+
},
14+
"production": {
15+
"autoIncrement": true
16+
}
17+
},
18+
"submit": {
19+
"production": {}
20+
}
21+
}

examples/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"android": "expo start --android",
99
"ios": "expo start --ios",
1010
"web": "expo start --web",
11+
"expo": "expo",
1112
"lint": "expo lint"
1213
},
1314
"dependencies": {

0 commit comments

Comments
 (0)