- Pass VK_PROFILE_PATH=filesDir/vk_profile.json and set the working directory to filesDir when spawning libvkturn. The native core writes vk_profile.json relative to CWD, which on Android resolves to the APK lib dir (read-only mount), so the captured browser profile was never persisted between runs. - Wrap reader.readLine() in a try/catch so the IOException raised when Process.destroy() closes the stdout pipe from another thread no longer surfaces as "КРИТИЧЕСКАЯ ОШИБКА: read interrupted by close()". Treated as benign on user stop, network handover, quota reset, and any explicit Bad-file-descriptor path. - Bundle the matching libvkturn.so build with the upstream fixes (header stripping, dynamic debug_info, DoH per-endpoint timeout, writeable profile path resolution).
15 MiB
15 MiB
The file is too large to be shown.
View Raw