新用户首充弹窗弹窗逻辑优化

This commit is contained in:
huangjian
2022-08-03 19:01:45 +08:00
parent 09301ce688
commit 6294e20caf

View File

@@ -480,14 +480,15 @@ public class MainActivity extends BaseMvpActivity<IMainView, MainPresenter>
userLivingView.start();
}
//这里是为了处理APP后台运行的情况下点击分享房间等LinkedMe链接的情况
if (UserModel.get().getCacheLoginUserInfo() != null) {
UserInfo userInfo = UserModel.get().getCacheLoginUserInfo();
if (userInfo != null) {
handleLinkedJump();
if (PmDialogShowMrg.get().isHasShow()) {
if (DemoCache.readNewUserChargeGift() == 1) {
StatisticManager.Instance().onEvent(StatisticsProtocol.EVENT_NUGIFT_POP_SHOW, "新人专享礼物弹窗曝光");
NewUserChargeGiftDialog.start(context);
DemoCache.saveNewUserChargeGift(2);
}
if (userInfo.isShowLimitCharge() &&
PmDialogShowMrg.get().isHasShow() &&
DemoCache.readNewUserChargeGift() == 1) {
StatisticManager.Instance().onEvent(StatisticsProtocol.EVENT_NUGIFT_POP_SHOW, "新人专享礼物弹窗曝光");
NewUserChargeGiftDialog.start(context);
DemoCache.saveNewUserChargeGift(2);
}
checkShowAnchorCardView();
}