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

The cropper don't work on mobile and tablet web #41

Open
YawarOsman opened this issue Nov 1, 2023 · 2 comments
Open

The cropper don't work on mobile and tablet web #41

YawarOsman opened this issue Nov 1, 2023 · 2 comments

Comments

@YawarOsman
Copy link

YawarOsman commented Nov 1, 2023

I have used the cropper for my web application but when i open it with mobile and try to crop and image it will show a white image,
i'm using the latest version crop_image: ^1.0.11 at the moment.

i'm using this code:

final bitmap = await controller.croppedBitmap();
await bitmap.toByteData()

Flutter Doctor:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.9, on macOS 11.7.10 20G1427 darwin-x64, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 13.0)
    ✗ Flutter requires Xcode 14 or higher.
      Download the latest version or update via the Mac App Store.
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.83.1)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 2 categories.
@YawarOsman YawarOsman changed the title The cropper don't work on mobile web The cropper don't work on mobile and tablet web Nov 1, 2023
@moradiyajay
Copy link

moradiyajay commented Feb 14, 2024

Facing same issue

@deakjahn
Copy link
Owner

Any chance you use the old HTML renderer instead of the newer CanvasKit?

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

3 participants