Open ytheekshana opened 5 years ago
version 9? it should be lower than minSDK.
or android 9 P?, cc @Guiorgy
Its android 9 Pie
Android permission is really a delicate problem... There is no single solution for the problem because some manufactures change the permission with their own implementation (especially Chinese device Manufactures like Xiaomi, Huawei, Vivo, Oppo, etc). There is no easy way out.. :/
I think the android-file-chooser should not handle the permission and let the user to use their own Permission handling, either using their own code or using permission library. How do you thing @hedzr ?
Android permission is really a delicate problem... There is no single solution for the problem because some manufactures change the permission with their own implementation (especially Chinese device Manufactures like Xiaomi, Huawei, Vivo, Oppo, etc). There is no easy way out.. :/
I think the android-file-chooser should not handle the permission and let the user to use their own Permission handling, either using their own code or using permission library. How do you thing @hedzr ?
I'd like that
You could handle its whatever you need at first.
If u do sth like that, afc's checkPermissions can ignore internal logic. but if u have no any idea to do or just forget permissions' check, the internal check and launcher can defend its.
I feel same with you about those devices. maybe, you have to grant some perms before ChooserDialoog.show()
.
IMHO, all permissions should be grouped by its types and priorities, and some of them should be requested to end-user at first running. If so, afc's inner codes about permissions will not puzzle u.
Got this today.