-
版本如下:implementation 'com.guolindev.permissionx:permissionx:1.7.1'
我想用 PermissionX.isGranted(mContext, it) 判断特殊权限是否已经申请,但一直返回false,实际上该特殊权限我已经申请过了。
我看内部实现也是直接调用的:
ContextCompat.checkSelfPermission(c…
-
2023-04-06 22:00:29.170 28518-28518/com.easyinvoice E/unknown:ReactNative: Exception in native call
android.content.res.Resources$NotFoundException: String resource ID #0x0
at android.co…
-
com.permissionx.guolindev.request.InvisibleFragment类中onRequestNormalPermissionsResult回调中使用requireContext,会导致此异常,能否在回调中不要使用requireContext或者增加一些判断,起码保证不会crash
-
下面代码使用 MANAGE_EXTERNAL_STORAGE 并且不进行 showRequestReasonDialog 就能复现
这时不会跳转到设置页,直接返回 deniedList
- 操作系统:MIUI 13
- SDK版本:1.7.1
```
private fun request() {
val permissions = if (Build.…
-
顶部说明
-
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'int android.content.Context.checkPermission(java.lang.String, int, int)' on a null object reference
at androidx.core.cont…
-
PermissionX.init(this).permissions(requestList).onExplainRequestReason(new ExplainReasonCallback() {
@Override
public void onExplainReason(@NonNull ExplainS…
baoer updated
3 weeks ago
-
Hello!
I am probably missing something simple here but is there a way i can use a users role or ability as a where clause on an eloquent query?
Thanks!
-
版本:1.6.1
手机型号:Pixel 5、小米12SU、小米13、三星,都是Android 13的机型
现象描述:在Fragment onViewCreated中使用请求权限出现崩溃
崩溃日志:
```
Process Name: 'com.example.demo'
Thread Name: 'main'
Back traces starts.
java.lang.Illega…
-
版本 :1.7.1
Operation cannot be started before fragment is in created state
com.permissionx.guolindev.request.InvisibleFragment.requestNow(InvisibleFragment.kt:110)
出错堆栈
androidx.fragment.app.Frag…