Skip to content

Added FileProvider support for Android#127

Open
sreesharp wants to merge 1 commit into
chirag04:masterfrom
sreesharp:master
Open

Added FileProvider support for Android#127
sreesharp wants to merge 1 commit into
chirag04:masterfrom
sreesharp:master

Conversation

@sreesharp
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

@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