🙏 Android Runtime Permissions made easy and compact, for Kotlin and AndroidX. With coroutines support!
Fragment
and Activity
frequently, and the wrong context being used.LOGGING_ENABLED
static boolean to Assent
which can be used to enable Assent logging if needed.Added support for the v4 Support Library Fragment
class, also added an AssentSupportFragment
.
Updated target SDK, Gradle, dependencies, etc.
Dependency updates
AssentFragment
, which should be extended in your Fragment
classes. See the README for more info.If you had trouble getting the Gradle dependency to work before, see the updated README.
Assent
, so you don't have to use Manifest.permission
. E.g. you can use Assent.WRITE_EXTERNAL_STORAGE
instead of Manifest.permission.WRITE_EXTERNAL_STORAGE
.PermissionResultSet
now has a allPermissionsGranted()
method.