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

# FAQs

> Answers to common questions about Patch, licensing, Expo, CodePush, self-hosting, and Codemagic-hosted Patch.

Short answers to common questions. For setup steps and deeper topics, follow the links.

## What is Codemagic Patch?

  <TabItem value="react-native" label="React Native">

Self-hosted over-the-air (OTA) updates for React Native. You run the server, publish JS bundle updates with the CLI or dashboard, and installed apps pull those updates through the Patch SDK. Codemagic can also host the server for you. See [How it works](/docs/introduction/how-it-works) and [Pricing](/docs/introduction/pricing#hosted-by-codemagic).

  </TabItem>
  <TabItem value="capacitor" label="Capacitor">

Self-hosted over-the-air (OTA) updates for Capacitor and Ionic apps. You run the server, publish web asset updates with the CLI or dashboard, and installed apps download them through the Capacitor SDK. Codemagic can also host the server for you. See [How it works](/docs/introduction/how-it-works) and [Pricing](/docs/introduction/pricing#hosted-by-codemagic).

  </TabItem>
</SdkTabs>

## Do I need Codemagic CI?

No. Patch works with any CI (GitHub Actions, Bitrise, your laptop). Codemagic is the vendor behind Patch, not a required platform. See [CI integration](/docs/using-patch/ci-integration).

## Is Patch free?

You can self-host under the [Codemagic Server License](https://github.com/codemagic-ci-cd/codemagic-patch/blob/main/LICENSE) at no charge while you stay at or below one million monthly active users. Above that, you need a commercial license from Codemagic. Codemagic-hosted Patch has its own free tier and rates; see [Pricing](/docs/introduction/pricing).

## How is Patch different from CodePush forks?

  <TabItem value="react-native" label="React Native">

CodePush forks keep the familiar apps, deployments, and `release-react`-style flows, as hosted SaaS or a self-hosted CodePush-compatible server. Patch is a separate product with its own API, CDN-oriented manifests, dashboard, and metrics. You can self-host it or ask Codemagic to host it. See [Comparison](/docs/introduction/comparison#vs-codepush-forks) or [Migrating from CodePush](/docs/migration/migrating-from-codepush).

  </TabItem>
  <TabItem value="capacitor" label="Capacitor">

CodePush-compatible clients support React Native only. For Capacitor apps, see the comparison with Appflow Live Updates in [How Patch compares](/docs/introduction/comparison-capacitor), or [Migrating from Appflow](/docs/migration/migrating-from-appflow).

  </TabItem>
</SdkTabs>

## Does Patch work with Expo?

  <TabItem value="react-native" label="React Native">

Yes. Patch supports bare React Native and Expo projects (including the prebuild plugin). You point the SDK at your Patch server instead of EAS Update. See [Migrating from Expo Updates](/docs/migration/migrating-from-expo-updates).

  </TabItem>
  <TabItem value="capacitor" label="Capacitor">

Expo is a React Native toolchain and does not apply to Capacitor apps. To set up a Capacitor or Ionic app, see [Native setup](/docs/setup/native-setup-capacitor). If you use Appflow Live Updates, see [Migrating from Appflow](/docs/migration/migrating-from-appflow).

  </TabItem>
</SdkTabs>

## What can I ship over the air?

  <TabItem value="react-native" label="React Native">

JavaScript, React components, and bundled assets that stay compatible with the native binary already on the device. Native code changes, new permissions, and SDK upgrades still need a store release. See [Core concepts](/docs/introduction/core-concepts#javascript-layer-vs-native-layer).

  </TabItem>
  <TabItem value="capacitor" label="Capacitor">

The contents of `webDir` (HTML, JS, CSS, and images), as long as they remain compatible with the native binary on the device. New Capacitor plugins, native configuration changes, and permission changes require a store release. See [Core concepts](/docs/introduction/core-concepts#javascript-layer-vs-native-layer).

  </TabItem>
</SdkTabs>

## Do users need to update from the app store for every release?

  <TabItem value="react-native" label="React Native">

Only when the native layer changed. Routine JS fixes and UI updates can roll out OTA; the SDK checks your server on launch or resume. Users typically restart the app to apply the new bundle.

  </TabItem>
  <TabItem value="capacitor" label="Capacitor">

Only when the native layer changes. Web fixes and UI updates can ship over the air. The SDK checks for updates on launch or resume and, by default, applies them on the next restart.

  </TabItem>
</SdkTabs>

## Do I have to run my own server?

No. Self-hosting is the primary path in these docs, but Codemagic can host Patch for you. See [Pricing](/docs/introduction/pricing#hosted-by-codemagic) or email [sales@codemagic.io](mailto:sales@codemagic.io).

To self-host: try locally with [Local quickstart](/docs/local-quickstart), or deploy for production with [Install](/docs/install) (a host with Docker, two hostnames, and a GitHub, Bitbucket Cloud, or GitLab OAuth app).

## Where do bundles get downloaded from?

The SDK reads manifests and downloads bundles from your **storage domain** (or a CDN in front of it), not from the API. The API is the control plane for publishing, auth, and metrics. See [How it works](/docs/introduction/how-it-works).

## Can Staging and Production use different sync behavior?

Yes, but only on the **client**, not from the server. `installMode` and related options are set in your app code. The usual approach is separate native builds (Staging key vs Production key) and branch `sync()` options by build flavor. See [Preparing for production](/docs/using-patch/preparing-for-production#3-tune-client-sync-by-build).

## Is there an MCP?

No. The CLI is built for agents (`--format json`, non-interactive flags), so a coding agent only needs the [Patch skill](/docs/#install-the-patch-skill). That skill knows when to run which commands and when to read these docs.

## Something isn't working. Where do I start?

Check [Troubleshooting](/docs/troubleshooting) for `cmpatch doctor`, log commands, and common failure modes (version targeting, SDK integration, bundle errors).
