Files
AFFiNE-Mirror/packages/frontend/apps/android
DarkSky 51fdf602ba feat(core): adapt new lifecycle (#15575)
fix #15574


#### PR Dependency Tree


* **PR #15575** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## New Features
* Added source-aware blob handling for current documents and page
history.
* Added document lifecycle support for trashing, restoring, and
permanently deleting documents.
* Copilot attachments now upload directly to session attachment
endpoints.

## Bug Fixes
* Document actions now complete before confirmations, notifications, and
navigation proceed.
* Improved cancellation, upload fallback, size-limit handling, and cloud
synchronization reliability.
* Invite-link expiration now remains reliable for long durations.
* Improved synchronization for document permissions and reserved
documents.

## Changes
* Blob management now displays attachment icons instead of image
previews.
* Cloud synchronization now uses a unified batch protocol.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-09 23:00:06 +08:00
..

Android

AFFiNE Android app.

Setup

  • set CARGO_HOME to your system environment

  • add

    rust.cargoCommand={replace_with_your_own_cargo_home_absolute_path}/bin/cargo

    rust.rustcCommand={replace_with_your_own_cargo_home_absolute_path}/bin/rustc

    to App/local.properties

Build

  • yarn install
  • BUILD_TYPE=canary PUBLIC_PATH="/" yarn affine @affine/android build
  • yarn affine @affine/android cap sync
  • yarn affine @affine/android cap open android