.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
| Platform | Artifact | Used by |
|---|---|---|
| iOS | A Simulator .app bundle (not a device/.ipa build) | Local and remote simulators |
| Android | An .apk | Local and remote emulators |
React Native
React Native projects contain standard nativeios/ and android/ projects, so
you build them the same way as any native app.
-
iOS: open
ios/<YourApp>.xcworkspacein 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 testAndroid quickstart
Upload your
.apk, run your first Android test