Apps

The kinds of app you can host on Oalo, how to create one, preview versus production URLs, what comes built in, and how a native mobile build ships.

An app is anything you host on Oalo: a web app, a mobile app, or a backend server. Describe what you want and the builder generates a real, working project, or bring code you already have. Every app is backed by the same live data layer, so web and mobile apps work offline and update in real time, and the platform services (accounts, payments, messaging, chatbots, automation) are already wired in. See what-is-oalo.md for the bigger picture.

The kinds of app

Oalo hosts web apps, mobile apps, and backend servers. Start a new one from one of four types:

  • Web app. A React web app. This is the default.
  • Native mobile app. A Flutter app that builds to native iOS and Android.
  • Mobile app (React Native). An Expo app, if you prefer React Native.
  • Backend. A server with an API. A new one starts in Node, Python or Elixir. One you bring can be in almost any language (see live-server-apps.md).

A chatbot is not an app type. It attaches to any app (see building-a-chatbot.md). You can also start a web app by importing a design from Figma.

Already have the code? Bring it instead of starting fresh: from the repo's folder, oalo deploy --new makes it an app with its history kept. Oalo works out what kind of app it is. See bring-your-repo.md.

Creating an app

When you create an app, Oalo scaffolds a real project for it, gives it its own source repository, and starts a preview. The app is briefly in a setup state and then shows as running once its preview is live, usually within a minute. If you do not name a slug, one is made from the app's name.

Preview and production URLs

Each app has two web addresses:

  • Preview is your working copy, at dev-<slug>-<you>.oalo.ai. It updates as you build, so it is where you check your changes.
  • Production is the released version your customers use, at <slug>-<you>.oalo.ai. It stays put until you publish an update.

You can also attach your own custom domain to the production app.

What comes built into every app

You never wire these up by hand. They are part of the platform, sharing one synced source of truth:

  • Data sync: an offline-first database on the device, mirrored to the server (see sync-overview.md).
  • Accounts: email sign-in for your end users. One account per email covers every app in your workspace (see auth.md).
  • Payments: sell products and subscriptions and gate premium content (see commerce.md).
  • Chatbots, automation, and messaging: attach a bot, run loops and flows, and reach people on WhatsApp and other channels.

Restarting the preview

If a preview goes stale, or after you change the app's dependencies, restart its preview server. This restarts only the running preview. It does not touch your source code or your data.

API keys and settings

Give an app its API keys and settings as environment variables with oalo env, separately for the preview and the live app. Server apps receive every variable; static apps receive only public ones, since their code runs in the visitor's browser. See app-environment.md.

Shipping a native mobile app

When your mobile app is ready, you start a store build from the app's Native Build tab in the dashboard, or with oalo build (oalo build --download waits and saves the files where you run it). Oalo tags the app's repository, generates the native iOS and Android projects, and drives the build service for you (Codemagic for Flutter, EAS for Expo), using your signing credentials automatically, so there is nothing to set up in a build console. One build makes both files: an .ipa for the App Store and an .aab for Google Play. oalo deploy updates the app's web preview only; it never makes a store build.

The files are private. They're kept on your Base, not at a public address. The Native Build tab and oalo build status hand out download links that last an hour; ask again for fresh ones. One build of an app runs at a time, and each build raises the version code by one.

Expo apps build with your own Expo account. Before your first Expo build, create an access token on expo.dev (Account settings, Access tokens, or a robot user's token in your Expo organization) and paste it in Integrations, on the Expo tab. The token is used for every Expo app in your workspace and is never shown again; you can replace or remove it there. Link each app to its EAS project in its Native Build tab, under Native setup, "EAS project link": the owner and project ID of an expo.dev project whose slug is the app's slug (or the ones eas init prints). A new app's template slug app is replaced with the app's own slug when it builds, so each app has its own EAS project. Without it, an Expo build is refused with a message saying how to add it. Oalo never builds your app with its own Expo account. The build runs in your app's own container, where the only credential is your token.

Flutter builds read only your app's repository. Codemagic clones each app's repository with a key made for that one repository, read-only, created at the app's first build. It can't read any other app's code. Deleting the app removes the key, and with it the app's signing files (certificate key, keystore and passwords) stored on Oalo. Each app also has its own secret for fetching its signing files during a build, so one app's build can never fetch another's.

Your own codemagic.yaml or eas.json is used as is. Oalo adds its own only when your repository has none, and never changes yours; the app's log says when yours was used. Oalo's build needs a few things in it: for codemagic.yaml, a workflow with the id platform-flutter-build whose last step runs python3 build_scripts/export_artifacts.py $CM_TAG (that step uploads the files and reports the build back); for eas.json, a build.production profile. If yours lacks one, the build is refused with exactly what to add, or you can delete your file to use Oalo's.

An Expo build finishes on EAS. Oalo checks on it every few minutes, and when it's done copies the files from Expo onto your Base, so they're downloaded the same way as a Flutter build's. If it fails, the build shows EAS's error.

A build makes each platform whose signing is set up. The Native Build tab's pre-flight lists what iOS and Android still need; one that isn't ready is left out of the build (Oalo never makes a debug-signed Android bundle, which Play refuses).

Watch apps, Wear OS, and other platforms are declared in the repo's .oalo/app.json and developed on your own machine (the dashboard can't preview a watch), then sent with oalo deploy like any change:

{"targets": {"watchos": {"scheme": "Watch"}, "wearos": {"module": "wear"}, "external": ["garmin"]}}
  • watchos: a Flutter app's watch app, added in Xcode to the iOS project as a "Watch App for Existing iOS App" so it's embedded in the iOS app. Its bundle id is the app's plus .watchkitapp (change it with bundle_suffix). Once it's declared, "Set up the watch app's signing" in the Native Build tab makes that bundle id and its profile on Apple. It ships inside the .ipa.
  • wearos: a Wear OS app, the Gradle module in android/ (default wear). Each build makes it its own -wear.aab with the phone app's package and upload key and a version code of its own, for the Wear OS track in Play Console.
  • external: platforms built elsewhere, like a Garmin watch face or a macOS app. Build them your own way, then oalo build upload <file> --target garmin keeps the file with the app's latest build (or --build <id>), with the same one-hour download links. They reach your app's data the same way any client does (see connect-your-own-frontend.md).

Sending the files to the stores is yours to do; Oalo doesn't upload them. For iOS, open the .ipa in Apple's Transporter app and Deliver it to App Store Connect (or use xcrun altool --upload-app with an App Store Connect API key). For Android, in Google Play Console open the app, choose a testing track or Production, create a release, and upload the .aab.

For the App Store and Play Store, Oalo has tools to set up what a store needs: a bundle id, signing certificate, and provisioning profile, plus in-app purchases and subscriptions you can submit for review. Run a first build well before a release date, so signing or store setup issues surface early.

Start with Oalo

Your own Base, with every feature, from $99 a month.

get started