Skip to content

Commit

Permalink
Build 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud committed Sep 13, 2019
1 parent f5992a1 commit 0906958
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
Binary file modified .idea/caches/gradle_models.ser
Binary file not shown.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

Note that since version 1.1.1 of the library it is possible to request **several Permissions** at the same time.

Permissions can now also be checked from an **Androidx Fragment**.

## Usage ##

To Check and Request permissions, simply create a **Perm** instance, and use **isGranted()**, **areGranted()**, **isDenied()**, **areDenied()**, or **askPermissions()** methods:
Expand Down Expand Up @@ -84,13 +86,13 @@ Add the libary dependency to your **APP** build.gradle file

```
dependencies {
implementation 'com.github.smart-fun:Perm:1.1.2' // add this line
implementation 'com.github.smart-fun:Perm:1.2.0' // add this line
}
```

##License##

Copyright 2016-2018 Arnaud Guyon
Copyright 2016-2019 Arnaud Guyon

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions perm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 29
versionCode 6
versionName "1.1.2"
versionCode 7
versionName "1.2.0"
}

buildTypes {
Expand Down
2 changes: 1 addition & 1 deletion perm/src/main/java/fr/arnaudguyon/perm/Perm.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2016-2018 Arnaud Guyon
Copyright 2016-2019 Arnaud Guyon
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion perm/src/main/java/fr/arnaudguyon/perm/PermResult.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2016-2018 Arnaud Guyon
Copyright 2016-2019 Arnaud Guyon
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 0906958

Please sign in to comment.