flutter-ml / google_ml_kit_flutter

A flutter plugin that implements Google's standalone ML Kit
MIT License
990 stars 747 forks source link

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

Closed anilkumar416 closed 4 days ago

anilkumar416 commented 1 week ago

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 commented 4 days ago

@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