tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[v2][Android]How to covert a content URI to an openable filepath?

Open SilverStr1ng opened this issue 1 year ago • 1 comments

Describe the problem

I don't know much about android development, when I use dialog to get the path of a file in an app built in tauri, I get a string starting with content://, the fs module of rust doesn't read such a path, what can I do to read the file in the app?

Describe the solution you'd like

Read file in Android App.

Alternatives considered

No response

Additional context

No response

SilverStr1ng avatar Mar 05 '24 08:03 SilverStr1ng

I second this. The fs plugin already supports this convertion, there is just no way to do it manually.

NexelOfficial avatar Dec 04 '24 20:12 NexelOfficial