Skip to content

module 名称不一致 #31

@uuau99999

Description

@uuau99999

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions