Sign in

You came here from the screen you left, and it is still open behind you. Back to the screen you left

Using it · page 15 of 29

Trying a phone app

6 min to read

In 30 seconds

  • You need a test app on your phone: a version of your app that opens each ask's preview when you scan its QR code. Android only for now.
  • You do: paste your Expo key on Try it on your phone (GitHub keeps it as a secret; DoneMark sees its name, never the key), merge the pull request that adds DoneMark's phone pieces, then scan the install code.
  • You get a QR code for every ask that builds your app. DoneMark never publishes your app to TestFlight or Google Play, and never holds a signing key.

A phone app built with Expo can't open in a browser tab the way a web app can. To try it, you need a test app on your phone: a version of your app that opens each ask's preview when you scan its QR code. DoneMark guides you there from one card, Try it on your phone, on the Home, on the setup page and on each ask's page. Android only for now.

The four steps

StepWhoWhat happens
1. Your Expo keyYouMake a free Expo account and an access token, then paste it on the card. Your browser seals it before it leaves the page, and GitHub keeps it as the repository secret EXPO_TOKEN. DoneMark sees the secret's name, never the key.
2. DoneMark's phone piecesOne pressA pull request in your name adds what a test app needs: expo-dev-client, expo-updates at your Expo version, Expo's build-properties plugin where your Expo version needs it, DoneMark's own build profile in eas.json, an Android name and a fixed runtime version in app.json, and the workflow that builds the test app. Merge it on GitHub.
3. The test app, builtDoneMarkDoneMark starts the build on your default branch, or you press Build it now on the card. Your CI asks Expo to build it, which takes 15 to 30 minutes. The card moves on by itself.
4. Installed on your phoneYouThe card asks Is the new test app on your phone? and says when it was built. Scan the install code with your phone's camera, allow installing from your browser, and install. Then say I installed it, and the card folds away. Nothing waits on that press.

After that, every ask that builds your app shows its own QR code under Try it on your phone: scan it and the ask opens in your test app.

The app as it stands

Once every ask is merged, you can still open the app as it is now. After each merge, DoneMark publishes your default branch by itself, a few minutes later, and the Home shows Try it as it stands with its own QR code and the commit it shows. While a newer one publishes, the code before it stays; if publishing fails, the card says why in the run's own words. It's published under DoneMark's own Expo branch, constat-as-it-stands, so it never mixes with yours.

It's published as soon as your test app is built. You don't need to have said I installed it first: until you have, the Home shows it under the install step, with Install the test app first (above).

Where the checks ran

A phone app's checks usually run in a browser simulator in CI, not on a phone, and a phone can lack what a simulator has. Each "done when" line on an ask's page says where its check ran, read from the test file's own declaration: ran in a browser simulator, not on a phone, ran in Node, or walked in a real browser. When every checked line ran off the phone, one sentence stands above the two buttons: No check ran on a phone. It says where they ran instead, and to try it on your phone first, with the code higher on the page, then decide. Signing off still seals it; the seal then says it was given with no check on a phone.

Walk it on Android

An ask on a phone app has one tick under its "Done when" lines: Walk it on Android. It starts unticked. Ticked, the lines a person can see on screen are walked on an Android emulator in your app's own CI. DoneMark opens the attempt in your test app, taps through each line as the agent wrote it, and photographs every step. A line then says walked on Android: green when the walk saw what the line promises, red with the photograph of where it stopped when it did not. Lines nobody sees keep their checks.

It costs about five more minutes of CI per attempt. It needs the test app (the step "Try it on your phone" in Setting up), and it covers Android only, never an iPhone. Camera, Bluetooth and notifications are limited in an emulator, so try those yourself. When an attempt could not be walked (no test app yet, a test app without a part the attempt needs, or a preview the test app could not open), the page says why and nothing turns red. You can tick it on a new ask, or on an ask's own page between attempts, where it applies from the next attempt. A walk is evidence, never a gate: signing off stays yours.

When a walk did not get started

A walk says something about your app only once one of the agent's own steps went through. When a walk stopped at its very first step, nothing was tried on your app yet: the line reads not walked — it looked for "Create a profile" on the first screen and did not find it, in grey, with the photograph of that first screen. It is never shown as a failure of your app. Read the photograph: the agent may have written the button's words differently from the screen, or your app's first screen may not be what the agent expected. The ladder says The walk did not get started.

Which walk it was, and Walk it again

DoneMark's walk is taken from your merged default branch, never from the attempt's branch, so an agent cannot change how its own attempt is walked. Each walk says which of DoneMark's walks it was: Walked with DoneMark's current walk, or Walked with DoneMark's walk 57. DoneMark's walk has changed since.

Where a line was not walked, or the walk was made with an older one, the page offers Walk it again to whoever may start an attempt. One press walks the attempt once more on its own preview, about five minutes, and the page moves on by itself. It's refused, in words, while a walk is already running, or when your app's preview workflow cannot walk yet (its update brings the one that can).

One limit: the walk job is part of the attempt's branch. An attempt cut before your app took template 59 keeps its old job, so Walk it again walks it the old way. Every attempt cut after that walks with DoneMark's current walk.

Good to know

  • Your own files stay yours. The pull request adds what is missing, and moves expo-updates to your Expo version when it is behind. Your own eas.json profiles are left as they are. Anything DoneMark can't edit safely is named on the card for you to do by hand: lines in an app config written as a program (app.config.js) or with comments in it, bringing your lockfile up to date before you merge, or an Expo version DoneMark doesn't know yet.
  • The test app's signing key is thrown away. Each test build makes its own key in your CI, and nothing keeps it. A newer test app installs only after you remove the older one from your phone. That's only needed when the app gains new native parts: once that change is merged, DoneMark builds the new test app by itself, and the card shows it.
  • If GitHub won't let DoneMark press the build, the card says so in GitHub's own words and links the workflow's Run button, so you can press it yourself. DoneMark follows that run like its own.
  • If DoneMark can't see your repository's secret names, the card moves on anyway and the build tells: if EXPO_TOKEN isn't saved, the card comes back to step 1 and says so.
  • iPhone isn't covered yet. A test app for an iPhone needs a paid Apple developer account and each phone registered with Apple, which no press can do for you.
  • DoneMark never publishes your app to TestFlight or Google Play, and never holds your Expo key or a signing key.

Did this page get you there?

Your answer and your words go to the team, with the page and the day. Nothing about you is kept.