Logo Ionic Enterprise Sdk Migration

Ionic Enterprise Sdk Migration

Tổ chức
capawesome-team
ionic-enterprise-sdk-migration

Hướng dẫn tác nhân AI chuyển ứng dụng Capacitor từ các plugin Ionic Enterprise SDK đã ngừng phát triển (Auth Connect, Identity Vault, Secure Storage) sang các lựa chọn thay thế của Capawesome (OAuth, Vault, Biometrics, Secure Preferences, SQLite). Bao gồm phát hiện phần phụ thuộc, đối chiếu API song song, thay thế mã và cấu hình riêng cho từng nền tảng của mỗi cặp plugin. Không dùng kỹ năng này để nâng cấp ứng dụng hoặc plugin Capacitor lên phiên bản mới hơn, thiết lập Capawesome Cloud hoặc làm việc với các framework di động không phải Capacitor.

Add to TypingMind

Tổng quan

Nhà phát hànhcapawesome-team
Kho mãskills
Tên kỹ năngionic-enterprise-sdk-migration
Sao
54
Bản fork
1
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được capawesome-team công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ionic Enterprise Sdk Migration trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/capawesome-team/skills/tree/main/skills/ionic-enterprise-sdk-migration
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/capawesome-team/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/ionic-enterprise-sdk-migration .claude/skills/ionic-enterprise-sdk-migration
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ionic Enterprise Sdk Migration trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ionic Enterprise Sdk Migration ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ionic Enterprise Sdk Migration với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Ionic Enterprise SDK Migration

Migrate Capacitor apps from discontinued Ionic Enterprise SDK plugins to Capawesome alternatives.

Plugin Mapping

Ionic Enterprise PluginPackageCapawesome ReplacementPackage(s)
Auth Connect@ionic-enterprise/authOAuth@capawesome-team/capacitor-oauth
Identity Vault@ionic-enterprise/identity-vaultVault (+ Biometrics)@capawesome-team/capacitor-vault (+ @capawesome-team/capacitor-biometrics)
Secure Storage (key-value)@ionic-enterprise/secure-storageSecure Preferences@capawesome-team/capacitor-secure-preferences
Secure Storage (SQLite)@ionic-enterprise/secure-storageSQLite@capawesome-team/capacitor-sqlite

All Capawesome replacement plugins require a Capawesome Insiders license.

Prerequisites

  1. Capacitor 6, 7, or 8 app.
  2. Node.js and npm installed.
  3. A Capawesome Insiders license key.

Agent Behavior

  • Auto-detect dependencies. Scan package.json for 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-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.
  • Preserve existing behavior. When replacing API calls, maintain the same functional behavior (e.g., same scopes, same stored keys, same database schema).

MCP Server

The Capawesome MCP server serves the current Capawesome documentation, so it is always ahead of the guidance bundled with this skill.

  • If the Capawesome MCP tools are available, call 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.
  • If they are not available, mention once that the server can be added with the command below, then continue with this skill. Never block on it.
bash
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.

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:

bash
npm config get @capawesome-team:registry

If not configured, guide the user through setup:

bash
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.

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:

  1. Feature mapping table (Ionic API → Capawesome API)
  2. Key differences to be aware of
  3. 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:

bash
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

  1. Remove all Ionic Enterprise packages from package.json:
bash
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.

  1. Sync the project:
bash
npx cap sync
  1. Verify the project builds successfully on all platforms.

Error Handling

  • Capawesome registry not configured: If npm install fails 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 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.
  • 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-plugins skill reference.
  • Web platform limitations: Capawesome Secure Preferences stores values unencrypted in localStorage on 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.
  • capawesome-mcp — Connect an MCP client to the hosted Capawesome MCP server for always-current documentation and Capawesome Cloud management.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ionic Enterprise Sdk Migration làm được gì?

Hướng dẫn tác nhân AI chuyển ứng dụng Capacitor từ các plugin Ionic Enterprise SDK đã ngừng phát triển (Auth Connect, Identity Vault, Secure Storage) sang các lựa chọn thay thế của Capawesome (OAuth, Vault, Biometrics, Secure Preferences, SQLite). Bao gồm phát hiện phần phụ thuộc, đối chiếu API song song, thay thế mã và cấu hình riêng cho từng nền tảng của mỗi cặp plugin. Không dùng kỹ năng này để nâng cấp ứng dụng hoặc plugin Capacitor lên phiên bản mới hơn, thiết lập Capawesome Cloud hoặc làm việc với các framework di động không phải Capacitor.

Vì sao nên dùng Ionic Enterprise Sdk Migration trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ionic Enterprise Sdk Migration là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ionic Enterprise Sdk Migration trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/capawesome-team/skills/tree/main/skills/ionic-enterprise-sdk-migration. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ionic Enterprise Sdk Migration?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ionic Enterprise Sdk Migration với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ionic Enterprise Sdk Migration với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ionic Enterprise Sdk Migration có miễn phí không?

Có. Kỹ năng này được capawesome-team phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇