ImagePicker icon indicating copy to clipboard operation
ImagePicker copied to clipboard

In Android 13 ImagePicker not working.

Open tayyabshafiq0602 opened this issue 1 year ago • 7 comments

Summary

In android 13 ImagePicker not working.

Code to reproduce

In android 13 new permissions added please add this permission

.

Android version

13

Impacted devices

Installation method

implement through github

SDK version

33

Other information

tayyabshafiq0602 avatar Jan 24 '23 07:01 tayyabshafiq0602

Yes, this is a real issue. You have to fall back to using PhotoPicker if the API version is 33 or higher. PhotoPicker can be used from API >=30

see https://developer.android.com/training/data-storage/shared/photopicker#kotlin for more info

Right now, using the library and targetting API 33 or above will give a permission error

jstokke avatar Feb 03 '23 09:02 jstokke

yes I am also facing the same in android 13, but the above solution is just for picking images. As we have integrated this lib choosing image from camera or gallery both and the output result can be cropped as per our requirement. so everything was managed by library itself. If everything need to be done separately what will be the use of using it in the first place.

ArpitSharma32 avatar Feb 06 '23 09:02 ArpitSharma32

The solution was the way the library would have to implement it, not as a workaround for the users of the library, but I have the feeling the author is no longer active.

jstokke avatar Feb 06 '23 10:02 jstokke

Working fine on Android 13 for me. I was facing this issue myself. Upon some some debuggin it turns out it was a permission issue as I was using Dexter to handle permissions. Hope it helps anyone.

Faizanshah21 avatar Jun 03 '23 11:06 Faizanshah21

can u help me?

wahyuafendi avatar Sep 04 '23 02:09 wahyuafendi

Android 13 does not work, although I give all permissions, there is no process when clicked. For example, the camera does not open and the gallery does not open.

hasanozn avatar Oct 06 '23 14:10 hasanozn

@tayyabshafiq0602, since the upgrade of API version 33, this library is not working anymore. I was using it for more than a year now. It is very dificult to move to any other library since my app is heavily dependent on camera. We appreaciate your revert on these queries.

sharukhrs avatar Dec 08 '23 07:12 sharukhrs