Capacitor packages
Patch @capacitor/core, @capacitor/android, @capacitor/ios, and third-party Capacitor plugins under node_modules.
@capgo/capacitor-patch is a hook-only Capacitor package that applies selected patch files whenever Capacitor runs sync or update.
It is built for fixes that are useful before they land in an official Capacitor release. The bundled catalog tracks external upstream Capacitor PRs mirrored by Capacitor+ sync/upstream-pr-* branches.
Capacitor packages
Patch @capacitor/core, @capacitor/android, @capacitor/ios, and third-party Capacitor plugins under node_modules.
Capacitor CLI
Patch shipped CLI JavaScript files. When a CLI patch is applied, the next cap command uses the patched code.
Native projects
Apply generated Android or iOS project patches after cap sync or cap update.
Safe selection
Version ranges, idempotency checks, and strict mode help prevent stale patches from applying silently.
Patches are opt-in by default. List the shipped catalog, pick the patch IDs your app needs, and add them to plugins.CapacitorPatch.patches.
Each catalog entry includes:
Use @capgo/capacitor-patch when:
For a full catalog and contribution guide, see the capacitor-patch repository.
If you are using @capgo/capacitor-patch to plan native plugin work, connect it with Using @capgo/capacitor-patch for the native capability in Using @capgo/capacitor-patch, Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins, and Ionic Enterprise Plugin Alternatives for the product workflow in Ionic Enterprise Plugin Alternatives.