camera_camera icon indicating copy to clipboard operation
camera_camera copied to clipboard

Fast tapping on take picture button throws exception

Open addyu opened this issue 4 years ago • 2 comments

Just need a try, catch block in takePhoto method of CameraCameraController to solve this.

void takePhoto() async {
    try {
      final file = await _controller.takePicture();

      onPath(file.path);
    } catch (e) {}
}

addyu avatar Jul 29 '21 13:07 addyu

Any update here? We have the same problem.

alexaniko88 avatar Sep 28 '21 06:09 alexaniko88

Created a PR #78

addyu avatar Nov 12 '21 10:11 addyu