diff --git a/.idea/dictionaries/raphael.xml b/.idea/dictionaries/raphael.xml new file mode 100644 index 0000000..c9b810a --- /dev/null +++ b/.idea/dictionaries/raphael.xml @@ -0,0 +1,8 @@ + + + + permissionutils + raphaelbussa + + + \ No newline at end of file diff --git a/README.md b/README.md index 83c2af8..cf034aa 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Permission Utils -[![Download](https://api.bintray.com/packages/raphaelbussa/maven/permission-utils/images/download.svg) ](https://bintray.com/raphaelbussa/maven/permission-utils/_latestVersion) [![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14) [![GitHub issues](https://img.shields.io/github/issues/raphaelbussa/PermissionUtils.svg)](https://github.com/raphaelbussa/PermissionUtils/issues) [![GitHub forks](https://img.shields.io/github/forks/raphaelbussa/PermissionUtils.svg)](https://github.com/raphaelbussa/PermissionUtils/network) [![GitHub stars](https://img.shields.io/github/stars/raphaelbussa/PermissionUtils.svg)](https://github.com/raphaelbussa/PermissionUtils/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/raphaelbussa/PermissionUtils/master/LICENSE) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-PermissionUtils-green.svg?style=true)](https://android-arsenal.com/details/1/3951) +[![Download](https://api.bintray.com/packages/com.raphaelbussa/maven/permission-utils/images/download.svg) ](https://bintray.com/com.raphaelbussa/maven/permission-utils/_latestVersion) [![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14) [![GitHub issues](https://img.shields.io/github/issues/com.raphaelbussa/PermissionUtils.svg)](https://github.com/com.raphaelbussa/PermissionUtils/issues) [![GitHub forks](https://img.shields.io/github/forks/com.raphaelbussa/PermissionUtils.svg)](https://github.com/com.raphaelbussa/PermissionUtils/network) [![GitHub stars](https://img.shields.io/github/stars/com.raphaelbussa/PermissionUtils.svg)](https://github.com/com.raphaelbussa/PermissionUtils/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/com.raphaelbussa/PermissionUtils/master/LICENSE) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-PermissionUtils-green.svg?style=true)](https://android-arsenal.com/details/1/3951) -![Logo](https://raw.githubusercontent.com/raphaelbussa/PermissionUtils/master/sample/src/main/ic_launcher-web.png) +![Logo](https://raw.githubusercontent.com/com.raphaelbussa/PermissionUtils/master/sample/src/main/ic_launcher-web.png) Check marshmallow permission easily @@ -10,7 +10,7 @@ At the moment the library is in my personal maven repo ```Gradle repositories { maven { - url 'http://dl.bintray.com/raphaelbussa/maven' + url 'http://dl.bintray.com/com.raphaelbussa/maven' } } ``` @@ -85,18 +85,18 @@ PermissionUtils.openApplicationSettings(MainActivity.this, R.class.getPackage(). # That's all folks! ### Sample -Browse the sample code [here](https://github.com/raphaelbussa/PermissionUtils/tree/master/sample) +Browse the sample code [here](https://github.com/com.raphaelbussa/PermissionUtils/tree/master/sample) ### Javadoc -Browse Javadoc [here](https://raphaelbussa.github.io/PermissionUtils/javadoc/) +Browse Javadoc [here](https://com.raphaelbussa.github.io/PermissionUtils/javadoc/) ### App using Permission Utils -If you use this lib [contact me](mailto:raphaelbussa@gmail.com?subject=PermissionUtils) and I will add it to the list below: +If you use this lib [contact me](mailto:com.raphaelbussa@gmail.com?subject=PermissionUtils) and I will add it to the list below: ### Developed By -Raphaël Bussa - [raphaelbussa@gmail.com](mailto:raphaelbussa@gmail.com) +Raphaël Bussa - [com.raphaelbussa@gmail.com](mailto:com.raphaelbussa@gmail.com) -[ ![Twitter](https://raw.githubusercontent.com/raphaelbussa/PermissionUtils/master/img/social/twitter-icon.png) ](https://twitter.com/raphaelbussa)[ ![Linkedin](https://raw.githubusercontent.com/raphaelbussa/PermissionUtils/master/img/social/linkedin-icon.png) ](https://www.linkedin.com/in/raphaelbussa) +[ ![Twitter](https://raw.githubusercontent.com/com.raphaelbussa/PermissionUtils/master/img/social/twitter-icon.png) ](https://twitter.com/com.raphaelbussa)[ ![Linkedin](https://raw.githubusercontent.com/com.raphaelbussa/PermissionUtils/master/img/social/linkedin-icon.png) ](https://www.linkedin.com/in/com.raphaelbussa) ### License ``` diff --git a/build.gradle b/build.gradle index 8bdbdd5..eeb68e8 100644 --- a/build.gradle +++ b/build.gradle @@ -25,6 +25,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { + ext.kotlin_version = '1.4.30' ext { var = [ @@ -43,6 +44,7 @@ buildscript { dependencies { classpath "com.android.tools.build:gradle:4.1.2" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } diff --git a/docs/index.md b/docs/index.md index 02feaa1..5ddf3aa 100755 --- a/docs/index.md +++ b/docs/index.md @@ -1,7 +1,7 @@ # Permission Utils -[![Download](https://api.bintray.com/packages/raphaelbussa/maven/permission-utils/images/download.svg) ](https://bintray.com/raphaelbussa/maven/permission-utils/_latestVersion) [![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14) [![GitHub issues](https://img.shields.io/github/issues/raphaelbussa/PermissionUtils.svg)](https://github.com/raphaelbussa/PermissionUtils/issues) [![GitHub forks](https://img.shields.io/github/forks/raphaelbussa/PermissionUtils.svg)](https://github.com/raphaelbussa/PermissionUtils/network) [![GitHub stars](https://img.shields.io/github/stars/raphaelbussa/PermissionUtils.svg)](https://github.com/raphaelbussa/PermissionUtils/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/raphaelbussa/PermissionUtils/master/LICENSE) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-PermissionUtils-green.svg?style=true)](https://android-arsenal.com/details/1/3951) +[![Download](https://api.bintray.com/packages/com.raphaelbussa/maven/permission-utils/images/download.svg) ](https://bintray.com/com.raphaelbussa/maven/permission-utils/_latestVersion) [![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14) [![GitHub issues](https://img.shields.io/github/issues/com.raphaelbussa/PermissionUtils.svg)](https://github.com/com.raphaelbussa/PermissionUtils/issues) [![GitHub forks](https://img.shields.io/github/forks/com.raphaelbussa/PermissionUtils.svg)](https://github.com/com.raphaelbussa/PermissionUtils/network) [![GitHub stars](https://img.shields.io/github/stars/com.raphaelbussa/PermissionUtils.svg)](https://github.com/com.raphaelbussa/PermissionUtils/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/com.raphaelbussa/PermissionUtils/master/LICENSE) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-PermissionUtils-green.svg?style=true)](https://android-arsenal.com/details/1/3951) -![Logo](https://raw.githubusercontent.com/raphaelbussa/PermissionUtils/master/sample/src/main/ic_launcher-web.png) +![Logo](https://raw.githubusercontent.com/com.raphaelbussa/PermissionUtils/master/sample/src/main/ic_launcher-web.png) Check marshmallow permission easily @@ -10,7 +10,7 @@ At the moment the library is in my personal maven repo ```Gradle repositories { maven { - url 'http://dl.bintray.com/raphaelbussa/maven' + url 'http://dl.bintray.com/com.raphaelbussa/maven' } } ``` @@ -85,18 +85,18 @@ PermissionUtils.openApplicationSettings(MainActivity.this, R.class.getPackage(). # That's all folks! ### Sample -Browse the sample code [here](https://github.com/raphaelbussa/PermissionUtils/tree/master/sample) +Browse the sample code [here](https://github.com/com.raphaelbussa/PermissionUtils/tree/master/sample) ### Javadoc -Browse Javadoc [here](https://raphaelbussa.github.io/PermissionUtils/javadoc/) +Browse Javadoc [here](https://com.raphaelbussa.github.io/PermissionUtils/javadoc/) ### App using Permission Utils -If you use this lib [contact me](mailto:raphaelbussa@gmail.com?subject=PermissionUtils) and I will add it to the list below: +If you use this lib [contact me](mailto:com.raphaelbussa@gmail.com?subject=PermissionUtils) and I will add it to the list below: ### Developed By -Raphaël Bussa - [raphaelbussa@gmail.com](mailto:raphaelbussa@gmail.com) +Raphaël Bussa - [com.raphaelbussa@gmail.com](mailto:com.raphaelbussa@gmail.com) -[ ![Twitter](https://raw.githubusercontent.com/raphaelbussa/PermissionUtils/master/img/social/twitter-icon.png) ](https://twitter.com/raphaelbussa)[ ![Linkedin](https://raw.githubusercontent.com/raphaelbussa/PermissionUtils/master/img/social/linkedin-icon.png) ](https://www.linkedin.com/in/raphaelbussa) +[ ![Twitter](https://raw.githubusercontent.com/com.raphaelbussa/PermissionUtils/master/img/social/twitter-icon.png) ](https://twitter.com/com.raphaelbussa)[ ![Linkedin](https://raw.githubusercontent.com/com.raphaelbussa/PermissionUtils/master/img/social/linkedin-icon.png) ](https://www.linkedin.com/in/com.raphaelbussa) ### License ``` diff --git a/docs/javadoc/allclasses-frame.html b/docs/javadoc/allclasses-frame.html index 7590d0b..02683df 100644 --- a/docs/javadoc/allclasses-frame.html +++ b/docs/javadoc/allclasses-frame.html @@ -12,15 +12,15 @@

All Classes

diff --git a/docs/javadoc/allclasses-noframe.html b/docs/javadoc/allclasses-noframe.html index 73c1043..46ac581 100644 --- a/docs/javadoc/allclasses-noframe.html +++ b/docs/javadoc/allclasses-noframe.html @@ -12,15 +12,15 @@

All Classes

diff --git a/docs/javadoc/constant-values.html b/docs/javadoc/constant-values.html index 197d9c0..99d7818 100644 --- a/docs/javadoc/constant-values.html +++ b/docs/javadoc/constant-values.html @@ -71,17 +71,17 @@

Constant Field Values

Contents

-
+
-

rebus.permissionutils.*

+

com.raphaelbussa.permissionutils.*

@@ -229,8 +229,8 @@

PermissionConstant

@@ -254,7 +254,7 @@

Method Summary

Method and Description -static PermissionEnum +static PermissionEnum fromManifestPermission(java.lang.String value)  @@ -262,13 +262,13 @@

Method Summary

toString()  -static PermissionEnum +static PermissionEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
-static PermissionEnum[] +static PermissionEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared.
@@ -309,7 +309,7 @@

Enum Constant Detail

@@ -318,7 +318,7 @@

BODY_SENSORS

@@ -327,7 +327,7 @@

READ_CALENDAR

@@ -336,7 +336,7 @@

WRITE_CALENDAR

@@ -345,7 +345,7 @@

READ_CONTACTS

@@ -354,7 +354,7 @@

WRITE_CONTACTS

@@ -363,7 +363,7 @@

GET_ACCOUNTS

@@ -372,7 +372,7 @@

READ_EXTERNAL_STORAGE

@@ -381,7 +381,7 @@

WRITE_EXTERNAL_STORAGE

@@ -390,7 +390,7 @@

ACCESS_FINE_LOCATION

@@ -399,7 +399,7 @@

ACCESS_COARSE_LOCATION

@@ -408,7 +408,7 @@

RECORD_AUDIO

@@ -417,7 +417,7 @@

READ_PHONE_STATE

@@ -426,7 +426,7 @@

CALL_PHONE

@@ -435,7 +435,7 @@

READ_CALL_LOG

@@ -444,7 +444,7 @@

WRITE_CALL_LOG

@@ -453,7 +453,7 @@

ADD_VOICEMAIL

@@ -462,7 +462,7 @@

USE_SIP

@@ -471,7 +471,7 @@

PROCESS_OUTGOING_CALLS

@@ -480,7 +480,7 @@

CAMERA

@@ -489,7 +489,7 @@

SEND_SMS

@@ -498,7 +498,7 @@

RECEIVE_SMS

@@ -507,7 +507,7 @@

READ_SMS

@@ -516,7 +516,7 @@

RECEIVE_WAP_PUSH

@@ -525,7 +525,7 @@

RECEIVE_MMS

@@ -534,7 +534,7 @@

GROUP_CALENDAR

@@ -543,7 +543,7 @@

GROUP_CAMERA

@@ -552,7 +552,7 @@

GROUP_CONTACTS

@@ -561,7 +561,7 @@

GROUP_LOCATION

@@ -570,7 +570,7 @@

GROUP_MICROPHONE

@@ -579,7 +579,7 @@

GROUP_PHONE

@@ -588,7 +588,7 @@

GROUP_SENSORS

@@ -597,7 +597,7 @@

GROUP_SMS

@@ -606,7 +606,7 @@

GROUP_STORAGE

@@ -623,7 +623,7 @@

Method Detail

@@ -158,28 +158,28 @@

Method Summary

ask(android.app.Fragment fragment)  -PermissionManager +PermissionManager askAgain(boolean askAgain)  -PermissionManager -askAgainCallback(AskAgainCallback askAgainCallback)  +PermissionManager +askAgainCallback(AskAgainCallback askAgainCallback)  -static PermissionManager +static PermissionManager Builder()  -PermissionManager -callback(FullCallback fullCallback)  +PermissionManager +callback(FullCallback fullCallback)  -PermissionManager -callback(SimpleCallback simpleCallback)  +PermissionManager +callback(SimpleCallback simpleCallback)  -PermissionManager -callback(SmartCallback smartCallback)  +PermissionManager +callback(SmartCallback smartCallback)  static void @@ -203,20 +203,20 @@

Method Summary

int[] grantResults)  -PermissionManager +PermissionManager key(int key)  -PermissionManager -permission(PermissionEnum... permissions)  +PermissionManager +permission(PermissionEnum... permissions)  -PermissionManager -permission(PermissionEnum permission)  +PermissionManager +permission(PermissionEnum permission)  -PermissionManager -permissions(java.util.ArrayList<PermissionEnum> permissions)  +PermissionManager +permissions(java.util.ArrayList<PermissionEnum> permissions)