This repository has been archived by the owner on Sep 3, 2023. It is now read-only.
Releases: afollestad/assent
Releases · afollestad/assent
1.0.1
- Some bug fixes to version 1.0.0. Check out the previous changelog if you haven't already.
- Added unit tests to cover all of the core functionality and make sure nothing breaks accidentally during future development.
1.0.0
- Rebuilt the whole library, it's written in Kotlin now.
- The API has changed a bit, it will break your current usages but not by a lot.
- Everything should be simpler and easier to use, and the code is smaller overall.
- Got rid of the annotation-based result notifications, only callbacks can be used to receive results now.
0.2.5
- Fixes for cases when an app switches between setting the context to a
Fragment
andActivity
frequently, and the wrong context being used. - Updated Google libs.
- Added
LOGGING_ENABLED
static boolean toAssent
which can be used to enable Assent logging if needed.
0.2.4
Added support for the v4 Support Library Fragment
class, also added an AssentSupportFragment
.
0.2.3
Updated target SDK, Gradle, dependencies, etc.
0.2.2
Dependency updates
0.2.1
- Updates for newer versions of Google libs, including AppCompat.
- Added
AssentFragment
, which should be extended in yourFragment
classes. See the README for more info. - Other crash fixes, bug fixes, improved logging, etc.
0.2.0
- Simultaneous request handling: if you request two different permissions at the same time, the second permission request won't execute until the first one is done.
- AfterPermissionResult annotation: as an alternative to callbacks, you can have Assent invoke a method in a target class when a specific set of permissions are granted or denied.
- Other code cleanup and organization.
0.1.3
- An important bug fix relating to Assent's Activity reference being cleared when dialogs open (e.g. the permission dialog). They are now only cleared when the current Activity is actually finishing.
- Made the sample a bit more complex.
If you had trouble getting the Gradle dependency to work before, see the updated README.
0.1.2
- Dangerous permissions (permissions that require a permission request on API 23+) are now constants in
Assent
, so you don't have to useManifest.permission
. E.g. you can useAssent.WRITE_EXTERNAL_STORAGE
instead ofManifest.permission.WRITE_EXTERNAL_STORAGE
. PermissionResultSet
now has aallPermissionsGranted()
method.