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

FileUriExposedException #197

Open
Jaymassena opened this issue Sep 1, 2016 · 12 comments
Open

FileUriExposedException #197

Jaymassena opened this issue Sep 1, 2016 · 12 comments
Assignees
Labels

Comments

@Jaymassena
Copy link

I'm getting a FileUriExposedException every time I try to access the file generated by the camera app since updating to target version 24. If you want this library to support Nougat, you should implement the same fix you did for the multipicker library.

@coomar2841 coomar2841 added the bug label Sep 1, 2016
@coomar2841 coomar2841 self-assigned this Sep 1, 2016
@DanielContreras18881
Copy link

Hi,

I have the same Issue with the version 24, do you need help to improve the library?

@coomar2841
Copy link
Owner

Will release this fix in a few days.

@DanielContreras18881
Copy link

Ok, I'm fixing it in my own, when I finished it I'll check if you finished to send my changes to you

@vadimbryl
Copy link

@unxavi
Copy link

unxavi commented Oct 25, 2016

did any body finish implementing a solution?

@unxavi
Copy link

unxavi commented Oct 25, 2016

@coomar2841 @DanielContreras18881 any solution about this issue?

@liccowee
Copy link

Have this issue too. Anyone know how to solve this for now?

@vadimbryl
Copy link

vadimbryl commented Nov 25, 2016

I solved it. Use ImageChooserManagerFix instead of ImageChooserManager.

ImageChooserManagerFix.txt

@harirao001
Copy link

+1
Still having issue.
Any one has fixes then please post it.
Thanks

@vadimbryl
Copy link

I posted it above.

@tnyadav
Copy link

tnyadav commented Sep 16, 2017

@vadimbryl ImageChooserManagerFix working fine for me as I had the same issue.
Thanks

@gusgol
Copy link

gusgol commented Nov 17, 2017

As a workaround you can add this to your application onCreate method:

StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());

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

No branches or pull requests

9 participants