ParkSangGwon / TedPermission

Easy check permission library for Android Marshmallow
1.74k stars 239 forks source link

When you will add support for API level 30 ( All file access permission - MANAGE EXTERNAL STORAGE ) ? #122

Open ChetnaNakum opened 3 years ago

ChetnaNakum commented 3 years ago

When you will add support for API level 30 ( All file access permission - MANAGE EXTERNAL STORAGE ) ? Please let me know.

kghanva commented 2 years ago

yes, please we definitely need this update

longquangpham90 commented 2 years ago

we try v3.3.0 for device tablet lenovo P11 Android OS 11 Permission not approve, isGranted alway return false Plese help me check

TedPermission.create()
                    .setDeniedMessage("If you reject permission, you can not use this service\n\nPlease turn on permissions at [Setting] > [Permission]")
                    .setPermissions(Manifest.permission.MANAGE_EXTERNAL_STORAGE)
                    .request()
                    .subscribe({
                        if (it.isGranted) {
                            ImagePicker.create(this@MainActivity).single()
                                .toolbarImageTitle(getString(R.string.choose_file_image))
                                .toolbarDoneButtonText(getString(R.string.done))
                                .theme(R.style.ImagePickerThemeDark).start(100)
                        } else {
                            Log.e("Tag", "Do NOT grant permission")
                        }
                    }, { Log.e("Tag", "--- Error: ${it.message}") })