Coder Social home page Coder Social logo

Comments (3)

liupeng176 avatar liupeng176 commented on July 24, 2024

修复方案,去掉这段代码.直接不检测 每次都申请就可

from xxpermissions.

getActivity avatar getActivity commented on July 24, 2024

小伙子,目前此 issue 打回,原因如下:

  • 没有严格按照 issue 模板填写

  • 某些问题看似回答了,但是实际是乱回答

请重新提交 issue,并且严格按照 issue 模板填写

from xxpermissions.

TOPWN avatar TOPWN commented on July 24, 2024

Framework Version [Required]

14.0

Issue Description [Required]

一加11,安卓14,Color Os 14.0正式版本 型号 phb110 在app授权READ_MEDIA_VIDEO和READ_MEDIA_IMAGES时候,用户全部允许,这个时候是正常的,然后用户在系统权限中,把照片和视频权限改为每次都询问,此时由于XXPermissions.java第206行中判断已经授权过,所以直接回调了成功,导致得到错误的权限结果,这里建议去掉缓存,每次都请求最新的。 if (PermissionApi.isGrantedPermissions(context, permissions)) { // 证明这些权限已经全部授予过,直接回调成功 if (callback != null) { interceptor.grantedPermissionRequest(activity, permissions, permissions, true, callback); interceptor.finishPermissionRequest(activity, permissions, true, callback); } return; }

Steps to Reproduce [Required]

同上

Is the Issue Reproducible? [Required]

Yes

Project targetSdkVersion [Required]

33

Device Information [Required]

phb110

Android Version [Required]

14

Issue Source Channel [Required]

No response

Is it specific to certain device models? [Required]

phb110

Does the latest version of the framework have this issue? [Required]

Not Selected

Is the issue mentioned in the framework documentation? [Required]

No

Did you consult the framework documentation but couldn't find a solution? [Required]

No

Has a similar issue been reported in the issue list? [Required]

No

Have you searched the issue list but couldn't find a solution? [Required]

No

Can the issue be reproduced with a demo project? [Required]

No

Provide Error Stack Trace

No response

Provide Screenshots or Videos

No response

Provide a Solution

No response

Android14(三星S24)遇到同样的问题,在app授权READ_MEDIA_VIDEO和READ_MEDIA_IMAGES时候,用户全部允许,这个时候是正常的,然后用户在系统权限中,把照片和视频权限改为每次都询问, 直接回调了成功

from xxpermissions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.