Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Releases: afollestad/assent

1.0.1

17 Aug 06:40
Compare
Choose a tag to compare
  1. Some bug fixes to version 1.0.0. Check out the previous changelog if you haven't already.
  2. Added unit tests to cover all of the core functionality and make sure nothing breaks accidentally during future development.

1.0.0

16 Aug 22:33
Compare
Choose a tag to compare
  1. Rebuilt the whole library, it's written in Kotlin now.
  2. The API has changed a bit, it will break your current usages but not by a lot.
  3. Everything should be simpler and easier to use, and the code is smaller overall.
  4. Got rid of the annotation-based result notifications, only callbacks can be used to receive results now.

0.2.5

17 Aug 19:27
Compare
Choose a tag to compare
  1. Fixes for cases when an app switches between setting the context to a Fragment and Activity frequently, and the wrong context being used.
  2. Updated Google libs.
  3. Added LOGGING_ENABLED static boolean to Assent which can be used to enable Assent logging if needed.

0.2.4

26 Jun 02:06
Compare
Choose a tag to compare

Added support for the v4 Support Library Fragment class, also added an AssentSupportFragment.

0.2.3

20 Jun 22:40
Compare
Choose a tag to compare

Updated target SDK, Gradle, dependencies, etc.

0.2.2

09 Apr 21:19
Compare
Choose a tag to compare

Dependency updates

0.2.1

30 Mar 18:47
Compare
Choose a tag to compare
  1. Updates for newer versions of Google libs, including AppCompat.
  2. Added AssentFragment, which should be extended in your Fragment classes. See the README for more info.
  3. Other crash fixes, bug fixes, improved logging, etc.

0.2.0

29 Dec 22:00
Compare
Choose a tag to compare
  1. 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.
  2. 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.
  3. Other code cleanup and organization.

0.1.3

05 Dec 04:17
Compare
Choose a tag to compare
  1. 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.
  2. 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

04 Dec 01:43
Compare
Choose a tag to compare
  1. Dangerous permissions (permissions that require a permission request on API 23+) are now constants in 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.
  2. PermissionResultSet now has a allPermissionsGranted() method.