We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
js
kraken.methodChannel.addMethodCallHandler((method, args) => "123456789");
dart
final result = await javaScriptChannel.invokeMethod('test', null); debugPrint('invoke test result: $result'); // invoke test result: null
The text was updated successfully, but these errors were encountered:
当前设计js侧addMethodCallHandler可以多次调用且每个回调都可以接收到监听,如果要能接收到返回值,应该需要一个新的API设计,cc @andycall
Sorry, something went wrong.
No branches or pull requests
js
dart
The text was updated successfully, but these errors were encountered: