> ## Documentation Index
> Fetch the complete documentation index at: https://docs.median.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Build and test overview

> Build, test, and debug your Median app with App Studio simulators, browser dev tools, physical devices, and platform diagnostic tools.

Building and testing your Median app is the path from configuration to deployment. This section covers how to use Median App Studio, development tools, and platform-specific build and deployment workflows so you can run your app on simulators and devices and publish to the App Store and Google Play.

## Related documentation

> [card] [Median App Studio](https://docs.median.co/docs/app-studio.md)
>
> Use the cloud-based App Studio to configure your app, preview changes in
> browser simulators, and manage builds without installing Xcode or Android
> Studio.

> [card] [Device installation](https://docs.median.co/docs/install-ios-ipa.md)
>
> Install development builds on physical devices, use TestFlight for iOS
> distribution builds, and download Android APKs for testing.

> [card] [Debug tools](https://docs.median.co/docs/debug-tools)
>
> Debug and optimize your web experience with browser dev tools, inspect
> network and console, and use Median's developer resources for testing app
> behavior.

> [card] [iOS build and deployment](https://docs.median.co/docs/ios-build-deployment)
>
> Build iOS binaries (IPA), configure signing, connect to App Store Connect,
> register test devices, upload to TestFlight, and publish to the App Store.

> [card] [Android build and deployment](https://docs.median.co/docs/android-build-deployment)
>
> Build Android APKs and AABs, install on devices, connect Android Studio
> simulators to localhost, and upload to Google Play.

> [card] [App configuration and management](https://docs.median.co/docs/app-configuration-management)
>
> Manage app identifiers, app configuration (appconfig.json), Google Services,
> backup, multiple app instances, and CI/CD integration.

## What to test

Median apps are composed of web content, native UI elements, and native functionality (such as haptics or biometrics) or SDK integrations from plugins. Test across these areas before release:

### UI and UX

Validate the app interface and user experience across device types, orientations, and OS versions. Typical test cases include navigation, [link handling](https://docs.median.co/docs/link-handling-overview.md), [deep linking](https://docs.median.co/docs/deep-linking), accessibility, and offline behavior.

### App performance

App performance is strongly correlated to your web experience. Optimize site speed and remediate bottlenecks in JavaScript, images, and embedded functionality. You can also gain performance by using [Native Navigation](https://docs.median.co/docs/native-navigation-overview.md) instead of web-delivered menus, and by leveraging native SDKs from third-party vendors.

**Performance analysis tools:**

* [SpeedSense](https://www.speedsense.com/)
* [Pingdom](https://tools.pingdom.com/)
* [PageSpeed Insights](https://pagespeed.web.dev/)

For strategies on improving webview app speed, see the [Median blog on speed and performance](https://median.co/blog/how-to-increase-the-speed-and-performance-of-a-webview-app).

### Native device features

Features like [Haptics](https://docs.median.co/docs/haptics.md), [Biometrics](https://docs.median.co/docs/auth), or [In-App Purchases](https://docs.median.co/docs/iap) require testing on physical devices and cannot be fully simulated in a browser or virtual device.

### Plugin configuration

Validate plugin configuration using [median.dev](https://median.dev) demos or diagnostic tools. Median offers Solution Architecture and Engineering services to advise on plugin implementation. Diagnostic tools can help access log files for troubleshooting with our team or third-party vendors.

## Testing and development tools

### App Studio simulators

Cloud-based virtual devices in [Median App Studio](https://docs.median.co/docs/app-studio.md) let you quickly test configuration changes in a browser. You can switch between devices, operating systems, and orientations.

> [!NOTE]
>
> **Simulator limitations** Some native device functionality and third-party
> SDKs integrated through plugins cannot be tested in simulators. We highlight
> those cases in the documentation with a warning label.

### Browser development tools

Use your browser's dev tools to inspect, debug, and optimize your web experience: viewport, user agent, console, and network requests. See [Development tools](https://docs.median.co/docs/debug-tools) for details and links to [Chrome DevTools](https://developer.chrome.com/docs/devtools), [Safari Web Development Tools](https://developer.apple.com/safari/tools/), and [Microsoft Edge DevTools](https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/landing/).

### Developer demos

[median.dev](https://median.dev) provides demos for JavaScript Bridge functionality and many app features. During development, you can replace the Website URL with a demo page URL on the Overview tab and create a new build. In production, add a link to the demo on your live site. For example, hide it behind a sequence of taps (e.g. searching for specific attributes) so real users don't see it.

> [!TIP]
>
> **Test  with our demo page**
>
> We host a ready-made demo page at
>
> that calls the  features through the Median JavaScript Bridge.
> Load it inside your Median app during development, either by setting it
> as your app's website URL in App Studio or by navigating to it from your
> own site, and use it to confirm  works on a real device before
> you add it to your own pages.
>
> The demo page only works inside a Median app with  enabled.
> Opened in a regular mobile or desktop browser, the native features
> won't respond. Remember to switch your app back to your own URL before
> release.

If a demo works in your app but your own site does not: debug your page in the app using [development tools](https://docs.median.co/docs/debug-tools), inspect the demo source in your desktop browser, and recheck your JavaScript against the documentation.

### Physical device testing

Physical devices are the gold standard for testing native functionality and end-to-end flows. Distribute to devices via [Upload iOS to TestFlight](https://docs.median.co/docs/upload-ios-to-testflight.md) or [Install Android APK](https://docs.median.co/docs/install-android-apk.md).

When performing QA, you may need to uninstall older test versions:

* **Android:** [Delete, disable & manage unused apps](https://support.google.com/googleplay/topic/13627086)
* **iOS:** [Remove or delete apps from iPhone](https://support.apple.com/en-ca/guide/iphone/iph248b543ca/ios)

### `adb` and `sysdiagnose`

For in-depth logs, system information, and application metrics, use platform diagnostic tools: [Android Debug Bridge (adb)](https://developer.android.com/tools/adb) and [sysdiagnose](https://it-training.apple.com/tutorials/support/sup075/). See [Development tools](https://docs.median.co/docs/debug-tools) for more on debugging in the app.

## Choosing a testing tool

| Tool | UI / UX | Performance | Native features | Plugin config |
| - | :-: | :-: | :-: | :-: |
| App Studio simulators | | | | |
| Browser DevTools | | | | |
| Appetize debug mode | | | | |
| Physical device | | | | |
| `adb` and `sysdiagnose` | | | | |

Recommended

Limited

Not recommended

> [accordion] App Studio simulators
>
> * **UI / UX:** Switch between devices, OS versions, and orientations.
> * **Performance:** No detailed logs.
> * **Native features:** Simulators don't fully support native features.
> * **Plugin config:** Shows high-level information only.

> [accordion] Browser DevTools
>
> * **UI / UX:** Limited to changing the user agent and viewport.
> * **Performance:** Best for analyzing web assets.
> * **Native features:** Native features can't be tested in a browser.
> * **Plugin config:** Console output only.

> [accordion] Appetize debug mode
>
> * **UI / UX:** Switch between devices, OS versions, and orientations.
> * **Performance:** Network logs are available.
> * **Native features:** Simulators don't fully support native features.
> * **Plugin config:** Device logs help validate plugin behavior.

> [accordion] Physical device
>
> * **UI / UX and performance:** Coverage depends on maintaining a suite of test devices.
> * **Native features:** Required to test native features.
> * **Plugin config:** The fastest way to validate plugins.

> [accordion] adb and sysdiagnose
>
> * **UI / UX:** Not suited to visual testing.
> * **Performance:** Detailed metrics and performance analysis.
> * **Native features:** Logs and error codes.
> * **Plugin config:** Best for diagnosing SDK issues and sharing logs with vendors.

## Summary

Use **App Studio** to configure and preview your app, **development tools** and median.dev to debug and test behavior, and **iOS build and deployment** and **Android build and deployment** to produce installable builds and publish to the stores. **App configuration and management** covers identifiers, config, and CI/CD so your build pipeline stays consistent.


## Related topics

- [Quickstart guide](https://docs.median.co/docs/quickstart.md)
- [App Studio Simulators](https://docs.median.co/docs/simulators.md)
- [iOS build & deployment](https://docs.median.co/docs/ios-build-deployment.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.