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.