You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you try calling create_dir_all on the path returned by app_data_dir ? The path it returns is technically wrong so it's more nested than it should be and since Tauri doesn't create directories it doesn't need itself you may be trying to write a file into a non existent directory.
Describe the bug
The data dir
app_handle.path().app_data_dir()
is throwing permission denied in ios.Reproduction
Used
app_handle.path().app_data_dir().
andstd:fs
to write a json fileThrows:
Expected behavior
No response
Full
tauri info
outputStack trace
Additional context
On the other hand: this is working:
dirs::home_dir().expect("Failed to retrieve home directory");
even for ios.Using home dir to store files!!The text was updated successfully, but these errors were encountered: