#IOS File system access?

1 messages · Page 1 of 1 (latest)

graceful plume
#

How can i access the filesystem on IOS i cannot get tauri-plugin-fs to work, and the same is true for normal rust fs. I'm specifically interested in the "On my iPhone" folder, where most of the apps store files that are directly accessible to the user through the Files app.

slender glacier
#

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

Tauri

Access the file system.

#

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'] }]
    })
graceful plume
#

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.

slender glacier
#

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

mellow oyster
#

is there any solution to this?

graceful plume
#

No i gave up on tauri IOS and switched to native Swift with XCode

slender glacier
#

Sad, it seems Tauri has so much promise. I still cannot get file selection to work either😔

graceful plume
slender glacier
#

So much then for a single codebase. Hopefully it will come in time