Closed af-kabramov closed 7 years ago
@af-kabramov Thank you, but i have not android N device now. can you pull requests?
emulator?) sorry I have no time just now ((
thx , I will try.
Any solutions so far?
fixed, update gradle dependencies as follows:
compile 'com.linchaolong.android:imagepicker:1.2'
thanks @af-kabramov 's solutions
Thank you! It seems there occur another problem with doplicate provider tags now. If programmers use their own implementations of FileProvider, it is not possible because of duplicate name tag android:name="android.support.v4.content.FileProvider". The library and the project which is using the library could have the same name tag, because both extending "android.support.v4.content.FileProvider". I think the library should use its own unique FileProvider with a class just extending android.support.v4.content.FileProvider. Would be more save for programmers. See this post:
android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/org.refocusapp.refocus.staging/cache/pickImageResult.jpeg exposed beyond app through ClipData.Item.getUri()
http://stackoverflow.com/questions/38200282/android-os-fileuriexposedexception-file-storage-emulated-0-test-txt-exposed
good way i did myself