瀏覽代碼

修复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);
}


Loading…
取消
儲存