/ionic-migrations:ionic-enterprise-sdk-migrationfrom ionic-migrations
Migrates Capacitor apps from discontinued Ionic Enterprise SDK plugins (Auth Connect, Identity Vault, Secure Storage) to Capawesome Premium SDKs (OAuth, Vault, Biometrics, Secure Preferences, SQLite). Covers dependency detection, API mapping, code replacement, and data migration.
Ships in ionic-migrations. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Migrate Capacitor apps from the discontinued Ionic Enterprise SDK plugins to their Capawesome alternatives.
Ionic stopped selling its commercial products on February 11, 2025. Auth Connect, Identity Vault, and Secure Storage reach their end of life on December 31, 2027. After that date they get no updates and no support.
The public guide for this migration is Alternatives to Ionic Enterprise Plugins. Where it disagrees with this skill, follow the guide and the plugin documentation.
| Ionic Enterprise Plugin | Package | Capawesome Replacement | Package(s) | Documentation |
|---|---|---|---|---|
| Auth Connect | @ionic-enterprise/auth | OAuth | @capawesome-team/capacitor-oauth | OAuth |
| Identity Vault | @ionic-enterprise/identity-vault | Vault (+ Biometrics) | @capawesome-team/capacitor-vault (+ @capawesome-team/capacitor-biometrics) | Vault, Biometrics |
| Secure Storage (key-value) | @ionic-enterprise/secure-storage | Secure Preferences | @capawesome-team/capacitor-secure-preferences | Secure Preferences |
| Secure Storage (SQLite) | @ionic-enterprise/secure-storage | SQLite | @capawesome-team/capacitor-sqlite | SQLite |
All Capawesome replacement plugins are Premium SDKs. Premium SDKs are part of the Capawesome Cloud plans: the Standard plan includes one Premium SDK of the customer's choice, and the Advanced plan includes all of them. The offering was called Capawesome Insiders before. Never tell the user a price. Link to the pricing page instead.
@capacitor/core in package.json is older, upgrade the app first with the capacitor-app-upgrades skill. Capacitor 9 is not covered by this skill yet.package.json for Ionic Enterprise packages before asking the user which plugins to migrate.capacitor-plugins skill for installation. Delegate plugin installation and platform configuration to the capacitor-plugins skill. Only handle migration-specific steps (uninstall, code replacement, data migration) in this skill.The Capawesome MCP server serves the current Capawesome documentation, so it is always ahead of the guidance bundled with this skill.
search_docs for the topic and read the matching page with get_doc_page before applying the guidance below. Where the two disagree, follow the documentation.claude mcp add --transport http capawesome "https://mcp.capawesome.io/mcp"
The documentation tools need no account and no token. See the capawesome-mcp skill for full setup, including the Capawesome Cloud tools.
Read package.json and check for these packages:
@ionic-enterprise/auth → Auth Connect@ionic-enterprise/identity-vault → Identity Vault@ionic-enterprise/secure-storage → Secure StorageIf none are found, inform the user that no Ionic Enterprise plugins were detected and stop.
Then find out which Premium SDKs the migration needs. Search the source files (not node_modules) for the imports:
| Found in the code | Premium SDK that is needed |
|---|---|
Any import from @ionic-enterprise/auth | OAuth |
Vault imported from @ionic-enterprise/identity-vault | Vault |
Device imported from @ionic-enterprise/identity-vault | Biometrics (in addition to Vault) |
KeyValueStorage imported from @ionic-enterprise/secure-storage | Secure Preferences |
SQLite or SQLiteObject imported from @ionic-enterprise/secure-storage | SQLite |
Check the Capacitor version (@capacitor/core in package.json). If it is below 8, stop and tell the user that the app must be upgraded first (see Prerequisites).
If more than one plugin is found, list them and ask the user which one to migrate first, or whether to migrate all of them one after the other.
The license key of an organization installs only the Premium SDKs that the organization has selected. Do these steps in this order:
capacitor-plugins skill. It sets up the registry https://npm.registry.capawesome.io for the @capawesome-team scope with the license key. Do not repeat that setup here.Wait for the user's confirmation of steps 2 and 3 before continuing. See Getting Started with Premium SDKs and License Keys.
For each detected Ionic Enterprise plugin, read the matching reference file and follow its steps:
references/auth-connect-migration.md.references/identity-vault-migration.md. Before changing code, ask the user whether to preserve existing stored data (keep both plugins installed for a transition period and migrate data at runtime) or make a hard cutover (drop the old data and switch at once). The chosen strategy changes which steps run. See the strategy section in the reference file.references/secure-storage-migration.md. Before changing code, ask the user the same question for the stored key-value data and for the database. The two answers can differ. Both parts come from one package, so the reference file says when that package may be uninstalled. See its strategy section.Each reference file contains:
For plugin installation and platform-specific configuration (Android permissions, iOS plist entries, Proguard rules, etc.), use the capacitor-plugins skill.
After all migrations, search the code base for remaining Ionic Enterprise imports. Run this in the project root:
grep -rn "@ionic-enterprise" --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" --include="*.vue" --exclude-dir=node_modules --exclude-dir=android --exclude-dir=ios .
Replace every match with the matching Capawesome import, with one exception: the copy code of the preserve-data strategy (migrateIdentityVaultData(), migrateKeyValueData(), migrateDatabase(), and the code that reads the old database). Its imports must stay as they are until the user asks for the removal.
Uninstall only the Ionic Enterprise packages that no source file imports any more. Run the search of Step 4 again. For each of these packages that is still in package.json and has no match, run npm uninstall <package>:
@ionic-enterprise/auth@ionic-enterprise/identity-vault@ionic-enterprise/secure-storagePreserve-data exception: A package with the preserve-data strategy still has a match, because its copy code imports it. It stays installed. The old plugin can only hand over the old data while both plugins are installed. NEVER delete copy code to get rid of a match. Tell the user: every device that never opens a release with the copy code loses its stored data once the copy code or the old plugin is removed. The user decides when to remove them, for example after a minimum-version check has forced all users onto the transition release. The removal is done in a later release, with the removal step of the reference file.
npx cap sync
npm install fails with 404 for a @capawesome-team/* package: The registry is not configured for the @capawesome-team scope, so npm asks the public registry. Do part 4 of Step 2.npm install fails with 401 Unauthorized and "Not authenticated.": The license key is wrong, or the organization has not selected any Premium SDK yet. Both cases give the same message. Ask the user to check the key and the selection on the Billing page (Step 2).npm install fails with 403 Forbidden and "This Premium SDK is not selected for your organization.": The user selects the SDK on the Billing page (Step 2). A Member asks an Owner, an Admin, or a Billing member.npm install fails with a peer dependency conflict on @capacitor/core: The app is not on Capacitor 8. Upgrade it first with the capacitor-app-upgrades skill.lockAfterBackgrounded option and sends lock and unlock events. These map to Identity Vault's lockAfterBackgrounded, onLock, and onUnlock. Custom passcode vaults map to VaultType.CustomPasscode, but the app passes the passcode to Vault.setPasscode() and Vault.unlock() instead of answering onPasscodeRequested. See references/identity-vault-migration.md.encryptionKey is passed to Sqlite.open(). See references/secure-storage-migration.md.localStorage on the web. This is for development only. SQLite encryption is only available on Android and iOS.capacitor-plugins: Used for plugin installation, the Premium SDK registry setup (its Step 4), and platform configuration.capacitor-app-upgrades: Upgrade the app to Capacitor 8 before this migration.ionic-appflow-migration: If the project also uses Ionic Appflow (Live Updates, Native Builds, App Store Publishing), use this skill to migrate to Capawesome Cloud.capawesome-mcp: Connect an MCP client to the hosted Capawesome MCP server for current documentation and Capawesome Cloud management.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
capacitor, ionic, capawesome, plugin-migration, enterprise-sdk
npx claudepluginhub capawesome-team/skills --plugin ionic-migrations2 skills in this plugin
Other plugins' skills for the same job