Skip to content

Flutter App crashes when ImagePicker is called double tapped #19819

@PreritO

Description

@PreritO

Hi everyone, I seem to be having a problem using the flutter image_picker plugin. My application is crashing whenever I double tap a button which launches image_picker with the following error:

image

Steps to Reproduce

  1. Open the demo image_picker application
  2. Double-Tap the camera icon to take an image
  3. Click "Deny" when the runtime permissions dialog comes up asking for phone to grant permissions
  4. Application crashes

Logs

image

Flutter Analyze

image

Flutter Doctor

image

Metadata

Metadata

Assignees

Labels

c: crashStack traces logged to the consolep: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions