1:添加一键登录

This commit is contained in:
2026-01-15 05:06:16 +08:00
parent a07ee5cfe9
commit e24f217ab4
5 changed files with 51 additions and 47 deletions

View File

@@ -55,15 +55,15 @@ android {
// 正式版包名使用基础包名com.example.myapp
applicationIdSuffix ""
// // 测试版包名:基础包名 + .betacom.example.myapp.beta
applicationIdSuffix ".beta"
// applicationIdSuffix ".beta"
// 【正式版应用名称】通过resValue动态生成string资源
resValue "string", "app_name", "羽声内测"
resValue "string", "app_name", "羽声语音"
// resValue "string", "app_name", "羽声语音APP"
// 【正式版图标】替换manifest中的占位符使用main目录下的正式图标
manifestPlaceholders = [
appIcon: "@mipmap/icon_nc" // 需在main/res/mipmap放置该图标
appIcon: "@mipmap/ic_launcher" // 需在main/res/mipmap放置该图标
]
}

View File

@@ -310,12 +310,12 @@ public class PasswordLoginActivity extends BaseMvpActivity<LoginPresenter, Activ
}
if (TextUtils.isEmpty(CommonAppContext.getInstance().getToken()) || TextUtils.isEmpty(CommonAppContext.getInstance().getUser().getTencent_im())) {
Logger.e("SplashEnd", "ARouters.CODE_LOGIN");
// if (canOnePass) {
// phoneNumberAuthHelper.setAuthListener(tokenResultListener);
// doOnePass();
// } else {
//
// }
if (canOnePass) {
phoneNumberAuthHelper.setAuthListener(tokenResultListener);
doOnePass();
} else {
}
} else {
Logger.e("SplashEnd", "ARouters.MAIN");