[docs] TauriPlatforms: Gates on the merged tree, where IndexedDB lives on Android, handover
This commit is contained in:
@@ -150,7 +150,7 @@ apps/
|
||||
# dist/ the PWA, under /Rosea/, with its service worker
|
||||
# dist-tauri/ for the shell: base /, no service worker, no manifest
|
||||
rosea-tauri/ # the Tauri 2 shell -> @rosea/tauri. Wraps apps/rosea/dist-tauri/; imports no package
|
||||
src-tauri/ # Rust (a window and nothing else), tauri.conf.json, capabilities/
|
||||
src-tauri/ # Rust (a window and nothing else), tauri.conf.json; no capabilities/, so no IPC
|
||||
android/ # what must survive `tauri android init` (gen/ is never committed)
|
||||
scripts/ # icons from apps/rosea/public/icon.svg; the Android privacy patch
|
||||
|
||||
@@ -275,7 +275,7 @@ tsx scripts/build-places.ts <folder> # rebuilds the town list from downloade
|
||||
pnpm tauri:dev # desktop window on the Vite dev server, 127.0.0.1:5173
|
||||
pnpm tauri:build # desktop release: on Windows an NSIS installer and the .exe
|
||||
# needs Rust (MSVC), WebView2, VS Build Tools; macOS/Linux on their own OS
|
||||
pnpm tauri:android # Android debug APK (universal); needs ANDROID_HOME, NDK 27, JDK 17,
|
||||
pnpm tauri:android # Android debug APK (arm64); needs ANDROID_HOME, NDK 27, JDK 17,
|
||||
# the four Rust Android targets. Install: adb install -r <apk>
|
||||
pnpm tauri:ios # macOS + Xcode only — refuses elsewhere with the reason (§8)
|
||||
pnpm --filter @rosea/tauri test # the shell's tests: config (CSP, name, origin), privacy patch, shell build
|
||||
@@ -321,7 +321,9 @@ replaying `events` through the engine. A number that cannot be derived from the
|
||||
|
||||
**Nothing else is written anywhere.** No cookies, no `localStorage`, no analytics of any kind, no
|
||||
third-party origin, no fonts or images from a CDN. This holds in the shell too: `localStorage` and
|
||||
`sessionStorage` stay forbidden there, and the Rust side writes no file of its own.
|
||||
`sessionStorage` stay forbidden there, and the Rust side writes no file of its own. (The webview keeps
|
||||
its own profile beside the database: caches, an empty Local Storage folder Chromium makes, and on
|
||||
Android hashed visit counters for its metrics, which are switched off and cannot be sent.)
|
||||
|
||||
**Where IndexedDB lives in each version** (the webview owns the folder; Rosea writes only its
|
||||
database there — the webview keeps its own caches beside it):
|
||||
@@ -330,7 +332,7 @@ database there — the webview keeps its own caches beside it):
|
||||
|:--|:--|
|
||||
| PWA | the browser profile, per origin; evictable (§8) |
|
||||
| Windows | WebView2's user data folder: `%LOCALAPPDATA%\<identifier>\EBWebView\` |
|
||||
| Android | the app's private data: `/data/data/<identifier>/app_webview/` — no Auto Backup, no device transfer (`tauri-platforms.md` D6) |
|
||||
| Android | the app's private data: `/data/data/<identifier>/app_webview/Default/IndexedDB/https_tauri.localhost_0.indexeddb.leveldb` (seen on the tablet) — no Auto Backup, no device transfer (`tauri-platforms.md` D6) |
|
||||
| macOS / iOS | WKWebView's website data in the app's container (`Library/WebKit/`) *(predicted)* |
|
||||
| Linux | WebKitGTK's data dir under `~/.local/share/<identifier>/` *(predicted)* |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user