react-native-mail icon indicating copy to clipboard operation
react-native-mail copied to clipboard

Added FileProvider support for Android

Open sreesharp opened this issue 7 years ago • 2 comments

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

sreesharp avatar Nov 16 '18 03:11 sreesharp

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!

qiankf avatar Feb 13 '19 19:02 qiankf

@sreesharp thanks for this! worked great

johnckendall avatar Jan 21 '20 20:01 johnckendall