Skip to content
New issue

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

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

Already on GitHub? # to your account

Android 13 - not working correctly #162

Open
Seg9 opened this issue Jan 27, 2023 · 1 comment
Open

Android 13 - not working correctly #162

Seg9 opened this issue Jan 27, 2023 · 1 comment

Comments

@Seg9
Copy link

Seg9 commented Jan 27, 2023

Hi, the library is not working correctly on Android 13, when targeting Android 13 in app. If you have already installed running application with alredy requested permissions, it works correctly. But if you install the app for the first time, after targeting A 13, then the dialog with both options (camera, gallery) will be shown, but after the click on gallery button, nothing happens. And when clicking on camera button, permission dialog will be shown, but after clicking on "while using the app" permission dialog hides, and then the camera button will not be visible the next time the pickimagedialog shows. It will be hidden forever.

bothoptions
onlygallery
permissisons

@jrvansuita
Copy link
Owner

This lib I created long long time ago. The main purpose of it was using on small project, to add value to my github portfolio and to create some sort of collaboration with another android devs that was willing to use and contribute to this library.

So, telling you that, what I suggest is: Handle the permission boilerplate on your side, to make sure the user has granted it before you call the lib to pop up the dialog.

Or, what I strongly encourage you to do is: Clone this lib, adapt it to android 13 permissions and create a pull request. I will love to review and make this lib to support that.

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

No branches or pull requests

2 participants