Install
$ agentstack add skill-capawesome-team-skills-ionic-enterprise-sdk-migration ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Ionic Enterprise SDK Migration
Migrate Capacitor apps from discontinued Ionic Enterprise SDK plugins to Capawesome alternatives.
Plugin Mapping
| 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.
Prerequisites
- Capacitor 6, 7, or 8 app.
- Node.js and npm installed.
- A Capawesome Insiders license key.
Agent Behavior
- Auto-detect dependencies. Scan
package.jsonfor Ionic Enterprise packages before asking the user which plugins to migrate. - One plugin at a time. Complete the full migration for one plugin before starting the next.
- Use the
capacitor-pluginsskill for installation. Delegate plugin installation and platform configuration to thecapacitor-pluginsskill. Only handle migration-specific steps (uninstall, code replacement) in this skill. - Preserve existing behavior. When replacing API calls, maintain the same functional behavior (e.g., same scopes, same stored keys, same database schema).
Procedures
Step 1: Detect Ionic Enterprise Dependencies
Read package.json and check for these packages:
@ionic-enterprise/auth→ Auth Connect@ionic-enterprise/identity-vault→ Identity Vault@ionic-enterprise/secure-storage→ Secure Storage
If 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.
Step 2: Set Up the Capawesome npm Registry
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
Ask the user for their license key if needed. Wait for confirmation before continuing.
Step 3: Migrate Each Plugin
For each detected Ionic Enterprise plugin, read the corresponding reference file and follow the migration steps:
- Auth Connect → Read
references/auth-connect-migration.md - Identity Vault → Read
references/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. - Secure Storage → Read
references/secure-storage-migration.md
Each reference file contains:
- Feature mapping table (Ionic API → Capawesome API)
- Key differences to be aware of
- Step-by-step code replacement with before/after examples
For plugin installation and platform-specific configuration (Android permissions, iOS plist entries, Proguard rules, etc.), use the capacitor-plugins skill.
Step 4: Search for Remaining Ionic Enterprise Imports
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.
Step 5: Clean Up and Verify
- Remove all Ionic Enterprise packages from
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-vault here. 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 in references/identity-vault-migration.md). For a hard cutover, Identity Vault was already uninstalled during its migration.
- Sync the project:
npx cap sync
- Verify the project builds successfully on all platforms.
Error Handling
- Capawesome registry not configured: If
npm installfails with a 404 or authentication error for@capawesome-team/*packages, verify the npm registry is configured correctly (Step 2). - Missing Capawesome Insiders license: All replacement plugins require a Capawesome Insiders license. Direct the user to capawesome.io/insiders to obtain one.
- Identity Vault session management: The Capawesome Vault plugin natively supports auto-lock via the
lockAfterBackgroundedoption andlock/unlockevent listeners, which map closely to Identity Vault'slockAfterBackgrounded,onLock, andonUnlock. Custom-passcode vaults have no direct equivalent and must be rebuilt with application logic. Seereferences/identity-vault-migration.md. - Secure Storage encryption: Ionic Secure Storage has built-in encryption. Capawesome SQLite encryption requires additional platform configuration (SQLCipher). If the user needs database encryption, guide them through the SQLite encryption setup in the
capacitor-pluginsskill reference. - Web platform limitations: Capawesome Secure Preferences stores values unencrypted in
localStorageon the web. This is for development only and should not be used in production.
Related Skills
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.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: capawesome-team
- Source: capawesome-team/skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.