-
编译时出了以下错误
D:/Android/.gradle/caches/transforms-3/c08a38020050110e6e870c4f60abbd29/transformed/permissionx-1.6.4-api.jar!/META-INF/permissionx_release.kotlin_module: Module was compiled with an incomp…
-
Exception java.lang.IllegalArgumentException: Unknown permission: android.permission.READ_PHONE_NUMBERS
at android.os.Parcel.readException (Parcel.java:1603)
at android.os.Parcel.readException (…
-
PermissionX版本号: 1.6.4
复现机型:三星 SM-G9500
复现步骤:
APP申请了Manifest.permission.ACCESS_FINE_LOCATION、Manifest.permission.WRITE_EXTERNAL_STORAGE、Manifest.permission.READ_EXTERNAL_STORAGE、Manifest.permis…
-
**Is your feature request related to a problem? Please describe.**
When adding Wi-Fi networks, for android 10+ permission needs to be granted. Currently its prompted at usage time once, but if user…
-
activity申请权限
![00](https://user-images.githubusercontent.com/82264481/174014830-441b27a4-aff4-436c-84b0-847c7072624f.png)
PermissionX.init(this).permissions(permissions).request{} 的时候 inRequestFlow…
-
When ask `android.permission.POST_NOTIFICATIONS` it's not showing **onForwardToSettings** and **onExplainRequestReason**.
```
PermissionX.init(activity)
.permissions(POST_NOT…
-
Duplicate class androidx.lifecycle.ViewModelLazy found in modules jetified-lifecycle-viewmodel-ktx-2.3.1-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1) and lifecycle-viewmodel-2.5.0-runtim…
-
PermissionX.init(this).permissions(permissions)
.request { allGranted, grantedList, deniedList ->
if (allGranted) {
showDialog()
} e…
-
![image](https://user-images.githubusercontent.com/40649610/192476688-94daf857-3b0f-4c00-a1df-9e06922e05c8.png)
-
#### 如下所示
#### 方法使用@RequiresPermission注册,在调用的地方会必须先申请权限
```java
@RequiresPermission(anyOf = {"android.permission.ACCESS_FINE_LOCATION"})
void requestLocationUpdates() throws Exception;
```
…