You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**`data-browser`** (`browser/data-browser/`) — The web app (React + TipTap + Loro).
41
+
-**`flutter/`** — Cross-platform canvas app (Android/iOS/Web). Uses `flutter_rust_bridge` to call `atomic_lib`. See `flutter/README.md` and `flutter/AGENTS.md`.
41
42
42
43
### Data model
43
44
-**Resource** = property-value pairs with a Subject URL, backed by a Loro CRDT document.
cd browser && pnpm run -r build # Full workspace build
150
180
```
@@ -157,3 +187,6 @@ cd browser && pnpm run -r build # Full workspace build
157
187
4.**CSP**: Includes `'wasm-unsafe-eval'` for Loro WASM in browser.
158
188
5.**`build.rs`**: Watches `lib/src`, `react/src`, `data-browser/src`. Delete `server/assets_tmp` to force JS rebuild.
159
189
6.**`CommitBuilder.push_propval`**: Starts from empty, not from resource's existing value. Load current value first if appending.
190
+
7.**`flutter/rust/`** is excluded from the Cargo workspace (`Cargo.toml``exclude`). It has its own `Cargo.toml` with a path dep to `../../lib`.
191
+
8.**NDK 27 `llvm-strip`** corrupts large `.so` files. Debug builds use `doNotStrip '**/*.so'` in both `app/build.gradle` and `rust_builder/android/build.gradle`.
192
+
9.**Iroh Router lifetime**: `peer::start()` returns a Router that must be kept alive. Dropping it silently stops incoming connections — no error, just "failed connecting to remote endpoint" on the other side.
0 commit comments