Skip to content

KPermissions 3.0.0

Compare
Choose a tag to compare
@fondesa fondesa released this 09 Mar 22:48
· 298 commits to master since this release

This is a major release.
It introduces the new callback system using the PermissionStatus API.
All the previous callbacks introduced before the version 3.0.0 are deprecated and should be replaced with the new API.
The deprecated API will be removed in the version 4.x.
To learn more about the PermissionStatus API check the docs and the wiki.
The motivation behind these big changes is to provide the most flexible way to handle a permissions request.
Even if the versions 1.x and 2.x could seem simpler to use, they forced the lifecycle of a permissions request I thought it was the standard to most of the users.
The version 3.x. doesn't make such assumptions and lets the users to choose how to handle them providing a callback which follows the Android style of onRequestPermissionsResult().