|
|
@@ -3,6 +3,7 @@ package com.datarecovery.master.data.repositories;
|
|
|
|
|
|
import android.text.TextUtils;
|
|
|
|
|
|
+import com.atmob.common.logging.AtmobLog;
|
|
|
import com.atmob.user.AtmobUser;
|
|
|
import com.datarecovery.master.BuildConfig;
|
|
|
import com.datarecovery.master.data.consts.ChannelId;
|
|
|
@@ -39,12 +40,13 @@ public class ConfigRepository {
|
|
|
|
|
|
|
|
|
private void getTrialMembershipStatus() {
|
|
|
- if (BuildConfig.DEBUG) {
|
|
|
- isOpenTrialMembership = false;
|
|
|
- return;
|
|
|
- }
|
|
|
+// if (BuildConfig.DEBUG) {
|
|
|
+// isOpenTrialMembership = false;
|
|
|
+// return;
|
|
|
+// }
|
|
|
//先判断渠道,如果聚道推广,不管是什么商店都不开启试用会员
|
|
|
GravityHelper.registerAttributionResultCallback(attributed -> {
|
|
|
+ AtmobLog.d("ConfigRepository", "registerAttributionResultCallback attributed: " + attributed);
|
|
|
if (BoxingUtil.boxing(attributed)) {
|
|
|
//归因成功
|
|
|
isOpenTrialMembership = false;
|