Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hardcoded MethodChannel name - potential bugs? #29

Open
sesam opened this issue Aug 30, 2020 · 0 comments
Open

hardcoded MethodChannel name - potential bugs? #29

sesam opened this issue Aug 30, 2020 · 0 comments

Comments

@sesam
Copy link

sesam commented Aug 30, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant