Skip to content

Swift Package Manager Support: Add FlutterFramework Dependency #2570

Open

Description

@hellohuanlin

Hello,

Thank you for adding Swift Package Manager support to your plugin! Please also add the FlutterFramework dependency, as described in the updated migration guide. Future versions of Flutter will require this dependency.

  1. Add FlutterFramework to each of your plugin's Package.swift files:
    dependencies: [
+       .package(name: "FlutterFramework", path: "../FlutterFramework")
    ],
    targets: [
        .target(
            name: "plugin_name",
            dependencies: [
+               .product(name: "FlutterFramework", package: "FlutterFramework")
            ]
        )
    ]
  1. Raise your plugin's minimum Flutter version to at least 3.41 in pubspec.yaml:

    environment:
      sdk: ^3.11.0
      flutter: ">=3.41.0"

If you have questions, reach out in the #hackers-ios channel on Flutter's Discord or open a GitHub issue.

Thank you for your wonderful contributions to the Flutter ecosystem!

Activity

  1. Mugunthan-Ramalingam commented on Nov 9, 2026

    @Mugunthan-Ramalingam
    Contributor

    Hi hellohuanlin,

    Thank you for bringing this to our attention and for sharing the updated Flutter Swift Package Manager migration guidance.

    We have reviewed the reported information and verified our current implementation. Swift Package Manager support is already available in the applicable Syncfusion PDF Viewer packages. At this time, we have not observed any build or compatibility issues with the Flutter versions currently supported by our packages.

    However, we understand that Flutter has introduced additional recommendations regarding the FlutterFramework dependency for future releases. We are reviewing the latest guidance and evaluating whether any updates are required in our implementation to ensure continued compatibility with upcoming Flutter versions.

    We are validating your query at our end, and we will share further details in two business days on November 11, 2026. We appreciate your patience until then.

    Thank you for your valuable feedback and continued support of Syncfusion Flutter controls.

    Regards,
    Mugunthan.

  2. Mugunthan-Ramalingam commented on Nov 11, 2026

    @Mugunthan-Ramalingam
    Contributor

    Hi hellohuanlin,

    Thank you for your patience.

    We have completed our review of the latest Flutter Swift Package Manager migration guidance and confirmed that the proposed migration is applicable to our Swift Package Manager-enabled PdfViewer packages. We have planned to incorporate this migration along with a few other package maintenance updates.

    These changes are scheduled for our weekly release on November 24, 2026. We will notify you once the changes are available.

    Thank you for your valuable feedback and continued support of Syncfusion Flutter controls.

    Regards,
    Mugunthan.

  3. Mugunthan-Ramalingam commented on Nov 24, 2026

    @Mugunthan-Ramalingam
    Contributor

    Hi hellohuanlin,

    Thank you for your patience.

    The requested Swift Package Manager migration changes have been incorporated and are now available in the latest release. We kindly request you to update the Syncfusion Flutter PDFViewer package to the version below to receive these improvements.

    Version: https://pub.dev/packages/syncfusion_flutter_pdfviewer/versions/35.2.13

    Thank you for reporting this and helping us keep our packages aligned with the latest Flutter recommendations. Please let us know if you have any further questions.

    Regards,
    Mugunthan.

  4. added
    waiting for customer response
    solved
    and removed
    follow-up scheduled
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    generalsolvedwaiting for customer response

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions