Skip to main content
Momentic tests run against the native build of your app, not your source framework. It drives the rendered iOS and Android UI through the accessibility layer, so any framework that produces a native iOS .app and an Android .apk works: React Native, Expo, Flutter, NativeScript, Capacitor, and others. There is no React-Native-specific or Flutter-specific setup; you build the same artifacts a store release would use, then follow the iOS and Android quickstarts.
A cross-platform app is two targets to Momentic: an iOS app and an Android app. Set each up once with the platform quickstart, then write tests against either. Tests authored against the rendered UI are usually portable across both.

What Momentic needs

The artifact format is the only requirement. How you produce it depends on your framework below. For packaging details and signing notes, see iOS app setup and Android app setup.

React Native

React Native projects contain standard native ios/ and android/ projects, so you build them the same way as any native app.
  • iOS: open ios/<YourApp>.xcworkspace in Xcode and use Product, then Build For, then Testing to produce a Simulator .app. See iOS app setup.
  • Android: build an APK from the android/ project:

Expo

Expo apps need the native projects generated before you can build them.
  • Generate the native projects with prebuild:
    Then build with Xcode / Gradle exactly as in the React Native section.
  • Or build with EAS Build. Use a build profile that targets the iOS Simulator so you get a .app (a device build produces an .ipa, which simulators can’t install):

Flutter

Flutter builds the native artifacts directly:

Other frameworks

Any toolchain that emits an iOS Simulator .app and an Android .apk works the same way: point Momentic at the artifact. If your framework only documents device (.ipa) builds, produce a Simulator build instead, or reach out to the Momentic team.

Next steps

iOS quickstart

Upload your .app, run your first iOS test

Android quickstart

Upload your .apk, run your first Android test