浏览代码

1.添加获取UDid方法

tags/0.0.9
“yanghuaxuan” 4 年前
父节点
当前提交
197c6da3e3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      lib/flutter_alibc.dart

+ 1
- 1
lib/flutter_alibc.dart 查看文件

@@ -276,7 +276,7 @@ class FlutterAlibc {
_channel.invokeMethod("useAlipayNative", {"isNeed": isNeed}); _channel.invokeMethod("useAlipayNative", {"isNeed": isNeed});
} }


static Future<String> getUdid(bool isNeed) async {
static Future<String> getUdid() async {
var map = await _channel.invokeMethod("getUdid"); var map = await _channel.invokeMethod("getUdid");
return map['udid']; return map['udid'];
} }


正在加载...
取消
保存