Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in Android 13 #34

Open
dhavanikgithub opened this issue Jul 15, 2023 · 3 comments
Open

Not working in Android 13 #34

dhavanikgithub opened this issue Jul 15, 2023 · 3 comments
Assignees

Comments

@dhavanikgithub
Copy link

dhavanikgithub commented Jul 15, 2023

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
image

Smartphone (please complete the following information):

  • Device: OnePlus Nord CE 3 Lite
  • OS: Oxigene
@massimilianochiodi
Copy link

Have same problem

@bineshMobii
Copy link

Still, this same issue is there. I cannot able to open Gallery due to this. Please reply once fixed this.

@massimilianochiodi
Copy link

massimilianochiodi commented Aug 28, 2023

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))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants