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

MediaStore Sample (Can't convert uri to file.. security exception) #60

Open
shaon2016 opened this issue Oct 24, 2020 · 0 comments
Open

Comments

@shaon2016
Copy link

I have implemented this sample in my project... Everything was ok but when I try to convert the content uri to File to upload the image to server.. it throws an error.....

Security Exception. In Android 10

If I enable legacy in androidmanifest.xml file then it is ok...

If it shows a security exception why u make this sample recently?

What is the alternative...what is the uses of this sample if i can't use the image I pick?????

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

1 participant