[bug] writeFile throw error Uncaught (in promise) Command plugin:fs|write_file not allowed by ACL
Closed this issue · 1 comments
ckvv commented
Describe the bug
According to the steps in the document https://v2.tauri.app/plugin/file-system/ , this problem exists on both Android and iOS. Is it possible that the document does not specify certain content?
Uncaught (in promise) Command plugin:fs|write_file not allowed by ACL
Reproduction
No response
Expected behavior
No response
Full tauri info
output
[✔] Environment
- OS: Mac OS 15.1.0 x86_64 (X64)
✔ Xcode Command Line Tools: installed
✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-x86_64-apple-darwin (default)
- node: 22.11.0
- pnpm: 9.12.0
- npm: 10.9.0
[-] Packages
- tauri 🦀: 2.0.6
- tauri-build 🦀: 2.0.2
- wry 🦀: 0.46.3
- tao 🦀: 0.30.5
- @tauri-apps/api : 2.0.3 (outdated, latest: 2.1.1)
- @tauri-apps/cli : 2.0.5 (outdated, latest: 2.1.0)
[-] Plugins
- tauri-plugin-shell 🦀: 2.0.2
- @tauri-apps/plugin-shell : 2.0.1 (outdated, latest: 2.2.0)
- tauri-plugin-fs 🦀: 2.2.0
- @tauri-apps/plugin-fs : 2.2.0
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: https://search-wechat.ssk.ai/mp.html#/mpHome
- devUrl: https://search-wechat.ssk.ai/mp.html#/mpHome
- bundler: Vite
[-] iOS
- Developer Teams: Zhiming Yang (ID: LBDW8F4T2X), iDeepMind Artificial Intelligence Robot Science and Technology Co., Ltd. (ID: X2TSE32PPU)
Stack trace
No response
Additional context
No response
FabianLars commented
It's talking about the last section == https://v2.tauri.app/plugin/file-system/#permissions
we already know that we'll need to improve the docs further so i'll close this issue with that