syncfusion / flutter-widgets

Syncfusion Flutter widgets libraries include high quality UI widgets and file-format packages to help you create rich, high-quality applications for iOS, Android, and web from a single code base.
1.47k stars 699 forks source link

Error: The method 'getTileImage' isn't defined for the class 'PdfViewerPlatform' #1891

Open TheFe91 opened 3 weeks ago

TheFe91 commented 3 weeks ago

Bug description

When building with version 25.2.6 the build fails with the error Error: The method 'getTileImage' isn't defined for the class 'PdfViewerPlatform'

Steps to reproduce

  1. Install v 25.2.6
  2. Try to build

Code sample

No

Screenshots or Video

No

Stack Traces

No stack trace (build failure)

On which target platforms have you observed this bug?

Android, iOS

Flutter Doctor output

Doctor output ```console [✓] Flutter (Channel stable, 3.22.1, on macOS 14.4.1 23E224 darwin-arm64, locale it-IT) • Flutter version 3.22.1 on channel stable at /Applications/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision a14f74ff3a (8 days ago), 2024-05-22 11:08:21 -0500 • Engine revision 55eae6864b • Dart version 3.4.1 • DevTools version 2.34.3 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/alessandrodefendenti/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Users/alessandrodefendenti/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15F31d • CocoaPods version 1.15.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2023.3) • Android Studio at /Users/alessandrodefendenti/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 17.0.10+0-17.0.10b1087.21-11572160) [✓] IntelliJ IDEA Community Edition (version 2024.1.2) • IntelliJ at /Users/alessandrodefendenti/Applications/IntelliJ IDEA Community Edition.app • Flutter plugin version 79.2.3 • Dart plugin version 241.17502 [✓] VS Code (version 1.89.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.88.0 [✓] Connected device (4 available) • iPhone di Alessandro (mobile) • 00008110-001558810EB8401E • ios • iOS 17.5.1 21F90 • macOS (desktop) • macos • darwin-arm64 • macOS 14.4.1 23E224 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.4.1 23E224 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 125.0.6422.112 [✓] Network resources • All expected network resources are available. • No issues found! ```
immankumarsync commented 3 weeks ago

Hi @TheFe91,

Could you run the following command from your project directory and let us know whether it resolves the issue?

flutter pub upgrade syncfusion_pdfviewer_platform_interface