ImageSelector icon indicating copy to clipboard operation
ImageSelector copied to clipboard

Intent 设置Uri 没有适配android N

Open ccc1994 opened this issue 8 years ago • 2 comments

Intent 设置Uri 没有适配android N android.os.FileUriExposedException: file:///storage/emulated/0/LiteNote/pictures/1476891731242.jpg exposed beyond app through Intent.getData()

ccc1994 avatar Oct 20 '16 11:10 ccc1994

This is due to the new android N security features. The library should use a File provider rather than a File Uri. I have fixed this issue on my fork and might generate a pull-request for this library soon if @ioneday would like me to.

Nicrob64 avatar Nov 08 '16 22:11 Nicrob64

@Nicrob64 hi,I downloaded your, but I found some problems; my phone(huawi : meta8 ; android:6.01) : select picture →→→Take pictures→→→complete can't show and add my Gallery;

mstbetter avatar Nov 30 '16 01:11 mstbetter