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

如何给AndPermission提Issue #546

Open
yanzhenjie opened this issue Dec 2, 2019 · 0 comments
Open

如何给AndPermission提Issue #546

yanzhenjie opened this issue Dec 2, 2019 · 0 comments

Comments

@yanzhenjie
Copy link
Owner

首先要多看文档,英文看不懂就看中文的;在提Issue之前搜索现有的Issues中是否有相同的Issue,然后结合文档排查问题;提交Issue时请尽量附上必要的信息:

  1. AndPermission的版本
  2. 手机型号/品牌型号
  3. 品牌系统版本
  4. Android系统版本
  5. 项目targetSdkVersion
  6. 申请的权限
  7. 发生问题的场景和操作步骤
  8. 如果觉得描述还不清楚,麻烦贴一下代码

另外请认真填写所有内容,因为本人精力有限,若发现严重缺少信息或难以判断问题的Issue,我将直接关闭,请谅解 —— 2019.10.01

示例:

手机型号:小米9 Pro | 华为 Mate 30 Pro
品牌系统版本:MIUI10.1 | EMUI 10.0
Android系统版本: Android10 | Android 10
targetSdkVersion:26
权限:Permissions.READ_CONTACTS
点击某按钮,申请【读取联系人】权限,在弹出的授权Dialog中点击了同意,但是收到了拒绝的回调;打开系统设置看到该权限开关居然是关的...


  1. 小米手机出现权限状态不准确时,请在开发者选项中开启或者关闭MIUI来查看权限状态是否准确。

  2. 其他手机出现权限状态不准确时,请对照点击的按钮【同意/拒绝】和【设置】中的该权限的状态是否相符,然后反馈到Issue中,我会尽最大努力去做兼容。

  3. 另外有时候你点了同意,回调了你拒绝,或者你点了拒绝,回调了你同意,你就按照AndPermission的回调去做你的业务,这可能是系统状态错误,但是AndPermission回调的状态是实际状态。

@yanzhenjie yanzhenjie pinned this issue Dec 2, 2019
Repository owner locked as off-topic and limited conversation to collaborators Dec 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant