Commit a0d35e1
fix(android): register the ndk context ourselves — tao 0.35 stopped doing it
tao 0.34 registered it during startup; 0.35 dropped that and nothing else
in the tauri 2.11 stack does, so every ndk_context consumer (iroh's DNS
reader, cpal, netdev, our JNI fallbacks) panicked unconditionally — and a
panic escaping the app main is a process abort via tauri's stop_unwind.
MainActivity.onCreate now hands the activity to Rust, once per process,
restoring the 0.34 semantics; the service-only process stays unregistered
as before and keeps failing soft through the guards.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 0c225ff commit a0d35e1
2 files changed
Lines changed: 313 additions & 248 deletions
File tree
- src-tauri
- gen/android/app/src/main/java/io/vectorapp
- src/android
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
131 | 139 | | |
132 | 140 | | |
133 | 141 | | |
| |||
0 commit comments