capacitor-app-upgrade-v4-to-v5
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Capacitor App Upgrade v4 to v5
Move a Capacitor 4 app to Capacitor 5. Source of truth: https://capacitorjs.com/docs/updating/5-0
When to Use
@capacitor/corein the snapshot below is4.xand the user wants5.x.- Android build fails after bumping to Capacitor 5 with
Namespace not specified, a Java 11 vs 17 mismatch, or AGP 8 errors. - The user asks for the exact 4 -> 5 checklist for iOS, Android, or official plugins.
Do not use:
- App on 5.x or later ->
capacitor-app-upgrade-v5-to-v6(then v6-to-v7, v7-to-v8). Multi-hop planning ->capacitor-app-upgrades. - Upgrading a plugin library ->
capacitor-plugin-upgrade-v4-to-v5. - App on 3.x -> upgrade to 4 first (
npx cap migratein 5.x refuses projects below 4).