feat: QQ小游戏SDK更新—客户端 https://jira.shanqu.cc/browse/GHZSCY-5696

This commit is contained in:
曾祥俊
2024-06-25 09:43:32 +08:00
parent 37b36a9632
commit 5b2f710be8
3 changed files with 7 additions and 5 deletions

View File

@ -72,7 +72,6 @@ android_build:
only:
- dev
- release
- feature-GHZS-5775
# 代码检查
sonarqube_analysis:
@ -153,5 +152,4 @@ oss-upload&send-email:
- /usr/local/bin/python /ci-android-mail-jira-comment.py
only:
- dev
- release
- feature-GHZS-5775
- release

View File

@ -131,7 +131,7 @@ ext {
csjVersion = "5.8.0.4.0"
qGameVersion = "1.70.1"
qGameVersion = "1.71.2"
qGameAdVersion = "4.575.1445"
blankjUtilCodex = "1.30.4"

View File

@ -45,7 +45,11 @@ internal object QGameHelper {
* 授权完成后设置用户帐号信息
*/
fun setLoginInfo(context: Context, userId: String, userName: String, token: String) {
MiniSDK.setLoginInfo(context, AccountInfo(userId, userName, token.toByteArray()), null)
MiniSDK.setLoginInfo(
context,
AccountInfo(userId, userName, token.toByteArray()),
OpenSdkLoginManager.getOpenSdkLoginInfo(context)
)
}
fun launchGame(