Skip to content

How to implement cross-platform folder picker in tauri for Desktop and Android? #10860

Answered by FabianLars
pan-grayza asked this question in Q&A
Discussion options

You must be logged in to vote

Sounds like you didn't add the dependencies in a platform dependent way, could that be? It would look something like this

[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
rfd = "123"

[target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
ndk = "123"

Also did you know about our dialog plugin? It should work on desktop and mobile now.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@pan-grayza
Comment options

@FabianLars
Comment options

@pan-grayza
Comment options

@FabianLars
Comment options

@pan-grayza
Comment options

Answer selected by pan-grayza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants