{"repo":"fondesa/kpermissions","free":true,"listed":false,"github":"https://github.com/fondesa/kpermissions","clone":"git clone https://github.com/fondesa/kpermissions.git","description":"A Kotlin library which helps to request runtime permissions in Android.","language":"Kotlin","stars":522,"topics":["android","permissions","runtime-permissions","rxjava2","rxjava","rxjava3","coroutines","androidx","kotlin","flow"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"KPermissions =============== An Android library totally written in Kotlin that helps to request runtime permissions. This library is compatible also below Android M (API 23) where runtime permissions doesn't exist, so you haven't to handle them separately. Usage ------ To discover all the APIs of this library, check the wiki. It contains some useful notes and advanced features not explained in the . For further samples, check the sample provided by this library. It shows how to integrate this library and request the permissions from an Activity or a Fragment. Basic usage You can create a either from an or a using the extension method : Coroutines The artifact kpermissions-coroutines adds the integration with the Kotlin coroutines: It also supports the Kotlin coroutines Flow API: RxJava The artifacts kpermissions-rx2 and kpermissions-rx3 adds the integration with RxJava 2 and RxJava 3 respectively: LiveData In the core artifact, there's a useful extension on PermissionRequest to get a LiveData : Compatibility ------ Android SDK : KPermissions requires a minimum API level of 14 (the same of the latest support libraries). AndroidX : this library requires AndroidX. To use it in a project without AndroidX, refer to the version 1.x Integration ------ You can download a jar from GitHub's releases page or grab it from . Gradle ### Contributing ### Feel free to contribute to this project following the contributing guidelines.","default_branch":null,"files":null,"tree":[],"storefront":"/r/fondesa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fondesa/kpermissions/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}