The phone app installs as g1t (experimental), not g1t (beta): the preview build's name in apps/mobile/app.config.ts, and the download page's steps, the phone app guide, the mobile README, scripts/mobile-release.mjs and the mobile workflows that name it. Phones get the new name with the next release APK; an update over the air does not change it.
- G1t-Session:
- ses_01m5049vv0e99sev75mpxen4nr
7 files+13−130/7 viewed
| 2 | 2 | # code before it is in Google Play. Nothing is published: the run's summary | |
| 3 | 3 | # links the build's page on expo.dev, which shows the QR code, and the APK. | |
| 4 | 4 | # | |
| 5 | − | # - `preview` (default): g1t (beta), sh.g1t.app.preview, a standalone signed | |
| 5 | + | # - `preview` (default): g1t (experimental), sh.g1t.app.preview, a standalone signed | |
| 6 | 6 | # APK that needs no computer: what testers install, from the build page's | |
| 7 | 7 | # QR code. Code changes reach it over the air (`eas update --channel | |
| 8 | 8 | # preview`), so it is built again only when the native side changes; on |
| 1 | 1 | # Releases the phone app for Android (apps/mobile) on g1t.sh/download, | |
| 2 | 2 | # while it is not in Google Play: EAS builds the `preview` profile (g1t | |
| 3 | − | # (beta), a signed release APK), and the APK is published to | |
| 3 | + | # (experimental), a signed release APK), and the APK is published to | |
| 4 | 4 | # g1t.sh/downloads/mobile/ (the g1t-downloads R2 bucket), with latest.json | |
| 5 | 5 | # pointed at it. Google Play and the App Store wait on Flagon's D-U-N-S | |
| 6 | 6 | # number; until then this is how the app is given out. |
| 26 | 26 | 2. Open the downloaded file. Android asks once to allow your browser to | |
| 27 | 27 | install apps: allow it. If Play Protect warns about an unknown app, | |
| 28 | 28 | choose **More details**, then **Install anyway**. | |
| 29 | − | 3. Open **g1t (beta)** and choose **Sign in with g1t**. | |
| 29 | + | 3. Open **g1t (experimental)** and choose **Sign in with g1t**. | |
| 30 | 30 | ||
| 31 | 31 | Point at the file's name on the page to see its SHA-256, to check the file | |
| 32 | 32 | you have is the one g1t published. Like every g1t build during the alpha, | |
| ⋯ | |||
| 189 | 189 | | Build | Command | What it makes | | |
| 190 | 190 | | --- | --- | --- | | |
| 191 | 191 | | Development | `eas build --profile development --platform android` | An APK of `g1t (dev)` (`sh.g1t.app.dev`) that loads its code from your computer. | | |
| 192 | − | | Preview | `npm run build:android:apk -w @g1t/mobile` | An APK of `g1t (beta)` (`sh.g1t.app.preview`) to install on testers' phones. | | |
| 192 | + | | Preview | `npm run build:android:apk -w @g1t/mobile` | An APK of `g1t (experimental)` (`sh.g1t.app.preview`) to install on testers' phones. | | |
| 193 | 193 | | Production | `npm run build:android -w @g1t/mobile` | An Android App Bundle of `g1t` (`sh.g1t.app`) for Google Play. | | |
| 194 | 194 | ||
| 195 | 195 | The three install side by side. `eas submit --platform android` sends | |
| 187 | 187 | ### Releasing on g1t.sh/download (until Google Play) | |
| 188 | 188 | ||
| 189 | 189 | Google Play and the App Store wait on Flagon's D-U-N-S number. Until then | |
| 190 | − | the `preview` build, `g1t (beta)`, is what people install, from | |
| 190 | + | the `preview` build, `g1t (experimental)`, is what people install, from | |
| 191 | 191 | g1t.sh/download: | |
| 192 | 192 | ||
| 193 | 193 | ```sh |
| 10 | 10 | * profiles) picks an identity, so a development build, a preview build | |
| 11 | 11 | * and the store build install side by side on one phone: | |
| 12 | 12 | * | |
| 13 | − | * | Variant | Android package / iOS bundle | Name | | |
| 14 | − | * | ------------- | ---------------------------- | ----------- | | |
| 15 | − | * | `development` | `sh.g1t.app.dev` | g1t (dev) | | |
| 16 | − | * | `preview` | `sh.g1t.app.preview` | g1t (beta) | | |
| 17 | − | * | production | `sh.g1t.app` | g1t | | |
| 13 | + | * | Variant | Android package / iOS bundle | Name | | |
| 14 | + | * | ------------- | ---------------------------- | ------------------ | | |
| 15 | + | * | `development` | `sh.g1t.app.dev` | g1t (dev) | | |
| 16 | + | * | `preview` | `sh.g1t.app.preview` | g1t (experimental) | | |
| 17 | + | * | production | `sh.g1t.app` | g1t | | |
| 18 | 18 | * | |
| 19 | 19 | * The EAS project is g1t's on expo.dev; push notifications on Android | |
| 20 | 20 | * also need the Firebase credentials uploaded there (README.md). | |
| ⋯ | |||
| 25 | 25 | ||
| 26 | 26 | const variant = process.env.APP_VARIANT; | |
| 27 | 27 | const suffix = variant === "development" ? ".dev" : variant === "preview" ? ".preview" : ""; | |
| 28 | − | const name = variant === "development" ? "g1t (dev)" : variant === "preview" ? "g1t (beta)" : "g1t"; | |
| 28 | + | const name = variant === "development" ? "g1t (dev)" : variant === "preview" ? "g1t (experimental)" : "g1t"; | |
| 29 | 29 | const id = `sh.g1t.app${suffix}`; | |
| 30 | 30 | const projectId = process.env.EAS_PROJECT_ID ?? EAS_PROJECT; | |
| 31 | 31 | ||
| 543 | 543 | const steps = [ | |
| 544 | 544 | onPhone ? "Download the app." : "Scan the code with your phone's camera, or download it on the phone.", | |
| 545 | 545 | "Open the file, and allow your browser to install apps when Android asks.", | |
| 546 | − | "Open g1t (beta) and sign in.", | |
| 546 | + | "Open g1t (experimental) and sign in.", | |
| 547 | 547 | ]; | |
| 548 | 548 | return ( | |
| 549 | 549 | <Panel |
| 1 | 1 | #!/usr/bin/env node | |
| 2 | 2 | // Releases of the phone app (apps/mobile) for Android, published on | |
| 3 | 3 | // g1t.sh/download while the app is not in Google Play: built by EAS from | |
| 4 | − | // the `preview` profile (g1t (beta), sh.g1t.app.preview, a signed release | |
| 4 | + | // the `preview` profile (g1t (experimental), sh.g1t.app.preview, a signed release | |
| 5 | 5 | // APK that needs no computer), downloaded, described in a manifest, and | |
| 6 | 6 | // published to the g1t-downloads R2 bucket that g1t.sh serves at | |
| 7 | 7 | // /downloads/mobile/ (apps/web/app/routes/downloads-runner.ts). The |
Comments
Sign in to comment.