Skip to content

Conversation

sreesharp
Copy link

Starting with Android SDK 24 it is no longer allowed to expose the file: path. Instead it's recommended to use the content: URI. More info here:

https://developer.android.com/reference/android/os/FileUriExposedException.html

@qiankf
Copy link

qiankf commented Feb 13, 2019

So after accept your PR, it is also requied to pass the path with "content:uri" format instead of file:path, right?
How to save and get the image in path with content:uri? Thanks!

@johnckendall
Copy link

@sreesharp thanks for this! worked great

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

Successfully merging this pull request may close these issues.

3 participants