Skip to content

InvokeChannel limitation #17

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

Closed
typexy opened this issue Sep 23, 2021 · 1 comment
Closed

InvokeChannel limitation #17

typexy opened this issue Sep 23, 2021 · 1 comment

Comments

@typexy
Copy link

typexy commented Sep 23, 2021

Hi @Dev-hwang ,
I'd like to spawn a foreground task with this plugin, which executes code with other plugins (e.g. flutter_beacon). When I do this, I receive errors like "MissingPluginException Method x not found in channel y".

Is this due to the fact, that foreground task runs in a separate isolate and as a result it is not possible to to call methodIncovate because it needs to run in "UIThread"? Is this an implicit limitation or is this only due to other plugins? (Guess it's answered in #10.

Is there any possible workaround you can think of without moving away fro this plugin?

@Dev-hwang
Copy link
Owner

Try the flutter clean command. If you've upgraded the version of this plugin, it's most likely a local build cache issue.

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

2 participants