Open dhavanikgithub opened 1 year ago
Have same problem
Still, this same issue is there. I cannot able to open Gallery due to this. Please reply once fixed this.
Use android native picker :
private val pickMultipleVisualMedia = registerForActivityResult(
ActivityResultContracts.PickMultipleVisualMedia(
Costanti.NUMERO_IMMAGINI_CENSIMENTO
)
) { uris ->
// Process URIs
Timber.d("Photo Picker URIs count", uris.size)
dagalleria(uris)
}
pickMultipleVisualMedia.launch(PickVisualMediaRequest(ActivityResultContracts.PickVisualMedia.ImageOnly))
Describe the bug Images is not visible and print snack bar The permission to access Files is not granted, please go to settings to grant it
Screenshots
Smartphone (please complete the following information):