juliuscanute / qr_code_scanner

QR Code Scanner for Flutter
BSD 2-Clause "Simplified" License
1.01k stars 785 forks source link

[BUG] QrScannerOverlayShape showing filled rectangle & QRView not expanded #364

Open JonasKuschel opened 3 years ago

JonasKuschel commented 3 years ago

Describe the bug The view of the camera widget highly differs on iPhone Safari, iPhone Chrome & android Chrome compared to mac safari or ios app/android app. It does not fill out the screen completely even though it is in an Expanded() Widget.

Flutter information [✓] Flutter (Channel stable, 2.2.3, on macOS 11.4 20F71 darwin-x64, locale de-DE) • Flutter version 2.2.3 at /Users/jonaskuschel/Developer/flutte r • Framework revision f4abaa0735 (vor 12 Tagen), 2021-07-01 12:46:11 -0700 • Engine revision 241c87ad80 • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2) • Android SDK at /Users/jonaskuschel/Library/Android/ sdk • Platform android-30, build-tools 30.0.2 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents /Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Dev eloper • Xcode 12.5.1, Build version 12E507 • CocoaPods version 1.10.1

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin /9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin /6351-dart • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.58.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.24.0

[✓] Connected device (1 available) • Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.114

• No issues found!

Device

Screenshots IMG_17C354F44831-1

juliansteenbakker commented 3 years ago

The web implementation is currently very basic and not yet fully developed. I however don't have a lot of web experience to fix this myself so i'm hoping other people can help me out here.