Install TedPermission
masterAdd the appropriate dependency to your app/build.gradle file based on your preferred programming style. You should choose only one of the following libraries: normal, coroutine, rx2, or rx3.
Ensure you have google() and mavenCentral() in your repositories block.
repositories {
google()
mavenCentral()
}
dependencies {
// Normal
implementation("io.github.ParkSangGwon:tedpermission-normal:3.4.2")
// Coroutine
implementation("io.github.ParkSangGwon:tedpermission-coroutine:3.4.2")
// RxJava2
implementation("io.github.ParkSangGwon:tedpermission-rx2:3.4.2")
// RxJava3
implementation("io.github.ParkSangGwon:tedpermission-rx3:3.4.2")
}