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

Displaying au blank page on DocumentScannerFlutter.launch with targetSdkVersion 33 on android 13 #30

Open
stephaneleonard opened this issue Oct 12, 2022 · 3 comments

Comments

@stephaneleonard
Copy link

Hi,

While testing my app on a physical pixel 6 running android 13 I came across the issue of a blank screen and no error logged or found while debugging.

build.gradle :
compileSdkVersion 33
targetSdkVersion 33

Reverting to targetSdkVersion 32 fixes the issue

can be reproduced on an android 13 simulator

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.4, on macOS 12.6 21G115 darwin-arm, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.72.1)
[✓] Connected device (5 available)
[✓] HTTP Host Availability

Not a big issue but not great for the future

Hope it helps keep this amazing plugin up to date

@louisschprs
Copy link

This has to do with Android 13 (API 33) changes to file permissions - see https://medium.com/tech-takeaways/migrating-my-app-to-android-13-f5ad0649d23d

@IgeeTheron
Copy link

IgeeTheron commented Jan 27, 2023

I have fixed the issue on my fork:
https://github.com/IgeeTheron/document_scanner_flutter

Juts add it to pubspec:

  document_scanner_flutter:
    git:
      url: https://github.com/IgeeTheron/document_scanner_flutter
      ref: master

I had to fix the issue here:
https://github.com/IgeeTheron/AndroidDocumentScanLibrary

@smooth-vlad
Copy link

I have fixed the issue on my fork: https://github.com/IgeeTheron/document_scanner_flutter

Juts add it to pubspec:

  document_scanner_flutter:
    git:
      url: https://github.com/IgeeTheron/document_scanner_flutter
      ref: master

I had to fix the issue here: https://github.com/IgeeTheron/AndroidDocumentScanLibrary

Thanks a lot!

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

No branches or pull requests

4 participants