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

module 名称不一致 #31

Open
uuau99999 opened this issue May 22, 2017 · 0 comments
Open

module 名称不一致 #31

uuau99999 opened this issue May 22, 2017 · 0 comments

Comments

@uuau99999
Copy link

android的 暴露的module名称与javascript引用不一致。 Toast.java里面写的
@OverRide
public String getName() {
return "RCTToast";
}
与index.js 里面的 var RCTToast= NativeModules.Toast; 对应不上。
应该改为 var RCTToast= NativeModules.RCTToast;

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