docs: add Android auto-update page (Maui & Avalonia)#69
Merged
Conversation
- Document both GeneralUpdate.Maui.Android and GeneralUpdate.Avalonia.Android - Cover full update lifecycle: validate -> download -> verify -> install - Include runnable code examples for both frameworks - Provide AndroidManifest / FileProvider XML configuration - Add Maui vs Avalonia comparison table with selection guidance - Document server requirements and FAQ section - Sync base docs, zh-Hans i18n, and en i18n copies Closes #68 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds a new dedicated documentation page describing Android auto-update workflows for both GeneralUpdate.Maui.Android and GeneralUpdate.Avalonia.Android, mirrored across base docs plus en and zh-Hans i18n content.
Changes:
- New Android auto-update docs page including lifecycle overview, install/setup snippets, and API/event tables for MAUI and Avalonia.
- Adds Android
FileProvidermanifest + paths XML examples and a Maui vs Avalonia comparison table. - Adds server-metadata example JSON and an FAQ section.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| website/docs/doc/Android auto-update.md | Adds the base (Chinese) Android auto-update documentation page. |
| website/i18n/en/docusaurus-plugin-content-docs/current/doc/Android auto-update.md | Adds the English i18n mirror of the Android auto-update page. |
| website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/Android auto-update.md | Adds the zh-Hans i18n mirror of the Android auto-update page. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+114
to
+117
| InstallOptions = new AndroidInstallOptions | ||
| { | ||
| FileProviderAuthority = $"{AppInfo.PackageName}.fileprovider" | ||
| } |
| - [GeneralUpdate.Avalonia 仓库](https://github.com/GeneralLibrary/GeneralUpdate.Avalonia) | ||
| - [GeneralUpdate.Core 组件文档](./GeneralUpdate.Core.md) | ||
| - [OSS 更新模式文档](./GeneralClient.OSS.md) | ||
| - [入门实战手册](../quickstart/Beginner cookbook.md) |
Comment on lines
+114
to
+117
| InstallOptions = new AndroidInstallOptions | ||
| { | ||
| FileProviderAuthority = $"{AppInfo.PackageName}.fileprovider" | ||
| } |
| - [GeneralUpdate.Avalonia repository](https://github.com/GeneralLibrary/GeneralUpdate.Avalonia) | ||
| - [GeneralUpdate.Core component docs](./GeneralUpdate.Core.md) | ||
| - [OSS update mode docs](./GeneralClient.OSS.md) | ||
| - [Beginner cookbook](../quickstart/Beginner cookbook.md) |
Comment on lines
+114
to
+117
| InstallOptions = new AndroidInstallOptions | ||
| { | ||
| FileProviderAuthority = $"{AppInfo.PackageName}.fileprovider" | ||
| } |
| - [GeneralUpdate.Avalonia 仓库](https://github.com/GeneralLibrary/GeneralUpdate.Avalonia) | ||
| - [GeneralUpdate.Core 组件文档](./GeneralUpdate.Core.md) | ||
| - [OSS 更新模式文档](./GeneralClient.OSS.md) | ||
| - [入门实战手册](../quickstart/Beginner cookbook.md) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #68
Summary
New dedicated documentation page covering Android auto-update using both GeneralUpdate.Maui.Android and GeneralUpdate.Avalonia.Android.
Content
Source accuracy
All code examples and API tables are drawn directly from the current source in:
Validation
npm run build -- --no-minifypasses