

#Imagetype java android#
Right now on Android 10, without the specified option, the following error is raised: 17:58:20.005 7712-7774/_map E/SubsamplingScaleImageView: Failed to initialise bitmap decoder In Android 11 it will probably be the default, so your library won’t work anymore then. Scoped Storage is enabled in Android 10, as long as you don’t use android:requestLegacyExternalStorage="true" in your manifest.

Doing that, Glide is allowed to open the input stream via the Android Content Provider/MediaStore Uri and all is fine. The library should not use File, but always work with the Uri.
