|
|
@@ -19,6 +19,7 @@ import java.util.HashMap; |
|
|
|
|
|
|
|
import android.app.AlertDialog; |
|
|
|
|
|
|
|
import static com.ali.auth.third.core.context.KernelContext.getApplicationContext; |
|
|
|
import static com.wxwx.flutter_alibc.PluginConstants.*; |
|
|
|
import static com.wxwx.flutter_alibc.PluginUtil.*; |
|
|
|
|
|
|
@@ -490,8 +491,8 @@ public class FlutterAlibcHandle { |
|
|
|
// AlibcTradeSDK.setShouldUseAlipay(call.argument("isNeed")); |
|
|
|
} |
|
|
|
|
|
|
|
public void getUdid(MethodCall call,Result result1) { |
|
|
|
String udid = UTDevice.getUtdid(register.activity().getApplicationContext()); |
|
|
|
public void getUdid(MethodCall call, Result result1) { |
|
|
|
String udid = UTDevice.getUtdid(getApplicationContext()); |
|
|
|
Map<String, String> resMap = new HashMap(); |
|
|
|
resMap.put("udid", udid); |
|
|
|
result1.success(resMap); |
|
|
|