skills/ionic-enterprise-sdk-migration/SKILL.md
Guides the agent through migrating Capacitor apps from discontinued Ionic Enterprise SDK plugins (Auth Connect, Identity Vault, Secure Storage) to their Capawesome alternatives (OAuth, Vault, Biometrics, Secure Preferences, SQLite). Covers dependency detection, side-by-side API mapping, code replacement, and platform-specific configuration for each plugin pair. Do not use for migrating Capacitor apps or plugins to a newer version, setting up Capawesome Cloud, or non-Capacitor mobile frameworks.
npx skillsauth add capawesome-team/skills ionic-enterprise-sdk-migrationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Migrate Capacitor apps from discontinued Ionic Enterprise SDK plugins to Capawesome alternatives.
| Ionic Enterprise Plugin | Package | Capawesome Replacement | Package(s) |
| ----------------------- | ------- | ---------------------- | ---------- |
| Auth Connect | @ionic-enterprise/auth | OAuth | @capawesome-team/capacitor-oauth |
| Identity Vault | @ionic-enterprise/identity-vault | Vault (+ Biometrics) | @capawesome-team/capacitor-vault (+ @capawesome-team/capacitor-biometrics) |
| Secure Storage (key-value) | @ionic-enterprise/secure-storage | Secure Preferences | @capawesome-team/capacitor-secure-preferences |
| Secure Storage (SQLite) | @ionic-enterprise/secure-storage | SQLite | @capawesome-team/capacitor-sqlite |
All Capawesome replacement plugins require a Capawesome Insiders license.
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) in this skill.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.
If multiple are found, list them and ask the user which to migrate first, or migrate all sequentially.
Check if the @capawesome-team npm registry is already configured:
npm config get @capawesome-team:registry
If not configured, guide the user through setup:
npm config set @capawesome-team:registry https://npm.registry.capawesome.io
npm config set //npm.registry.capawesome.io/:_authToken <YOUR_LICENSE_KEY>
Ask the user for their license key if needed. Wait for confirmation before continuing.
For each detected Ionic Enterprise plugin, read the corresponding reference file and follow the migration steps:
references/auth-connect-migration.mdreferences/identity-vault-migration.md. Before changing code, ask the user whether they want 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 immediately). The chosen strategy changes which steps run — see the strategy section in the reference file.references/secure-storage-migration.mdEach reference file contains:
For plugin installation and platform-specific configuration (Android permissions, iOS plist entries, Proguard rules, etc.), use the capacitor-plugins skill.
After completing all migrations, search the codebase for any remaining Ionic Enterprise imports:
grep -r "@ionic-enterprise" --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx"
If any are found, replace them with the corresponding Capawesome imports.
package.json:npm uninstall @ionic-enterprise/auth @ionic-enterprise/identity-vault @ionic-enterprise/secure-storage
Only uninstall packages that were actually installed.
Identity Vault exception (preserve-data strategy): If the user chose to preserve existing data, do not uninstall
@ionic-enterprise/identity-vaulthere. It can only export the old data while both plugins are installed, so it stays until the runtime data migration has shipped and run on devices, then is removed in a later release (see steps 2 and 9 inreferences/identity-vault-migration.md). For a hard cutover, Identity Vault was already uninstalled during its migration.
npx cap sync
npm install fails with a 404 or authentication error for @capawesome-team/* packages, verify the npm registry is configured correctly (Step 2).lockAfterBackgrounded option and lock/unlock event listeners, which map closely to Identity Vault's lockAfterBackgrounded, onLock, and onUnlock. Custom-passcode vaults have no direct equivalent and must be rebuilt with application logic. See references/identity-vault-migration.md.capacitor-plugins skill reference.localStorage on the web. This is for development only and should not be used in production.capacitor-plugins — Referenced throughout this skill for plugin installation and platform configuration.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.tools
A comprehensive starting point for AI agents to work with the Ionic Framework. Covers core concepts, components, CLI, theming, layout, lifecycle, navigation, and framework-specific patterns for Angular, React, and Vue. Pair with the other Ionic skills in this collection for deeper topic-specific guidance like app creation, framework integration, and upgrades.
tools
Guides the agent through setting up and using Capawesome Cloud for Capacitor and Cordova apps. Covers three core workflows: (1) Native Builds — cloud builds for iOS and Android (Capacitor, Cordova, or native projects), signing certificates, environments, Trapeze configuration, and build artifacts; (2) Live Updates — OTA updates via the @capawesome/capacitor-live-update or @capawesome/cordova-live-update plugin, channels, versioning, rollbacks, and code signing; (3) App Store Publishing — automated submissions to Apple App Store (TestFlight) and Google Play Store. Includes CI/CD integration for all workflows. Do not use for non-Capacitor, non-Cordova mobile frameworks such as React Native or Flutter.
tools
Guides the agent through installing, authenticating, configuring, and using the Capawesome CLI (@capawesome/cli). Covers installation, interactive and token-based authentication, project linking via capawesome.config.json, the full command reference (app management, native builds, live updates, certificates, environments, channels, deployments, destinations, devices), CI/CD integration with token auth and JSON output, and diagnostics via the doctor command. Do not use for Capawesome Cloud feature setup (native builds workflow, live updates workflow, app store publishing) — use the capawesome-cloud skill instead.
tools
A comprehensive starting point for AI agents to work with Capacitor. Covers core concepts, CLI, app creation, plugins, framework integration, best practices, storage, security, testing, troubleshooting, upgrading, and Capawesome Cloud (live updates, native builds, app store publishing). Pair with the other Capacitor skills in this collection for deeper topic-specific guidance.