Browse Source

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

zk 1 year ago
parent
commit
d32e927eb5

+ 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) {