Skip to content

Web: MissingPluginException(No implementation found for method listen on channel native_device_orientation_events) #149

@jithware

Description

@jithware

Describe the bug
When running the example app on web the following errors are produced:

The following MissingPluginException was thrown while activating platform stream on channel
native_device_orientation_events:
MissingPluginException(No implementation found for method listen on channel
native_device_orientation_events)
...
Another exception was thrown: MissingPluginException(No implementation found for method listen on channel
rotation_sensor/orientation)
DartError: Unsupported operation: add
...
DartError: MissingPluginException(No implementation found for method getOrientationStream on channel rotation_sensor/method)

To Reproduce
Steps to reproduce the behavior:

  1. Execute: cd example && flutter run -d chrome
  2. Click on 'Minimum Example'
  3. Click on 'Allow while visiting site'
  4. See error in console

Expected behavior
No error

Desktop:

  • Browser: Chrome Version 139.0.7258.66 (Official Build) (64-bit)

Additional context
This may be a similar issue as reported in #35

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions