Skip to content

docs: add Android auto-update page (Maui & Avalonia)#69

Merged
JusterZhu merged 1 commit into
mainfrom
docs/issue-68-android-autoupdate
Jun 3, 2026
Merged

docs: add Android auto-update page (Maui & Avalonia)#69
JusterZhu merged 1 commit into
mainfrom
docs/issue-68-android-autoupdate

Conversation

@JusterZhu

Copy link
Copy Markdown
Collaborator

Closes #68

Summary

New dedicated documentation page covering Android auto-update using both GeneralUpdate.Maui.Android and GeneralUpdate.Avalonia.Android.

Content

  • Overview — both components at a glance with shared capabilities
  • GeneralUpdate.Maui.Android — installation, DI setup, full code example, API tables
  • GeneralUpdate.Avalonia.Android — installation, UI dispatcher pattern, three-phase API example
  • Android project configuration — AndroidManifest.xml + FileProvider XML for both frameworks
  • Maui vs Avalonia comparison — 8-dimension comparison table with selection guidance
  • Server requirements — client-only, JSON metadata example
  • FAQ — resume download, SHA256 failure, forced updates, FileProvider authority, permissions

Source accuracy

All code examples and API tables are drawn directly from the current source in:

Validation

  • npm run build -- --no-minify passes
  • Mirror in base docs, zh-Hans i18n, and en i18n

- 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>
Copilot AI review requested due to automatic review settings June 1, 2026 04:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 FileProvider manifest + 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)
@JusterZhu JusterZhu merged commit 74519f4 into main Jun 3, 2026
2 checks passed
@JusterZhu JusterZhu deleted the docs/issue-68-android-autoupdate branch June 3, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs subtask: document Android auto-update (Maui & Avalonia)

2 participants