Skip to content

Web build fails for Flutter 3.32 due to platformViewRegistry removal #1442

Open
@jon-mly

Description

@jon-mly

When building with this plugin for web starting from Flutter 3.32, this error is thrown :

../../../../.pub-cache/git/flutter-mapbox-gl-4a09cc4401bb77e900f005cc1e2f712193b997af/mapbox_gl_web/lib/src/mapbox_web_gl_platform.dart:48:8: Error: Undefined name 'platformViewRegistry'. ui.platformViewRegistry.registerViewFactory(

This is due to platformViewRegistry not being defined in dart:ui anymore.

I will be creating a PR to fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions