You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!DOCTYPE html><html><head><!-- If you are serving your web app in a path other than the root, change the href value below to reflect the base path you are serving from. The path provided below has to start and end with a slash "/" in order for it to work correctly. For more details: * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base This is a placeholder for base href that will be replaced by the value of the `--base-href` argument provided to `flutter build`. --><basehref="$FLUTTER_BASE_HREF"><metacharset="UTF-8"><metacontent="IE=Edge" http-equiv="X-UA-Compatible"><metaname="description" content="A new Flutter project."><!-- iOS meta tags & icons --><metaname="mobile-web-app-capable" content="yes"><metaname="apple-mobile-web-app-status-bar-style" content="black"><metaname="apple-mobile-web-app-title" content="testpdf"><linkrel="apple-touch-icon" href="icons/Icon-192.png"><!-- Favicon --><linkrel="icon" type="image/png" href="favicon.png"/><title>testpdf</title><linkrel="manifest" href="manifest.json"></head><body><scriptsrc="flutter_bootstrap.js" async></script><scriptsrc="//cdnjs.cloudflare.com/ajax/libs/pdf.js/2.11.338/pdf.min.js"></script><scripttype="text/javascript">pdfjsLib.GlobalWorkerOptions.workerSrc="//cdnjs.cloudflare.com/ajax/libs/pdf.js/2.11.338/pdf.worker.min.js";</script></body></html>
pubspec.yaml
name: testpdfdescription: "A new Flutter project."publish_to: 'none'# Remove this line if you wish to publish to pub.devversion: 1.0.0+1environment:
sdk: ^3.6.0dependencies:
flutter:
sdk: fluttercupertino_icons: ^1.0.8syncfusion_flutter_pdfviewer: ^28.1.39dev_dependencies:
flutter_test:
sdk: flutterflutter_lints: ^5.0.0flutter:
uses-material-design: trueassets:
- assets/pdf/FailingDocument.pdf
Screenshots or Video
Video demonstrationScreenRecBug.mov
Stack Traces
Stack Traces
[Add the StackTraces here]
On which target platforms have you observed this bug?
Web
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.2 24C101 darwin-x64, locale it-IT) • Flutter version 3.27.1 on channel stable at /Users/ciro/Dati/Sorgenti/_tools/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 17025dd882 (4 weeks ago), 2024-12-17 03:23:09 +0900 • Engine revision cb4b5fff73 • Dart version 3.6.0 • DevTools version 2.40.2[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/ciro/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Users/ciro/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1) • All Android licenses accepted.[✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.16.2[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome[✓] Android Studio (version 2024.2) • Android Studio at /Users/ciro/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 21.0.4+-12422083-b607.1)[✓] IntelliJ IDEA Ultimate Edition (version 2024.3.1.1) • IntelliJ at /Users/ciro/Applications/IntelliJ IDEA Ultimate.app • 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[✓] IntelliJ IDEA Community Edition (version 2024.3.1.1) • IntelliJ at /Users/ciro/Applications/IntelliJ IDEA Community Edition.app • 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[✓] VS Code (version 1.86.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension can be installed from: 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter[✓] Connected device (4 available) • VTR L09 (mobile) • 6PQ0217904000641 • android-arm64 • Android 9 (API 28) • iScorpyo (mobile) • 00008110-000A0C5C21DA801E • ios • iOS 18.1.1 22B91 • macOS (desktop) • macos • darwin-x64 • macOS 15.2 24C101 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.265[✓] Network resources • All expected network resources are available.• No issues found!
The text was updated successfully, but these errors were encountered:
We are able to replicate the reported issue that the specific document is not loaded in the Flutter PDF Viewer. Currently, we are validating this issue and we will update further details once we find the root cause of this issue
Bug description
Open a specific PDF document in flutter web using SfPdfViewer returns an error. In attach the offending PDF document.
FailingDocument.pdf
Steps to reproduce
flutter create testpdf
flutter pub add syncfusion_flutter_pdfviewer
The error is raised, no errors in console
Code sample
Code sample
main.dart
index.html
pubspec.yaml
Screenshots or Video
Video demonstration
ScreenRecBug.mov
Stack Traces
Stack Traces
On which target platforms have you observed this bug?
Web
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: