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

build: Error (Xcode): ../../.pub-cache/hosted/pub.dev/pdfx-2.5.0/lib/src/viewer/pdf_page_image_provider.dart:24:55: Error: Type 'DecoderCallback' not found. #7

Open
1 task
RoBiN-HoOd-1 opened this issue Dec 7, 2023 · 4 comments

Comments

@RoBiN-HoOd-1
Copy link

RoBiN-HoOd-1 commented Dec 7, 2023

Description
package giving error on just installing and running!
Describe what changes need to be done to the build system and why.

Requirements

  • The build system is passing
@RoBiN-HoOd-1
Copy link
Author

this is my flutter doc

[✓] Flutter (Channel stable, 3.16.2, on macOS 14.1.2 23B92 darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google
Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2023.1)
[✓] Connected device (3 available)
[✓] Network resources

! Doctor found issues in 1 category.

@mirkancal
Copy link
Owner

mirkancal commented Dec 7, 2023

Hi @RoBiN-HoOd-1, thank you for bringing to my attention.

This package completely depending on pdfx to extract pages, and seems like pdfx has issues with the latest versions of Flutter at the moment.

image

Related issues:

ScerIO/packages.flutter#460
ScerIO/packages.flutter#461
ScerIO/packages.flutter#463

@BrianMwas
Copy link

Same issue here

@mirkancal
Copy link
Owner

@BrianMwas what's your flutter and pdf_thumbnail version?

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