Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

权限文字不要写死,小米手机是立即开始 #7

Closed
ywfly opened this issue Feb 12, 2023 · 8 comments
Closed

权限文字不要写死,小米手机是立即开始 #7

ywfly opened this issue Feb 12, 2023 · 8 comments

Comments

@ywfly
Copy link

ywfly commented Feb 12, 2023

image

@Zebartin
Copy link
Owner

Zebartin commented Feb 12, 2023

这几行代码我是复制autoxjs文档的。我不太清楚申请权限时的不同弹窗是跟安卓版本有关还是跟品牌机型有关。

小米手机的“立即开始”,能否提供一下相关截屏,把代码里的“允许”改成“立即开始”能自动授权吗?

或者如果有“总是允许”或者“不再询问”这类的勾选选项的话,就没必要在意了,一次手动授权永久授权。我记得低版本的安卓就是可以这样的

@ywfly
Copy link
Author

ywfly commented Feb 12, 2023

小米手机每次都询问,但是按钮文字是-立即开始

@ywfly
Copy link
Author

ywfly commented Feb 12, 2023

image

@Zebartin
Copy link
Owner

明白了,具体有哪些不同弹窗我去调研一下。

另外把代码里的“允许”改成“立即开始”能完成自动授权吗?

@ywfly
Copy link
Author

ywfly commented Feb 12, 2023

可以的

@Zebartin
Copy link
Owner

好的好的,下个版本改正

@Zebartin
Copy link
Owner

不好意思,想问一下,你手机上,点了“立即开始”之后能正常运行吗?MIUI版本和安卓版本是多少?

@ywfly
Copy link
Author

ywfly commented Feb 13, 2023

12.5.6,Android11,可以正常运行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants