Releases: permissions-dispatcher/PermissionsDispatcher
Releases · permissions-dispatcher/PermissionsDispatcher
3.2.0
3.1.0
3.0.1
3.0.0
Release note
- 3.0.0 2017/09/16
- Add fully Kotlin support!
- Allow for Deterministic, Reproducible Builds with sorted inputs #342
- Internal: Migrate Lint Rules to UAST 363
- Rename withCheck to withPermissionCheck #365
- Fix CallNeedsPermissionDetector to work correctly #368
Migration Guide
Diff
2.4.0
- 2.4.0 2017/05/01
- Fix
SupportV13MissingException
with newer Gradle #279.- Now we bundle support v13 library in the library, you don't have to add v13 dependency by yourself.
- If you don't need v13 remove it rxpressly. ref: README
- Now we bundle support v13 library in the library, you don't have to add v13 dependency by yourself.
- Remove a workaround in the case
targetSdkVersion < 23
#305.- If you need the workaround please use older version.
- Fix
2.3.2
2.3.1
2.3.0
2.2.1
2.2.0
maxSdkVersion
Define permission with maxSdkVersion
attribute as the following in your manifest.
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
And define corresponding method. In this case generated method(showGetStorageWithCheck
) doesn't check the permission if device api level is more than 18.
@NeedsPermission(value = Manifest.permission.WRITE_EXTERNAL_STORAGE, maxSdkVersion = 18)
void showGetStorage() {
// use permission
}
See more detail in Android developers.