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

[html5] support sync call for callNative. #2250

Conversation

MrRaindrop
Copy link
Member

support two synchronous calls for bridge communication:

  • callNativeComponent
  • callNativeModule

}

// sync call native module api.
function callNativeModule (instanceId, module, method, args) {
Copy link
Member

@Hanks10100 Hanks10100 Jan 13, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

callNativeModule should also have the options arguments.
#1677

Copy link
Member

@Hanks10100 Hanks10100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@Hanks10100 Hanks10100 merged commit 42ce3eb into alibaba:html5-feature-0.10 Jan 13, 2017
@emptywalker
Copy link
Contributor

这个在调用的时候 怎么使用,instanceId哪里来呢

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

Successfully merging this pull request may close these issues.

None yet

3 participants