1、修改版本号

2、登录时候增加字段 app_from  = PDLive
This commit is contained in:
老皮 2024-10-08 11:18:38 +08:00
parent 81d390f82e
commit 99bc3cd71c
4 changed files with 16 additions and 2 deletions

View File

@ -4,8 +4,8 @@ ext {
buildToolsVersion: "29.0.2", buildToolsVersion: "29.0.2",
minSdkVersion : 23, minSdkVersion : 23,
targetSdkVersion : 34, targetSdkVersion : 34,
versionCode : 698, versionCode : 700,
versionName : "6.8.1" versionName : "6.8.2"
] ]
manifestPlaceholders = [ manifestPlaceholders = [
// //

View File

@ -5282,6 +5282,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
break; break;
case WHAT_FIRST_LOOK_LIVE: case WHAT_FIRST_LOOK_LIVE:
Log.i("xinrenguanbo", "WHAT_FIRST_LOOK_LIVE: ");
if (isAttention == 0) { if (isAttention == 0) {
mLiveRoomViewHolder.showFirstLookLiveFollowNotify(); mLiveRoomViewHolder.showFirstLookLiveFollowNotify();
} else { } else {
@ -5289,9 +5291,12 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
} }
break; break;
case WHAT_LOOK_5_MIN_LIVE: case WHAT_LOOK_5_MIN_LIVE:
Log.i("xinrenguanbo", "WHAT_LOOK_5_MIN_LIVE: ");
mLiveRoomViewHolder.showSendGiftTaskDetailsNotify(); mLiveRoomViewHolder.showSendGiftTaskDetailsNotify();
break; break;
case WHAT_TASK_INLET_LIVE: case WHAT_TASK_INLET_LIVE:
Log.i("xinrenguanbo", "WHAT_TASK_INLET_LIVE: ");
mLiveRoomViewHolder.showSendGiftTaskMsg(); mLiveRoomViewHolder.showSendGiftTaskMsg();
break; break;
case WHAT_ANCHOR_GOD_SHOW_HIDE: case WHAT_ANCHOR_GOD_SHOW_HIDE:

View File

@ -31,6 +31,7 @@ import com.lzf.easyfloat.permission.PermissionUtils;
import com.lzf.easyfloat.utils.LifecycleUtils; import com.lzf.easyfloat.utils.LifecycleUtils;
import com.yunbao.common.manager.imrongcloud.RongcloudIMManager; import com.yunbao.common.manager.imrongcloud.RongcloudIMManager;
import com.yunbao.common.utils.DebugUtils; import com.yunbao.common.utils.DebugUtils;
import com.yunbao.common.utils.LogUtil;
import com.yunbao.common.utils.MobclickAgent; import com.yunbao.common.utils.MobclickAgent;
import com.yunbao.common.CommonAppConfig; import com.yunbao.common.CommonAppConfig;
import com.yunbao.common.CommonAppContext; import com.yunbao.common.CommonAppContext;
@ -883,14 +884,20 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
} }
//初始化整蠱列表 //初始化整蠱列表
mLiveRoomViewHolder.initPrankProgress(isShowPrank?1:2); mLiveRoomViewHolder.initPrankProgress(isShowPrank?1:2);
Log.i("xinrenguanbo", "Test .......");
if("1".equals(data.getEnterRoomInfo().getIsNewUser())){ if("1".equals(data.getEnterRoomInfo().getIsNewUser())){
Log.i("xinrenguanbo", "Test ...111....");
//检测是否是首次观看该直播间 //检测是否是首次观看该直播间
if("1".equals(data.getEnterRoomInfo().getIsFirstEntry())){ if("1".equals(data.getEnterRoomInfo().getIsFirstEntry())){
Log.i("xinrenguanbo", "首次观看该直播间: ");
mLiveRoomViewHolder.firstLookLiveNotify(); mLiveRoomViewHolder.firstLookLiveNotify();
} }
//判断是否有免费礼物 //判断是否有免费礼物
if("0".equals(data.getNewPeopleTask().getTask().getSendgift())){ if("0".equals(data.getNewPeopleTask().getTask().getSendgift())){
Log.i("xinrenguanbo", "有免费礼物: ");
mLiveRoomViewHolder.firstLook5MinLiveNotify(); mLiveRoomViewHolder.firstLook5MinLiveNotify();
} }
//观看200秒之后推送活动入口im消息 //观看200秒之后推送活动入口im消息

View File

@ -52,6 +52,7 @@ public class MainHttpUtil {
.params("lastlogindevice", "Android") .params("lastlogindevice", "Android")
.params("uuid_Device", uuid) .params("uuid_Device", uuid)
.params("langue", WordUtil.isNewZh()?"chinese":"english") .params("langue", WordUtil.isNewZh()?"chinese":"english")
.params("app_from", "PDLive")
.execute(callback); .execute(callback);
} }
@ -106,6 +107,7 @@ public class MainHttpUtil {
.params("sign", sign) .params("sign", sign)
.params("lastlogindevice", "Android") .params("lastlogindevice", "Android")
.params("pushid", "") .params("pushid", "")
.params("app_from", "PDLive")
.params("langue", WordUtil.isNewZh() ? "chinese" : "english") .params("langue", WordUtil.isNewZh() ? "chinese" : "english")
.execute(callback); .execute(callback);
} }