Describe the bug
uri starting with file:/// is not loaded.
A change occurred in the file creation method in version 2.2.2, which is expected to be related to this.
#1466
override fun map(data: Uri, options: Options): File? {
if (!isApplicable(data)) return null
val uri = if (data.scheme == null) data else data.buildUpon().scheme(null).build()
return File(uri.toString())
}
In version 2.2.1, the uri image loads well.
To Reproduce
Try to load a uri starting with file:///.
For example file:///storage/emulated/0/android/data/{package-name}/cache/images/temp.jpg
Version
2.2.2
Describe the bug
uri starting with
file:///is not loaded.A change occurred in the file creation method in version
2.2.2, which is expected to be related to this.#1466
In version
2.2.1, the uri image loads well.To Reproduce
Try to load a uri starting with
file:///.For example
file:///storage/emulated/0/android/data/{package-name}/cache/images/temp.jpgVersion
2.2.2