Skip to content

Controller startImageStream is not working #775

Open
@AliYar-Khan

Description

@AliYar-Khan

Describe your issue. If applicable, add screenshots to help explain your problem.

So I am stopping the image stream after first scan and then starting it again but it is not detecting barcode after that.

Steps to reproduce.

  1. call _controller?.stopImageStream(); when first barcode is detected
  2. after that start the stream again _controller?.startImageStream(_processImage)
  3. No barcode is being detected now

What is the expected result?

It should detect barcode after starting the stream again

Did you try our example app?

No

Is it reproducible in the example app?

No

Reproducible in which OS?

Android

Flutter/Dart Version?

Flutter 3.29.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision c236373904 (6 weeks ago) • 2025-03-13 16:17:06 -0400
Engine • revision 18b71d647a
Tools • Dart 3.7.2 • DevTools 2.42.3

Plugin Version?

google_mlkit_barcode_scanning: ^0.14.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Barcode ScanningIssues corresponding to Barcode Scanning APIstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions