capacitor-app-upgrade-v5-to-v6
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 v5 to v6
Move a Capacitor 5 app to Capacitor 6. Source of truth: https://capacitorjs.com/docs/updating/6-0
When to Use
@capacitor/corein the snapshot below is5.xand the user wants6.x.- After upgrading: Android users lose localStorage/cookies, a local (non-npm) iOS plugin reports
"<Name>" plugin is not implemented on ios, pinch-zoom stopped working on iOS, or TypeScript errors aroundaddListener. - The user asks for the exact 5 -> 6 checklist.
Do not use:
- App on 4.x ->
capacitor-app-upgrade-v4-to-v5first. On 6.x ->capacitor-app-upgrade-v6-to-v7. Multi-hop planning ->capacitor-app-upgrades. - Plugin library upgrade ->
capacitor-plugin-upgrade-v5-to-v6. - Moving iOS from CocoaPods to SPM (experimental in 6) ->
cocoapods-to-spm.