advance_image_picker icon indicating copy to clipboard operation
advance_image_picker copied to clipboard

You need camera permission error in latest Android phones

Open nidhinchs opened this issue 1 year ago • 5 comments

After manually receive runtime permission i have open image picker but still it shows error that "You need allow camera permission" and can not click on request permission button.

nidhinchs avatar Apr 13 '23 04:04 nidhinchs

Looks like no one is actively maintaining the repo. We might have to move to another package perhaps. I am facing the same problem.

abhinovpankaj avatar Apr 21 '23 16:04 abhinovpankaj

Hello,

I had the same problem. I solved the problem like this, I bypassed the permission section in the imagepicker.dart file. I wrote a code block where I asked for permission myself.

toprako avatar May 25 '23 05:05 toprako

Thank you for sharing about problem. We apologize for the delay. We're so busy in some working projects for this month. After it finished, we'll investigate to resolve above problem.

weta-vn avatar Jun 05 '23 15:06 weta-vn

Hello everyone, I come to bring a temporary solution to this issue.

you need to create a folder called "assets\advance_image_picker-masterUP"

put the contents of this zip in that folder

and in your pubspec.yaml

You must change your dependency to stay like this

  advance_image_picker:
    path: assets\advance_image_picker-masterUP

advance_image_picker-masterUP.zip

machadoguilhermebr avatar Oct 18 '23 16:10 machadoguilhermebr

Add this in pubspec.yaml:

dependency_overrides:
  camera:

This will cause the latest version of the plugin to be used. camera which is the one that generates the conflict with Android 13 in older versions of the camera plugin (version used by advance_image_picker).

mkdirmatias avatar Dec 01 '23 03:12 mkdirmatias