What problem does it solve?
This guide removes uncertainty and reduces build breaks when upgrading Capacitor plugins across major versions by providing step-by-step, version-specific migration instructions and verification steps.
Core Features & Use Cases
- Sequential Major Upgrades: Walks through each intermediate major version upgrade (4→5→6→7→8) and enforces applying migrations in order to avoid compatibility issues.
- Platform-specific Guidance: Covers Android changes (SDK targets, Gradle plugin and wrapper, Java/Kotlin versions, Gradle property syntax) and iOS changes (deployment targets, CocoaPods and SPM adjustments).
- Automated and Manual Paths: Recommends official migration tools when available and supplies manual fallback instructions plus error handling and verification commands.
- Use Case: Plugin maintainers who need to migrate an existing Capacitor plugin repository to a newer major Capacitor version while ensuring builds and tests continue to pass.
Quick Start
Ask the agent to detect the plugin's current @capacitor/core major version and perform sequential upgrades to the requested target, running installs, cap sync, and builds to verify each step.