Software Development
Capacitor Plugin Upgrade V4 To V5
Upgrades a Capacitor plugin library from v4 to v5 using `npx @capacitor/plugin-migration-v4-to-v5@latest`, then the manual checklist - `@capacitor/*` dev deps to `latest-5`, compile/target SDK 33 defaults, AGP 8.0.0, Gradle 8.0.2, `namespace` in build.gradle instead of manifest `package`, Java 17, Jetifier removal, Kotlin 1.8.20 with `kotlin-stdlib`, plus code changes - `CAPBridgedPlugin` requirements moved to instance level (`pluginId` -> `identifier`, `pluginMethods` typed `[CAPPluginMethod]`) and Android `PluginCall.getObject()` / `getArray()` may return null. Use when a plugin's peer dependency is Capacitor 4 and it must support 5, or apps on v5 fail with "Namespace not specified" in the plugin module. Do not use for app upgrades, other major versions, or non-Capacitor libraries.
- Publisher / source
- Cap-go/capgo-skills (found on skills.sh, an awesome list, the CSV list)
- Upstream record
- Cap-go/capgo-skills
- Version
- Version 3
- Published
- Publication review
- Approved for publication
- Content fingerprint
e949e717fb9422c670d072f278505eb86d5a2f5e9f4553d4deb41978e8827cef