瀏覽代碼

[new]调整友盟同意隐私初始化

zk 1 年之前
父節點
當前提交
d32e927eb5
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      plugin/flutter_umeng/android/src/main/java/com/atmob/flutter_umeng/UmengHelper.java

+ 1 - 3
plugin/flutter_umeng/android/src/main/java/com/atmob/flutter_umeng/UmengHelper.java

@@ -18,9 +18,7 @@ public class UmengHelper {
         if (BuildConfig.DEBUG) {
             return;
         }
-        if (UMConfigure.needSendZcfgEnv(context)) {
-            initAfterGrantedAgreement(context,appKey);
-        }
+        initAfterGrantedAgreement(context,appKey);
     }
 
     public static void initAfterGrantedAgreement(@NonNull Context context, String appKey) {