Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to save file to external storage in android 11 #35

Open
AbanobAtefLun opened this issue Apr 6, 2022 · 3 comments
Open

How to save file to external storage in android 11 #35

AbanobAtefLun opened this issue Apr 6, 2022 · 3 comments

Comments

@AbanobAtefLun
Copy link

Hi incredibleZayed,
i want to thank you about your great package that helped me very much,
i want to ask how to implement the function of your example on android 11
i could save the pdf file i downloaded through http package to external storage when i used : write external storage, read external storage permission and it worked perfectly.
when i used for android 11 i had to add Manage_External_Storage permission to work, but this solution not the best since my app is rejected by google due to this permission while my app is not mainly for processing user files.

  • so i want to ask what is the best solution to use your package with android 11 and get my app accepted by google play.
@incrediblezayed
Copy link
Owner

Which one of the method you are using?

@thiagocarvalhodev
Copy link

I'm using the saveAs method and is working (at least on the simulator running as debug mode).

@incrediblezayed
Copy link
Owner

I'll look into it and try to resolve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants