capacitor-plugin-upgrade-v6-to-v7
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Capacitor Plugin Upgrade v6 to v7
Move a plugin library to Capacitor 7. Source of truth: https://capacitorjs.com/docs/updating/plugins/7-0
When to Use
- Snapshot shows
@capacitor/core6.x and the plugin must work in Capacitor 7 apps. - Plugin code still calls
call.success(),call.error(),registerWebPlugin,Capacitor.platform,Capacitor.isNative, or usesBridgeFragment. Package.swiftpointscapacitor-swift-pmatbranch: "main".
Do not use:
- Upgrading an app ->
capacitor-app-upgrade-v6-to-v7. - Plugin on 5.x ->
capacitor-plugin-upgrade-v5-to-v6first; on 7.x ->capacitor-plugin-upgrade-v7-to-v8. Multi-hop ->capacitor-plugin-upgrades. - Adding SPM from scratch ->
capacitor-plugin-spm-support.