Commit e5fe2e9e by 霍志良

feat:登录界面不在请求 READ-PHONE-STATE权限

parent 5b3aa727
...@@ -8,7 +8,7 @@ ext { ...@@ -8,7 +8,7 @@ ext {
"m-confide" : "0.0.49.10", "m-confide" : "0.0.49.10",
"m-consultant" : "0.0.59.91", "m-consultant" : "0.0.59.91",
"m-fm" : "0.0.30.03", "m-fm" : "0.0.30.03",
"m-user" : "0.0.61.41", "m-user" : "0.0.61.42",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.19.74", "m-im" : "0.0.19.74",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
...@@ -91,7 +91,7 @@ ext { ...@@ -91,7 +91,7 @@ ext {
"m-confide" : "0.0.49.10", "m-confide" : "0.0.49.10",
"m-consultant" : "0.0.59.91", "m-consultant" : "0.0.59.91",
"m-fm" : "0.0.30.01", "m-fm" : "0.0.30.01",
"m-user" : "0.0.61.41", "m-user" : "0.0.61.42",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.19.74", "m-im" : "0.0.19.74",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
......
...@@ -151,7 +151,8 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont ...@@ -151,7 +151,8 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
StatusBarUtils.Companion.setWindowStatusBarColor(this, R.color.white) StatusBarUtils.Companion.setWindowStatusBarColor(this, R.color.white)
StatusBarUtils.Companion.setStatusBarLightMode(this, true) StatusBarUtils.Companion.setStatusBarLightMode(this, true)
} }
/*取消READ_PHONE_STATE权限申请,已经在启动页弹过一次
* */
@SuppressLint("CheckResult") @SuppressLint("CheckResult")
private fun requestPermission() { private fun requestPermission() {
val rxPermissions = RxPermissions(this) val rxPermissions = RxPermissions(this)
...@@ -197,7 +198,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont ...@@ -197,7 +198,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
private fun initAuthHelper() { private fun initAuthHelper() {
requestPermission() // requestPermission()
OneKeyLoginHelp.checkEnvAvailable(PhoneNumberAuthHelper.SERVICE_TYPE_AUTH) OneKeyLoginHelp.checkEnvAvailable(PhoneNumberAuthHelper.SERVICE_TYPE_AUTH)
OneKeyLoginHelp.setVerifyTokenResultListener(object : OneKeyLoginHelp.setVerifyTokenResultListener(object :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment