mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced feature flag synchronization for enhanced control over feature availability. - Added new configuration options for store management, allowing initialization and feature flag setup. - **Improvements** - Updated how store extensions are accessed throughout the app for more robust initialization and configuration. - Enhanced workspace entities to support feature flag services, improving flexibility for workspace-specific features. - Centralized configuration of storage implementations for Electron environments. - **Refactor** - Simplified editor module by removing direct feature flag synchronization logic. - Streamlined imports and configuration for storage modules, especially in Electron-based apps. - **Bug Fixes** - Ensured consistent retrieval of store extensions across various modules and platforms. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Android
AFFiNE Android app.
Setup
-
set CARGO_HOME to your system environment
-
add
rust.cargoCommand={replace_with_your_own_cargo_home_absolute_path}/bin/cargorust.rustcCommand={replace_with_your_own_cargo_home_absolute_path}/bin/rustcto 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