Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
e5fe2e9e
Commit
e5fe2e9e
authored
Jul 26, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:登录界面不在请求 READ-PHONE-STATE权限
parent
5b3aa727
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
config.gradle
config.gradle
+2
-2
RegisterAndLoginActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
+3
-2
No files found.
config.gradle
View file @
e5fe2e9e
...
...
@@ -8,7 +8,7 @@ ext {
"m-confide"
:
"0.0.49.10"
,
"m-consultant"
:
"0.0.59.91"
,
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.4
1
"
,
"m-user"
:
"0.0.61.4
2
"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.19.74"
,
"m-dynamic"
:
"0.0.7.28"
,
...
...
@@ -91,7 +91,7 @@ ext {
"m-confide"
:
"0.0.49.10"
,
"m-consultant"
:
"0.0.59.91"
,
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.4
1
"
,
"m-user"
:
"0.0.61.4
2
"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.19.74"
,
"m-dynamic"
:
"0.0.7.28"
,
...
...
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
View file @
e5fe2e9e
...
...
@@ -151,7 +151,8 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
StatusBarUtils
.
Companion
.
setWindowStatusBarColor
(
this
,
R
.
color
.
white
)
StatusBarUtils
.
Companion
.
setStatusBarLightMode
(
this
,
true
)
}
/*取消READ_PHONE_STATE权限申请,已经在启动页弹过一次
* */
@SuppressLint
(
"CheckResult"
)
private
fun
requestPermission
()
{
val
rxPermissions
=
RxPermissions
(
this
)
...
...
@@ -197,7 +198,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
private
fun
initAuthHelper
()
{
requestPermission
()
//
requestPermission()
OneKeyLoginHelp
.
checkEnvAvailable
(
PhoneNumberAuthHelper
.
SERVICE_TYPE_AUTH
)
OneKeyLoginHelp
.
setVerifyTokenResultListener
(
object
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment