Skip to content

hardcoded MethodChannel name - potential bugs? #29

Description

@sesam

I noticed a hardcoded channel name here:

https://github.com/clovisnicolas/flutter_screen/blob/master/lib/screen.dart#L6

Reading the docs https://api.flutter.dev/flutter/services/MethodChannel-class.html

The logical identity of the channel is given by its name. Identically named channels will interfere with each other's communication.

would there be a problem if multiple flutter apps would use this pub?

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions