Compiling Your App (Native Apps)
To get started with MoQuality, you need to upload your app (.apk or .ipa) by using the 'Add App' function on the Dashboard or the MoQuality CLI.
To test your Android app we require your app package as a .apk file. For this tutorial, we will assume that you have gradle set up for your Android project.
You can test on a debug build or the release build. However, it is a good idea to test on the debug build to get better error logs if your test fails.
- To build a debug APK, open a command line and navigate to the root of your project directory.
- Initiate a debug build with
gradlew assembleDebug. This creates an APK named
- The file is already signed with the debug key and aligned with zipalign, so you can immediately upload it.
To test your iOS app we require your app package as a .ipa file. To create the app package
- In the project navigator in Xcode, under Products, open the contextual menu for the file named
app-name.app. Then, choose Show in Finder. Finder opens a folder named Debug-iphoneos, which contains the output that Xcode generated for your test build. This folder includes your .app file.
- In Finder, create a new folder, and name it Payload.
- Copy the
app-name.appfile, and paste it in the Payload folder.
- Open the contextual menu for the Payload folder and choose Compress "Payload". A file named Payload.zip is created.
- Change the file name and extension of Payload.zip to
- Optionally, you can delete the Payload folder and the .app file in it.