0

I'm trying to save the image to the storage by using a work manager. I'm doing this by destroying the application. It's working fine when an application is on the foreground & in the background. But the issue is when application is destroyed. The Uri couldn't able to convert in the bitmap. Permission also is given (accessed). The URI is directly fetched from the gallery. It works absolutely fine if I don't destroy my application. I didn't use a provider in the manifest.

My code image address: My code image address

My Logcat image address: My Logcat image address

Image Picking code from the gallery:-

Image Picking code from gallery

Dnyaneshwar
  • 120
  • 1
  • 9

0 Answers0