Files
tauri-plugins-workspace/plugins
Lucas Fernandes Nogueira 9106093f77 fix(fs): map open options to valid Android modes (#3624)
In plugins/fs/src/lib.rs OpenOptions::android_mode, the mode was built by
concatenating r/w/t/a, so open(url, {append: true}) (read defaults to
true) produced "ra" and write+truncate+append "wta", which
ParcelFileDescriptor.parseMode / ContentResolver reject.

The options now map to r, w, wt, wa, rw or rwt. append wins over the
default read (no read+append mode exists). create/createNew still have no
Android equivalent (documented on the function). Unit tests for the
mapping, compiled on the host with cfg(test).
2026-09-23 12:58:28 -03:00
..
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 21:54:21 -03:00
2026-09-22 21:54:21 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00
2026-09-22 11:30:47 -03:00