diff --git a/README.ja.md b/README.ja.md new file mode 100644 index 0000000..07ce35e --- /dev/null +++ b/README.ja.md @@ -0,0 +1,181 @@ +

+ AppUpdateKit Banner +

+ +

+ CI Status + Swift バージョン + 対応プラットフォーム + 外部依存関係ゼロ + ライセンス +

+ +

+ 🌐 Language Selection / Chọn ngôn ngữ / 言語選択:
+ 🇬🇧 English  |  + 🇻🇳 Tiếng Việt  |  + 🇯🇵 日本語 +

+ +--- + +# AppUpdateKit + +**AppUpdateKit** は、完全な **Headless-First** 設計を採用した超軽量・依存関係ゼロ(Zero Dependency)の Swift Package です。**microCMS** や **Raw JSON (GitHub Raw, S3, Cloudflare Workers)** などを介して、アプリの強制アップデート(Force Update)、任意アップデート(Optional Update・更新履歴付き)、およびメンテナンスモード(Maintenance Mode)をリモートで制御します。 + +### 🌟 主な特徴 & 設計思想 +- **完全な Headless 設計(UI の強制なし):** 純粋なビジネスロジックエンジン (`AppUpdateChecker`, `AppUpdateEvaluator`, `AppVersion`, `AppUpdateConfig`) を提供します。標準 UI の使用は強制されません。生のモデル、メタデータ、バージョンオブジェクト、イベントストリームがすべて公開されているため、独自のカスタム UI、モーダル、または React Native / Flutter ブリッジを自由に構築できます。 +- **外部依存性ゼロ:** Apple 標準フレームワーク (`Foundation`, `SwiftUI`, `Combine`, `UIKit`) のみで動作。 +- **O(N) SemVer 比較エンジン:** バージョン文字列の正規化 (`"1.2"` == `"1.2.0"` == `"1.2.0.0"`, `"1.10.0"` > `"1.2.0"`) およびプレリリースタグ・ビルドメタデータの自動除去に対応。 +- **フェイルセーフ設計:** ネットワークエラー、タイムアウト、または不正な JSON が発生した場合でも、クラッシュせずに `.none` へ安全にフォールバック。 +- **詳細なイベント&アナリティクス対応:** `checkStarted`, `configFetched`, `evaluated`, `presented`, `userAction`, `checkFailed` を出力し、Firebase や Mixpanel と連携可能。 +- **Swift 6 & Sendable 完全対応:** `@MainActor` の安全性と Task 重複排除を備えた完全なスレッドセーフ設計。 + +--- + +## 📱 UI プレビュー + +``` +┌────────────────────────────────────────┐ ┌────────────────────────────────────────┐ +│ Update Available │ │ ╭────────────╮ │ +│ │ │ │ 🔄 │ │ +│ A new version (2.1.0) is available on │ │ ╰────────────╯ │ +│ the App Store. Would you like to get │ │ Bản Cập Nhật Mới 2.1.0 │ +│ the latest features? │ │ Trải nghiệm giao diện mới và sửa lỗi. │ +│ │ │ │ +│ │ │ ┌── Có gì mới: ────────────────────┐ │ +│ │ │ │ • ✨ Giao diện Liquid Glass │ │ +│ │ │ │ • ⚡️ Tối ưu tốc độ tải 40% │ │ +│ ┌──────────────────┐┌───────────────┐ │ │ │ • 🐛 Sửa lỗi offline sync │ │ +│ │ Để sau (Later)││Cập nhật(Update│ │ │ └──────────────────────────────────┘ │ +│ └──────────────────┘└───────────────┘ │ │ ┌──────────────────────────────────┐ │ +│ │ │ │ Cập nhật ngay (Update) │ │ +│ │ │ └──────────────────────────────────┘ │ +│ │ │ Để sau │ +└────────────────────────────────────────┘ └────────────────────────────────────────┘ + [ SwiftUI / UIKit Alert ] [ Custom SwiftUI Card Sheet ] +``` + +--- + +## 🚀 クイックスタート (100% Headless / カスタム UI) + +UI コードを使用せず、純粋な判定ロジックのみを使用する例: + +```swift +import AppUpdateKit + +let fetcher = AppUpdateFetcher.microCMS( + endpoint: URL(string: "https://your-service.microcms.io/api/v1/app-update")!, + apiKey: "YOUR_API_KEY" +) + +// 非同期でアップデート状態をチェック(フェイルセーフ対応) +let action: AppUpdateAction = await AppUpdateChecker.check( + onEvent: { event in + Analytics.logEvent("app_update_lifecycle", parameters: ["event": "\(event)"]) + }, + fetcher: fetcher +) + +// 独自の View、モーダル、または Coordinator でアクションを処理 +switch action { +case .none: + print("アプリは最新バージョンです") +case .optionalUpdate(let title, let message, let storeURL, let version, let releaseNotes, let metadata): + MyCustomDialogPresenter.showOptionalUpdate(title: title, version: version?.description, url: storeURL) +case .forceUpdate(let title, let message, let storeURL, let version, let releaseNotes, let metadata): + MyCustomDialogPresenter.showBlockingUpdate(title: title, url: storeURL) +case .maintenance(let title, let message, let metadata): + MyCustomDialogPresenter.showMaintenanceScreen(message: message) +case .custom(let id, let title, let message, let storeURL, _, _, _): + MyCustomDialogPresenter.handleCustomAction(id: id) +} +``` + +--- + +## 🎨 組み込み UI モディファイア(任意) + +### 1. SwiftUI 標準アラート +```swift +ContentView() + .appUpdateAlert( + action: $updateAction, + configuration: AppUpdateUIConfiguration( + updateButtonTitle: "今すぐ更新", + laterButtonTitle: "後で", + dismissButtonTitle: "OK" + ), + onEvent: { event in + print("[AppUpdateKit] Event: \(event)") + } + ) +``` + +### 2. SwiftUI カスタムカードシート +```swift +ContentView() + .appUpdateSheet( + action: $updateAction, + accentColor: .indigo, + onEvent: { event in + if case .userAction(let action, let choice) = event { + print("User tapped \(choice) for \(action.title ?? "")") + } + } + ) +``` + +### 3. UIKit との連携 (`UIViewController`) +```swift +class ViewController: UIViewController { + func checkVersion() { + Task { [weak self] in + let action = await AppUpdateChecker.check(fetcher: fetcher) + self?.presentAppUpdate(action: action) + } + } +} +``` + +--- + +## 📊 Semantic Versioning 判定マトリクス + +| 現在のバージョン | リモート最小必須 | リモート最新 | 判定アクション | アプリの挙動 | +| :--- | :--- | :--- | :--- | :--- | +| `1.0.0` | `2.0.0` | `2.5.0` | `.forceUpdate` | 🚨 強制アップデートダイアログ(操作ブロック) | +| `2.0.0` | `1.5.0` | `2.1.0` | `.optionalUpdate` | 💡 任意アップデートダイアログ(「後で」ボタンあり) | +| `2.1.0` | `1.5.0` | `2.1.0` | `.none` | ✅ アプリは最新 | +| `2.1.0.0` | `1.5.0` | `2.1` | `.none` | ✅ 正規化による一致判定 | +| `任意` | `任意` | `任意` (`is_maintenance: true`) | `.maintenance` | 🛠️ アプリをロック、メンテナンス画面を表示 | +| `1.0.0` | 通信エラー (404/500/Timeout) | N/A | `.none` | 🛡️ フェイルセーフ: 通常通り起動 | + +--- + +## 🛠️ microCMS API スキーマ設定 + +| フィールド ID | 表示名 | 種類 | 説明 | +| :--- | :--- | :--- | :--- | +| `minimum_version` | 最低必須バージョン | テキスト | これ未満のバージョンで強制アップデートを発火 | +| `latest_version` | 最新バージョン | テキスト | App Store で公開中の最新バージョン | +| `store_url` | ストア URL | テキスト | App Store または TestFlight のリンク | +| `is_maintenance` | メンテナンス中 | 真偽値 | メンテナンスモードの切り替えフラグ | +| `title` | ダイアログタイトル | テキスト (任意) | カスタムタイトル | +| `message` | ダイアログ本文 | 複数行テキスト (任意) | カスタム説明文 | +| `release_notes` | 更新内容 | 複数行テキスト / リスト | 箇条書きのリリースノート | + +--- + +## 📦 インストール方法 (SPM) + +```swift +dependencies: [ + .package(url: "https://github.com/iletai/AppUpdateKit.git", from: "1.1.0") +] +``` + +## 📄 ライセンス + +AppUpdateKit は **MIT ライセンス** の下で公開されています。Copyright (c) 2026 iletai. diff --git a/README.md b/README.md index 0115d31..25ef636 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,15 @@

- English | Tiếng Việt | 日本語 + 🌐 Language Selection / Chọn ngôn ngữ / 言語選択:
+ 🇬🇧 English  |  + 🇻🇳 Tiếng Việt  |  + 🇯🇵 日本語

--- -# 🇬🇧 English +# AppUpdateKit **AppUpdateKit** is an ultra-lightweight, zero-dependency, **headless-first** Swift Package for evaluating app versions, enforcing **Force Updates**, presenting **Optional Updates** (with release notes), and activating **Maintenance Mode** remotely via **microCMS**, **Raw JSON (GitHub Raw, S3, Cloudflare Workers)**, or any backend endpoint. @@ -138,52 +141,30 @@ class ViewController: UIViewController { --- -# 🇻🇳 Tiếng Việt +## 📊 Semantic Versioning Comparison Matrix -**AppUpdateKit** là thư viện Swift Package Manager (SPM) siêu nhẹ, zero-dependency, thiết kế theo triết lý **Headless-First (Không ép buộc dùng UI có sẵn)**. Hỗ trợ kiểm tra phiên bản ứng dụng, kích hoạt **Force Update (Cập nhật bắt buộc)**, **Optional Update (Cập nhật tùy chọn kèm Release Notes)**, và **Maintenance Mode (Bảo trì hệ thống)** từ xa qua **microCMS**, **Raw JSON**, hoặc bất kỳ API backend nào. - -### 🌟 Điểm nổi bật -1. **Headless-First 100%:** Tách biệt hoàn toàn Pure Logic Engine (`AppUpdateChecker`) khỏi tầng UI. Developer toàn quyền lấy raw action, version, metadata để tự build UI hoặc chuyển tiếp qua Flutter / React Native Bridge. -2. **0 Dependency bên ngoài:** Thuần Swift Standard Library (`Foundation`, `SwiftUI`, `Combine`, `UIKit`). -3. **Bộ so sánh SemVer O(N):** Chuẩn hóa số nguyên (`"1.2"` == `"1.2.0"` == `"1.2.0.0"`), tự động loại bỏ tag prerelease/build metadata (`1.0.0-beta.1` -> `1.0.0`). -4. **An toàn tuyệt đối (Fail-Safe):** Khi mất mạng, server timeout hoặc JSON hỏng, app tự fallback về `.none`, không làm crash hoặc block user khởi động app. -5. **Vòng đời Event & Analytics chi tiết:** Bắn đầy đủ sự kiện (`checkStarted`, `configFetched`, `evaluated`, `presented`, `userAction`, `checkFailed`) cho Firebase Analytics, Mixpanel, TelemetryDeck. - -### 📊 Bảng so sánh Semantic Versioning - -| Version hiện tại | Remote Minimum | Remote Latest | Action trả về | Hành vi ứng dụng | +| Current Version | Remote Minimum | Remote Latest | Evaluated Action | Application Behavior | | :--- | :--- | :--- | :--- | :--- | -| `1.0.0` | `2.0.0` | `2.5.0` | `.forceUpdate` | 🚨 Bắt buộc cập nhật để tiếp tục | -| `2.0.0` | `1.5.0` | `2.1.0` | `.optionalUpdate` | 💡 Hiện thông báo cập nhật (có nút "Để sau") | -| `2.1.0` | `1.5.0` | `2.1.0` | `.none` | ✅ App đã ở bản mới nhất | -| `2.1.0.0` | `1.5.0` | `2.1` | `.none` | ✅ Chuẩn hóa chuỗi version trùng khớp | -| `bất kỳ` | `bất kỳ` | `bất kỳ` (`is_maintenance: true`) | `.maintenance` | 🛠️ Khóa ứng dụng, hiện màn hình bảo trì | -| `1.0.0` | Lỗi mạng (404/500/Timeout) | N/A | `.none` | 🛡️ Fail-safe: app hoạt động bình thường | +| `1.0.0` | `2.0.0` | `2.5.0` | `.forceUpdate` | 🚨 Blocking update required to proceed | +| `2.0.0` | `1.5.0` | `2.1.0` | `.optionalUpdate` | 💡 Show update prompt (with "Later" button) | +| `2.1.0` | `1.5.0` | `2.1.0` | `.none` | ✅ App is on latest version | +| `2.1.0.0` | `1.5.0` | `2.1` | `.none` | ✅ Vector-normalized match | +| `any` | `any` | `any` (`is_maintenance: true`) | `.maintenance` | 🛠️ Lock app, show maintenance screen | +| `1.0.0` | Network Error (404/500/Timeout) | N/A | `.none` | 🛡️ Fail-safe: app functions normally | --- -# 🇯🇵 日本語 - -**AppUpdateKit** は、完全な **Headless-First** 設計を採用した超軽量・依存関係ゼロ(Zero Dependency)の Swift Package です。**microCMS** や **Raw JSON (GitHub Raw, S3, Cloudflare Workers)** などを介して、アプリの強制アップデート(Force Update)、任意アップデート(Optional Update・更新履歴付き)、およびメンテナンスモード(Maintenance Mode)をリモートで制御します。 - -### 🌟 主な特徴 -1. **完全な Headless 設計(UI の強制なし):** 純粋なビジネスロジックエンジンを提供し、開発者は独自のカスタム UI、モーダル、または Flutter / React Native ブリッジを自由に構築できます。 -2. **外部依存性ゼロ:** Apple 標準フレームワーク(`Foundation`, `SwiftUI`, `Combine`, `UIKit`)のみで動作。 -3. **O(N) SemVer 比較エンジン:** バージョン文字列の正規化(`"1.2"` == `"1.2.0"` == `"1.2.0.0"`)およびプレリリースタグ除去に対応。 -4. **フェイルセーフ設計:** ネットワークエラー、タイムアウト、または不正な JSON が発生した場合でも、クラッシュせずに `.none` へ安全にフォールバック。 -5. **詳細なイベント&アナリティクス対応:** `checkStarted`, `configFetched`, `evaluated`, `presented`, `userAction`, `checkFailed` を出力し、Firebase や Mixpanel と連携可能。 - -### 🛠️ microCMS API スキーマ設定 +## 🛠️ microCMS API Schema -| フィールド ID | 表示名 | 種類 | 説明 | +| Field ID | Display Name | Type | Description | | :--- | :--- | :--- | :--- | -| `minimum_version` | 最低必須バージョン | テキスト | これ未満のバージョンで強制アップデートを発火 | -| `latest_version` | 最新バージョン | テキスト | App Store で公開中の最新バージョン | -| `store_url` | ストア URL | テキスト | App Store または TestFlight のリンク | -| `is_maintenance` | メンテナンス中 | 真偽値 | メンテナンスモードの切り替えフラグ | -| `title` | ダイアログタイトル | テキスト (任意) | カスタムタイトル | -| `message` | ダイアログ本文 | 複数行テキスト (任意) | カスタム説明文 | -| `release_notes` | 更新内容 | 複数行テキスト / リスト | 箇条書きのリリースノート | +| `minimum_version` | Minimum Version | Text | Versions below this trigger force update | +| `latest_version` | Latest Version | Text | Current latest version on App Store | +| `store_url` | Store URL | Text | App Store or TestFlight link | +| `is_maintenance` | Is Maintenance | Boolean | System maintenance toggle flag | +| `title` | Title | Text (Optional) | Custom dialog title | +| `message` | Message | Multi-line Text (Optional) | Custom explanation message | +| `release_notes` | Release Notes | Multi-line Text / Array | Bullet list of release notes | --- diff --git a/README.vi.md b/README.vi.md new file mode 100644 index 0000000..a5f504f --- /dev/null +++ b/README.vi.md @@ -0,0 +1,181 @@ +

+ AppUpdateKit Banner +

+ +

+ CI Status + Phiên bản Swift + Nền tảng + Không phụ thuộc + Giấy phép +

+ +

+ 🌐 Language Selection / Chọn ngôn ngữ / 言語選択:
+ 🇬🇧 English  |  + 🇻🇳 Tiếng Việt  |  + 🇯🇵 日本語 +

+ +--- + +# AppUpdateKit + +**AppUpdateKit** là thư viện Swift Package Manager (SPM) siêu nhẹ, zero-dependency, thiết kế theo triết lý **Headless-First (Không ép buộc dùng UI có sẵn)**. Hỗ trợ kiểm tra phiên bản ứng dụng, kích hoạt **Force Update (Cập nhật bắt buộc)**, **Optional Update (Cập nhật tùy chọn kèm Release Notes)**, và **Maintenance Mode (Bảo trì hệ thống)** từ xa qua **microCMS**, **Raw JSON (GitHub Raw, S3, Cloudflare Workers)**, hoặc bất kỳ API backend nào. + +### 🌟 Điểm nổi bật & Triết lý thiết kế +- **Headless-First 100% (UI hoàn toàn tùy chọn):** AppUpdateKit được xây dựng như một Pure Business Logic Engine (`AppUpdateChecker`, `AppUpdateEvaluator`, `AppVersion`, `AppUpdateConfig`). Bạn **không bao giờ bị ép buộc dùng UI mặc định**. Toàn bộ raw models, metadata, version object và event stream được mở hoàn toàn để bạn tự render giao diện custom, modal, hoặc bridge qua React Native / Flutter. +- **0 Dependency bên ngoài:** Thuần Swift Standard Library (`Foundation`, `SwiftUI`, `Combine`, `UIKit`). +- **Bộ so sánh SemVer O(N):** Chuẩn hóa so sánh vector số nguyên (`"1.2"` == `"1.2.0"` == `"1.2.0.0"`, `"1.10.0"` > `"1.2.0"`), tự động loại bỏ tag prerelease và build metadata. +- **An toàn tuyệt đối (Fail-Safe):** Khi mất mạng, server timeout hoặc JSON hỏng, app tự fallback về `.none`, không làm crash hoặc block user khởi động app. +- **Vòng đời Event & Analytics chi tiết:** Bắn đầy đủ sự kiện (`checkStarted`, `configFetched`, `evaluated`, `presented`, `userAction`, `checkFailed`) cho Firebase Analytics, Mixpanel, TelemetryDeck. +- **Tương thích Swift 6 & Sendable:** An toàn tuyệt đối với `@MainActor` và Task deduplication. + +--- + +## 📱 Minh họa Giao diện (Visual UI Preview) + +``` +┌────────────────────────────────────────┐ ┌────────────────────────────────────────┐ +│ Update Available │ │ ╭────────────╮ │ +│ │ │ │ 🔄 │ │ +│ A new version (2.1.0) is available on │ │ ╰────────────╯ │ +│ the App Store. Would you like to get │ │ Bản Cập Nhật Mới 2.1.0 │ +│ the latest features? │ │ Trải nghiệm giao diện mới và sửa lỗi. │ +│ │ │ │ +│ │ │ ┌── Có gì mới: ────────────────────┐ │ +│ │ │ │ • ✨ Giao diện Liquid Glass │ │ +│ │ │ │ • ⚡️ Tối ưu tốc độ tải 40% │ │ +│ ┌──────────────────┐┌───────────────┐ │ │ │ • 🐛 Sửa lỗi offline sync │ │ +│ │ Để sau (Later)││Cập nhật(Update│ │ │ └──────────────────────────────────┘ │ +│ └──────────────────┘└───────────────┘ │ │ ┌──────────────────────────────────┐ │ +│ │ │ │ Cập nhật ngay (Update) │ │ +│ │ │ └──────────────────────────────────┘ │ +│ │ │ Để sau │ +└────────────────────────────────────────┘ └────────────────────────────────────────┘ + [ SwiftUI / UIKit Alert ] [ Custom SwiftUI Card Sheet ] +``` + +--- + +## 🚀 Quick Start (100% Headless / Custom UI) + +Sử dụng logic kiểm tra thuần túy mà không đụng đến code UI: + +```swift +import AppUpdateKit + +let fetcher = AppUpdateFetcher.microCMS( + endpoint: URL(string: "https://your-service.microcms.io/api/v1/app-update")!, + apiKey: "YOUR_API_KEY" +) + +// Kiểm tra trạng thái cập nhật bất đồng bộ (fail-safe) +let action: AppUpdateAction = await AppUpdateChecker.check( + onEvent: { event in + Analytics.logEvent("app_update_lifecycle", parameters: ["event": "\(event)"]) + }, + fetcher: fetcher +) + +// Xử lý action trong View, Modal hoặc Coordinator riêng của bạn +switch action { +case .none: + print("Ứng dụng đang ở bản mới nhất") +case .optionalUpdate(let title, let message, let storeURL, let version, let releaseNotes, let metadata): + MyCustomDialogPresenter.showOptionalUpdate(title: title, version: version?.description, url: storeURL) +case .forceUpdate(let title, let message, let storeURL, let version, let releaseNotes, let metadata): + MyCustomDialogPresenter.showBlockingUpdate(title: title, url: storeURL) +case .maintenance(let title, let message, let metadata): + MyCustomDialogPresenter.showMaintenanceScreen(message: message) +case .custom(let id, let title, let message, let storeURL, _, _, _): + MyCustomDialogPresenter.handleCustomAction(id: id) +} +``` + +--- + +## 🎨 UI Modifiers Có Sẵn (Tùy chọn) + +### 1. SwiftUI Native Alert +```swift +ContentView() + .appUpdateAlert( + action: $updateAction, + configuration: AppUpdateUIConfiguration( + updateButtonTitle: "Cập nhật ngay", + laterButtonTitle: "Để sau", + dismissButtonTitle: "Đồng ý" + ), + onEvent: { event in + print("[AppUpdateKit] Event: \(event)") + } + ) +``` + +### 2. SwiftUI Custom Card Sheet +```swift +ContentView() + .appUpdateSheet( + action: $updateAction, + accentColor: .indigo, + onEvent: { event in + if case .userAction(let action, let choice) = event { + print("User tapped \(choice) for \(action.title ?? "")") + } + } + ) +``` + +### 3. Tích hợp UIKit (`UIViewController`) +```swift +class ViewController: UIViewController { + func checkVersion() { + Task { [weak self] in + let action = await AppUpdateChecker.check(fetcher: fetcher) + self?.presentAppUpdate(action: action) + } + } +} +``` + +--- + +## 📊 Bảng so sánh Semantic Versioning + +| Version hiện tại | Remote Minimum | Remote Latest | Action trả về | Hành vi ứng dụng | +| :--- | :--- | :--- | :--- | :--- | +| `1.0.0` | `2.0.0` | `2.5.0` | `.forceUpdate` | 🚨 Bắt buộc cập nhật để tiếp tục | +| `2.0.0` | `1.5.0` | `2.1.0` | `.optionalUpdate` | 💡 Hiện thông báo cập nhật (có nút "Để sau") | +| `2.1.0` | `1.5.0` | `2.1.0` | `.none` | ✅ App đã ở bản mới nhất | +| `2.1.0.0` | `1.5.0` | `2.1` | `.none` | ✅ Chuẩn hóa chuỗi version trùng khớp | +| `bất kỳ` | `bất kỳ` | `bất kỳ` (`is_maintenance: true`) | `.maintenance` | 🛠️ Khóa ứng dụng, hiện màn hình bảo trì | +| `1.0.0` | Lỗi mạng (404/500/Timeout) | N/A | `.none` | 🛡️ Fail-safe: app hoạt động bình thường | + +--- + +## 🛠️ Cấu hình API Schema microCMS + +| Field ID | Tên hiển thị | Loại dữ liệu | Mô tả | +| :--- | :--- | :--- | :--- | +| `minimum_version` | Phiên bản tối thiểu | Text | Nhỏ hơn bản này sẽ kích hoạt cập nhật bắt buộc | +| `latest_version` | Phiên bản mới nhất | Text | Phiên bản mới nhất đang có trên App Store | +| `store_url` | Đường dẫn App Store | Text | Link đến App Store hoặc TestFlight | +| `is_maintenance` | Đang bảo trì | Boolean | Cờ bật/tắt chế độ bảo trì | +| `title` | Tiêu đề | Text (Tùy chọn) | Tiêu đề thông báo custom | +| `message` | Nội dung | Multi-line Text (Tùy chọn) | Mô tả chi tiết custom | +| `release_notes` | Nội dung cập nhật | Multi-line Text / Array | Danh sách các thay đổi mới | + +--- + +## 📦 Cài đặt (SPM) + +```swift +dependencies: [ + .package(url: "https://github.com/iletai/AppUpdateKit.git", from: "1.1.0") +] +``` + +## 📄 Giấy phép (License) + +AppUpdateKit được phát hành theo **Giấy phép MIT**. Bản quyền (c) 2026 iletai.