Open miguelbcr opened 5 years ago
I think I had the same issue and when I tried to show the exception cause I got this
java.io.FileNotFoundException: /storage/emulated/0/RxPaparazzo/SAVED-20190808_0444_11666.jpg: open failed: EACCES (Permission denied)
but it works fine in the second runtime
@miguelbcr are you using emulator too? cuz I just run this on a physical device - Android P - and it didn't happen
@miguelbcr are you using emulator too?
yeah, emulator. I had no chance of checking it on a real device 😕 Thanks for your comment!
@miguelbcr are you using emulator too?
yeah, emulator. I had no chance of checking it on a real device 😕 Thanks for your comment!
Anytime! try on a physical device and let me know the results
Sure! thanks!
Unfortunately I have the same issue as @ahmed3elshaer on physical device (Pixel 3). Please let me know if you are going to fix it in the near future? If you want any additional info feel free to ask. Thanks!
You can try .useInternalStorage(). In my case it works! But the image will not be available in the device gallery.
As you can see in the screenshot if you open the app delegating the permissions to RxPermissions, in spite of granting the permissions correctly a "Permission Denied" exception is thrown when picking an image up. But if you kill the app and repeat the process it works fine 🤔
On the other hand if you grant the permissions directly from the app's settings and then launch the app it works fine