mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
It would cause the napi-derive not work as expect in workspace level <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved internal handling and type definitions for document parsing, resulting in clearer and more maintainable data structures. - **Chores** - Introduced a new feature flag for mobile native builds, enabling conditional compilation for enhanced flexibility across Android and iOS. - Updated build scripts to support the new feature flag for both Android and iOS platforms. - Updated iOS app dependencies to newer versions, including Apollo iOS, ChidoriMenu, and swift-collections, and removed SQLite.swift. - **Tests** - Enhanced Rust linting and testing workflows to run selectively across workspace packages with the new feature flag enabled. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
iOS
AFFiNE iOS app.
Build
yarn installBUILD_TYPE=canary PUBLIC_PATH="/" yarn affine @affine/ios buildyarn affine @affine/ios cap syncyarn affine @affine/ios cap open ios
Live Reload
Capacitor doc: https://capacitorjs.com/docs/guides/live-reload#using-with-framework-clis
yarn installyarn dev- select
iosfor the "Distribution" option
- select
yarn affine @affine/ios sync:devyarn affine @affine/ios cap open ios