Bring your Capacitor 4 plugin up to version 5.
Migrates a Capacitor 4 plugin to Capacitor 5 with native configuration and API fixes.
When to use it
Use when a Capacitor 4 plugin must support Capacitor 5, or a Capacitor 5 app encounters namespace or Java 17 errors building the plugin.
Give it a Capacitor 4 plugin project; it applies the migration and manual fixes, updates the version and documentation, and verifies the builds.
What you provide
Requires Node.js 16 or newer.
Requires Xcode 14.1 or newer for the iOS work.
Requires Java 17 to run AGP 8.
This skill
npx @capacitor/plugin-migration-v4-to-v5@latest
The latest Capacitor migration