#IOS File system access?
1 messages · Page 1 of 1 (latest)
I too am interested in getting this to work. According to the documentation (WIP), iOS is not one of the supported platforms for the fs plugin. Hmmm
this code on iOS just opens the photo chooser from photos app. Would like access to the files app (with user permission, of course)
import { open } from '@tauri-apps/plugin-dialog'
// stuff here...
const file = await open({
multiple: false,
filters: [{ name: 'CSV', extensions: ['csv'] }]
})
I found this in the open issues on GitHub https://github.com/tauri-apps/tauri/issues/6517
By file system access i specifically meant the access to the config files similar to windows having the %appdata% and macos ApplicationSupport and the On My iPhone folder where i can store user data for my app.
Oh, I see. Sorry.
It must be possible because the Store Plugin does it somehow. It is compatable with iOS according to the docs. Hope you get it sorted! Cheers
is there any solution to this?
No i gave up on tauri IOS and switched to native Swift with XCode
Sad, it seems Tauri has so much promise. I still cannot get file selection to work either😔
Yeah, the developers itself said tauri mobile especially for IOS was more an experiment than a stable implementation. So you are better off by just using Swift and doing it natively.
So much then for a single codebase. Hopefully it will come in time