1:添加一键登录
This commit is contained in:
@@ -55,15 +55,15 @@ android {
|
||||
// 正式版包名:使用基础包名(com.example.myapp)
|
||||
applicationIdSuffix ""
|
||||
// // 测试版包名:基础包名 + .beta(com.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放置该图标
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user