capacitor-plugin-upgrade-v8-to-v9
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 v8 to v9
Capacitor 9 is a prerelease (next dist-tag, 9.0.0-alpha.x as of October 2026). Dependency ranges below target the prerelease; after 9.0.0 GA use ^9.0.0 / from: "9.0.0". Tell the user before publishing a stable plugin release that only supports a prerelease core; a common choice is to publish it under an npm next tag.
Canonical source: https://capacitorjs.com/docs/updating/plugins/9-0
When to Use
TRIGGER when:
- Plugin repo with
peerDependencies["@capacitor/core"]at^8or>=8and the user wants Capacitor 9 support - Plugin fails to compile against Capacitor 9 on removed APIs (
CAPBridge,@NativePlugin,saveCall,getWebView(),isSimulator()) - Plugin's
android/build.gradlefails under AGP 9 / Gradle 9 (jcenter(),kotlin-android,proguard-android.txt, namespace collision) - A consuming app without Cordova plugins fails on the plugin's
CordovaSPM product orcom.getcapacitor.cordovaimports
Do not use:
- App projects ->
capacitor-app-upgrade-v8-to-v9 - Plugin still on 7 or older ->
capacitor-plugin-upgrades(chain majors) - Adding SPM to a CocoaPods-only plugin ->
capacitor-plugin-spm-support - Only checking a plugin against the 8.5 UIScene lifecycle ->
capacitor-uiscene-migration(references/plugin-audit.md)