Update files
This commit is contained in:
@@ -107,7 +107,7 @@ Take screenshots like this: `adb exec-out screencap -p > screenshot.png`
|
|||||||
Use `APP_VARIANT` in `packages/app/app.config.js` to control app name + package ID (no custom Gradle flavor plugin):
|
Use `APP_VARIANT` in `packages/app/app.config.js` to control app name + package ID (no custom Gradle flavor plugin):
|
||||||
|
|
||||||
- `production` -> app name `Paseo`, package `sh.paseo`
|
- `production` -> app name `Paseo`, package `sh.paseo`
|
||||||
- `development` -> app name `Paseo Dev`, package `sh.paseo.dev`
|
- `development` -> app name `Paseo Debug`, package `sh.paseo.debug`
|
||||||
|
|
||||||
EAS profiles live in `packages/app/eas.json` as `development` and `production`.
|
EAS profiles live in `packages/app/eas.json` as `development` and `production`.
|
||||||
|
|
||||||
@@ -119,9 +119,11 @@ From `packages/app`:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# development (debug)
|
# development (debug)
|
||||||
|
APP_VARIANT=development npx expo prebuild --platform android --clean --non-interactive
|
||||||
APP_VARIANT=development npx expo run:android --variant=debug
|
APP_VARIANT=development npx expo run:android --variant=debug
|
||||||
|
|
||||||
# production (release)
|
# production (release)
|
||||||
|
APP_VARIANT=production npx expo prebuild --platform android --clean --non-interactive
|
||||||
APP_VARIANT=production npx expo run:android --variant=release
|
APP_VARIANT=production npx expo run:android --variant=release
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ const variants = {
|
|||||||
packageId: "sh.paseo",
|
packageId: "sh.paseo",
|
||||||
},
|
},
|
||||||
development: {
|
development: {
|
||||||
name: "Paseo Dev",
|
name: "Paseo Debug",
|
||||||
packageId: "sh.paseo.dev",
|
packageId: "sh.paseo.debug",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -6,8 +6,8 @@
|
|||||||
"start": "expo start",
|
"start": "expo start",
|
||||||
"reset-project": "node ./scripts/reset-project.js",
|
"reset-project": "node ./scripts/reset-project.js",
|
||||||
"android": "npm run android:development",
|
"android": "npm run android:development",
|
||||||
"android:development": "APP_VARIANT=development expo run:android --variant=debug",
|
"android:development": "APP_VARIANT=development expo prebuild --platform android --clean --non-interactive && APP_VARIANT=development expo run:android --variant=debug",
|
||||||
"android:production": "APP_VARIANT=production expo run:android --variant=release",
|
"android:production": "APP_VARIANT=production expo prebuild --platform android --clean --non-interactive && APP_VARIANT=production expo run:android --variant=release",
|
||||||
"android:prod": "npm run android:production",
|
"android:prod": "npm run android:production",
|
||||||
"android:release": "npm run android:production",
|
"android:release": "npm run android:production",
|
||||||
"ios": "expo run:ios",
|
"ios": "expo run:ios",
|
||||||
|
|||||||
@@ -791,8 +791,8 @@ const compactionStylesheet = StyleSheet.create((theme) => ({
|
|||||||
gap: theme.spacing[2],
|
gap: theme.spacing[2],
|
||||||
},
|
},
|
||||||
text: {
|
text: {
|
||||||
fontFamily: Fonts.mono,
|
fontFamily: Fonts.sans,
|
||||||
fontSize: 11,
|
fontSize: 13,
|
||||||
color: theme.colors.foregroundMuted,
|
color: theme.colors.foregroundMuted,
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user