Skip to content

fix gallery permission#86

Merged
Alex009 merged 8 commits intoicerockdev:developfrom
Lobynya:develop
Aug 6, 2025
Merged

fix gallery permission#86
Alex009 merged 8 commits intoicerockdev:developfrom
Lobynya:develop

Conversation

@Lobynya
Copy link
Copy Markdown
Contributor

@Lobynya Lobynya commented Aug 6, 2025

For picking image from gallery ImagePickerFragment use

    val intent = Intent(
        Intent.ACTION_PICK,
        MediaStore.Images.Media.EXTERNAL_CONTENT_URI
    )
    startActivityForResult(intent, requestCode)

this method don't need any permission

in the current implementation, the application needs to have android.permission.READ_MEDIA_IMAGES in the manifest, and Google Play considers such permission unnecessary for a single file selection

@Alex009
Copy link
Copy Markdown
Member

Alex009 commented Aug 6, 2025

hi

  1. need fix for CI
  2. this solution will works on all supported API levels?

@Lobynya
Copy link
Copy Markdown
Contributor Author

Lobynya commented Aug 6, 2025

Yes, I check android api versions: 24, 28, 34, 36

fix ci

@Alex009 Alex009 merged commit a86c5e9 into icerockdev:develop Aug 6, 2025
1 check passed
@Alex009 Alex009 mentioned this pull request Aug 6, 2025
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

Successfully merging this pull request may close these issues.

2 participants