浏览代码

修复channel名字错误bug

tags/0.1.1^0
Weller 2 年前
父节点
当前提交
2e3af47528
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      android/src/main/java/com/wxwx/flutter_alibc/FlutterAlibcPlugin.java

+ 1
- 1
android/src/main/java/com/wxwx/flutter_alibc/FlutterAlibcPlugin.java 查看文件

@@ -22,7 +22,7 @@ public class FlutterAlibcPlugin implements FlutterPlugin, MethodChannel.MethodC

@Override
public void onAttachedToEngine(@NonNull FlutterPluginBinding flutterPluginBinding) {
channel = new MethodChannel(flutterPluginBinding.getBinaryMessenger(), "zhiying_live_ali");
channel = new MethodChannel(flutterPluginBinding.getBinaryMessenger(), "flutter_alibc");
channel.setMethodCallHandler(this);
handle = new FlutterAlibcHandle(channel);
}


正在加载...
取消
保存