Browse Source

1.添加获取UDid方法

tags/0.0.9
“yanghuaxuan” 3 years ago
parent
commit
197c6da3e3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/flutter_alibc.dart

+ 1
- 1
lib/flutter_alibc.dart View File

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

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


Loading…
Cancel
Save