Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document scanner for Flutter - blank preview screen after delete button pressed and back pressed #717

Closed
anilkumar416 opened this issue Nov 11, 2024 · 2 comments
Assignees

Comments

@anilkumar416
Copy link

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

Screenshot_20241111-124943_Google Play services
Screenshot_20241111-124949_Google Play services
Screenshot_20241111-124955_Google Play services

Steps to reproduce.

  1. open document scanner camera
  2. Take a picture
  3. In preview screen -press delete option - select delete option
  4. It is taking auto retake here if press back it will show blank preview screen
  5. even on press of done button it will show error

What is the expected result?

Blank screen should be avoided on back press

Did you try our example app?

Yes

Is it reproducible in the example app?

Yes

Reproducible in which OS?

Android

Flutter/Dart Version?

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.4.1 23E224 darwin-arm64, locale en-IN)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/to/macos-android-setup for more details.
[!] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS and macOS development.
Download at: https://developer.apple.com/xcode/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
! CocoaPods 1.11.3 out of date (1.13.0 is recommended).
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/to/platform-plugins
To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.95.0)
[✓] Connected device (3 available)
[✓] Network resources

! Doctor found issues in 2 categories.

Plugin Version?

google_mlkit_document_scanner 0.3.0

@bensonarafat
Copy link
Collaborator

@anilkumar416
Can you report this on the Google ml issue section
Document Scanner uses the Play services, which this package does not have control over

@anilkumar416
Copy link
Author

@bensonarafat I have posted this issue googlesamples/mlkit#901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants