Using Chirai · Chapter 20

Mobile apps

Choose App on the build page to get a real iOS and Android app from one description. It's a native app built with Expo and React Native, not a website inside a wrapper, with its own database and customer accounts, like a website.

Preview on your phone

When the build finishes, the Studio shows a QR code. Install Expo Go from your phone's app store and scan it to use the app on your phone.

How Chirai writes and checks an app

An app is written by one writer, one screen after another, in the order your customers meet them. Each screen is written with every earlier screen in front of it, along with the app's own components and its shared files, so a price, a button or a choice means the same thing on every screen.

When the screens are written, Chirai opens the app the way you will: signed in, on its sample data, with items in the cart and an address saved. It measures every screen (text that is squeezed or cut off, prices that show as 0, a checkout that does not match the cart, your colours missing) and looks at a picture of each one. What it finds goes back to be fixed, and the fix is looked at again. Anything still wrong is listed in the build's story.

The colours you name in your description ("orange and black on white", "navy and gold") are fixed for the whole app.

Apps people order, book and pay in

When your description has a cart or a checkout, Chirai gives the app one cart that every screen shares: what is added on an item's page is what the cart shows and what checkout charges, with the same total everywhere, and it is still there when the app is opened again. An item's page has its photo, price, the choices you listed (each one changes the price as it is ticked), a quantity and an Add button. Checkout asks for a full address, including the PIN code or postcode, before an order can be placed. Checkout and order tracking open from the step before them, not from the tab bar.

If you choose sign-in with a phone number and a code, the app gets that screen. Codes are sent once an SMS service is connected for your app; until then people sign in with email.

Test it as a real app first

Choose A test app for your phone before you publish:

  • Android, Chirai makes an app file (APK) you install from a link or QR code. No store account needed.
  • iPhone, Apple doesn't allow an install file, so the test goes to TestFlight, Apple's testing app. It needs your Apple Developer account connected; you then install it from the TestFlight app on your iPhone. Only you see it, there's no review, and a test build works for 90 days.

What you need to publish

AccountCostUsed for
Expo (EAS)Free tier availableBuilding the app files: required for any build
Google Play ConsoleUS$25 oncePublishing on Android
Apple Developer ProgramUS$99 a yearPublishing on iPhone

Connect them in the Studio's store settings: an Expo token; "Connect with Google" for Play; and for Apple an App Store Connect API key (Issuer ID, Key ID and the .p8 file, with Admin access) plus your Team ID.

The store questionnaire

Before a build is spent, Chirai asks what the stores require: what makes your app different, who it's for, a support email, a contact for Apple's reviewers, what personal data it collects, age-rating questions, and whether it uses custom encryption. From your answers Chirai writes the store listing and a privacy policy page, and takes real screenshots of your app.

The app is checked against the stores' common rejection reasons before building; a serious problem stops the build so you don't waste one.

Building

Builds run in Expo's cloud and usually take 15–20 minutes, longer when Expo's queue is busy. You can close the Studio.

Google Play

Chirai uploads the app to the internal testing track and fills in the listing and screenshots. Things only you can do, with copy-ready answers in the Studio's guide:

  1. Create the app in Play Console once (the guide gives every field). Chirai then uploads the build by itself; on some accounts Google still wants the very first file uploaded by hand, and the guide shows how if that happens.
  2. Answer the App content questions, including Data safety.
  3. Move to production. In the guide, Move to closed testing and Send to production do the move for you; later versions go to the same track automatically. New personal developer accounts must first run a closed test with at least 12 testers for 14 days and apply for production in Play Console, a Google rule. The guide gives you the link and a message to send your testers, counts the days, emails you when the 14 days are over, and drafts the answers for the application. If Google isn't ready yet, the guide says why in plain words.

App Store

Chirai registers the app, signs and uploads the build to TestFlight, adds the iPhone screenshots, category, age rating and reviewer contact, and sends it for review. If your app has sign-in, Chirai makes a reviewer account on your app and gives it to Apple (and shows it for Google Play's App access), because "no test login" is a common reason reviews stop. You also get Apple's TestFlight invite by email to install the app on your own iPhone right away. Things only you can do:

  1. Create the app record in App Store Connect once (the guide gives the exact name, bundle ID and SKU; Chirai notices and continues).
  2. Answer App Privacy, Apple doesn't allow this through its API. If it's missing, the guide says what Apple still needs; once you've answered, Chirai sends the app for review by itself within about 10 minutes.

After you send it

Chirai follows each app: Apple's review (waiting, in review, approved, rejected, live) every 10 minutes and your Google Play track every hour. The publishing guide shows where it stands, and you get an email when Apple approves or rejects it. After a rejection, paste Apple's or Google's message into the guide's question box: Chirai says what it means and what to change; then publish again. A new iOS release gets the next version number by itself.

Help along the way

  • Walk-through videos. Every step you do by hand has a short animated video in the guide.
  • Store readiness. The guide shows a score and what in the app the stores usually send back, before you spend a build.
  • Brand kit. One download with your app's icon, splash screen, colours and store pictures.
  • Share, once the app is live, the guide shows its store link and a QR code.
  • Store rule changes, when Apple or Google change what they accept, the guide tells you if your app needs publishing again; Chirai rebuilds it on the current base by itself.
TipStuck on a store step? The Studio's publishing guide has an "Ask anything about publishing" box.