Android and iOS apps
Test your app on an iPhone or an Android device: upload a build, write the test the same way, and get the same proof.
Builds#
Upload a build to the project (App builds → Upload a build, or from CI):
- Android: an
.apk(debug or release) whose native code includes both arm64-v8a and x86_64: see Android architectures. App Bundles (.aab) cannot be installed: upload an APK, or a universal APK from bundletool. - iOS: a build for the iOS Simulator, with the
.appfolder zipped (MyApp.app.zip). On a Mac, right-click the .app → Compress. - Up to 1 GB, uploaded in parts.
Each build is checked when it arrives: its package name or bundle id, version and build number, and whether our devices can run it. A build they cannot run is refused with the reason. A build that may not run on all of them is accepted with a warning, shown on the build. The newest 20 builds of each app are kept; older ones are deleted automatically unless a test is pinned to them. Up to 5 uploads can be in progress per workspace; an upload not finished within a day is cancelled.
Android architectures#
Our Android devices are emulators, and there are two kinds. A run can land on either:
- arm64 emulators, which run only arm64-v8a code.
- x86_64 emulators, which run x86_64 code directly and arm64-v8a code through translation. Translated code is slower, and some apps crash when they open: a React Native or Expo app without x86_64 code does. 32-bit code (armeabi-v7a, x86) runs on neither.
So build one APK that includes arm64-v8a and x86_64. Including is the point: do not strip the other architectures, and do not upload a per-architecture split. An app with no native code at all (plain Kotlin or Java) needs nothing.
| Your app | Command | The APK |
|---|---|---|
| React Native | cd android && ./gradlew assembleRelease -PreactNativeArchitectures=arm64-v8a,x86_64 | android/app/build/outputs/apk/release/app-release.apk |
| Expo (EAS) | eas build -p android --profile preview, with "android": { "buildType": "apk" } in that eas.json profile | the build's artifact link |
| Expo (local) | npx expo prebuild -p android, then the React Native command | as React Native |
| Flutter | flutter build apk --target-platform android-arm64,android-x64 | build/app/outputs/flutter-apk/app-release.apk |
| Native (Gradle) | ./gradlew assembleDebug, with ndk { abiFilters += listOf("arm64-v8a", "x86_64") } if you filter architectures | app/build/outputs/apk/debug/app-debug.apk |
A React Native or Expo release build has its JavaScript inside the APK, so it runs without Metro. A debug build expects a Metro server on your computer, which our devices cannot reach: upload the release build (assembleRelease), signed with any key, the debug key included.
What the check does with each build:
| The APK's native code | Result |
|---|---|
| arm64-v8a and x86_64, or none | accepted |
| arm64-v8a without x86_64 | React Native and Expo: refused. Others: accepted with a warning |
| no arm64-v8a (x86_64 only, 32-bit only) | refused |
Write the test#
In New test, choose Android app or iPhone app, pick the app, and describe the test as for a website: "Sign in with the stored account \"customer\" and check the home screen greets them by first name." There is no start address: the run starts in the app, with fresh app data each run.
Phone or tablet, and the OS version#
Under the app, Runs on shows the device (iPhone or iPad, Android phone or tablet), the OS version and the orientation the run starts in; change any of them. A new test starts on a phone with the latest version, which is marked *(latest)*:
- iOS: 27, 26, 18, 17 (the first is the latest)
- Android: 16 to 10 (the first is the latest)
The version is saved with the test, so it keeps running on it until you change it. Each result says what it ran on, for example *iPad · iOS 26*. To try one run on another device without changing the test, pass device, osVersion or orientation when you start it from the API or MCP, the CLI (--device, --os-version) or CI. list_devices (GET /api/v1/devices, or testsy-ai devices) lists what is offered. A run on another device explores instead of replaying the learned path, since a learned path belongs to the saved device.
Orientation#
By default a run starts the device its own way: phones and iPads upright, Android tablets on their side. Choose Portrait or Landscape on the Runs on line to start it turned, and the whole run, its screenshots and its video follow that shape. A test can also rotate the device while it runs, in its own words ("rotate the phone to landscape and check the list is still shown"); the result records the orientation at each step.
A test runs its app's newest build unless it pins one (Always a chosen version), or uses a build link downloaded on every run. Two phones gives a run a second phone, for tests where two people use the app. With two phones, both are phones on the default version; the device and OS version choice does not apply, and the run counts as two.
Run on a new build#
Run with a new build on a result uploads a build and runs the test on it once it is checked. In CI, testsy-ai run --build app-debug.apk uploads the build and runs the project's app tests on it.
What you get#
The same result as a website test, with the device frame, each tap drawn on the replay and the video, and the device log. App tests are included on every plan, the free trial too, and an app run counts as one run (two runs when it uses two phones).