Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Tedpermission | 1,572 | a year ago | 8 | October 27, 2021 | 22 | Java | ||||
Easy check permission library for Android Marshmallow | ||||||||||
Runtimepermission | 868 | 3 years ago | 5 | apache-2.0 | Java | |||||
Simpliest way to ask runtime permissions on Android, no need to extend class or override permissionResult method, choose your way : Kotlin / Coroutines / RxJava / Java7 / Java8 | ||||||||||
Unityandroidpermissions | 98 | 4 years ago | 1 | mit | C# | |||||
Unity Android Runtime Permissions for Android Marshmallow | ||||||||||
Wpandroidpermissions | 66 | 7 years ago | 1 | Java | ||||||
Permissionhelper | 65 | 2 years ago | apache-2.0 | Kotlin | ||||||
PermissionHelper for Android M, Kotlin best way | ||||||||||
Selfie | 56 | 6 years ago | apache-2.0 | Java | ||||||
A simple library to make taking screenshots of your apps a breeze. | ||||||||||
Custompermissionsdialogue | 52 | 3 years ago | n,ull | Java | ||||||
Custom Permissions Dialogue is the only permissions library that supports ALL permission request scenarios. This library handles multiple edge cases such as not enabling all permissions or permanently rejecting a permission request. | ||||||||||
Android Permissions Manager | 51 | 4 years ago | 2 | Kotlin | ||||||
Easily manage Android Marshmallow and up runtime permissions. | ||||||||||
Android Permissions Gradle Plugin | 39 | 5 years ago | apache-2.0 | Kotlin | ||||||
Plugin generating a helper class to deal with the new Permissions System in Marshmallow | ||||||||||
Easypermissions | 36 | a year ago | ||||||||
Request permissions from anywhere as long as you have context. |
Android Permission Library - it is easy to check permissions
After the version of the Android marshmallow,
We have to declare permission in Manifest.xml file as well as check permission at runtime
Also, User anytime can turn on/off permission in app-setup,
So we need to check permission whenever our app have started
For that, this "MommooPermisson Libaray" can help easy to check permissions
dependencies {
compile 'com.mommoo.android:mommoo-permission:0.1.5'
}
new MommooPermission.Builder(this)
.setPermissions(Manifest.permission.WRITE_CALENDAR,
Manifest.permission.CAMERA,
Manifest.permission.READ_CONTACTS)
.setOnPermissionDenied(new OnPermissionDenied() {
@Override
public void onDenied(List<DenyInfo> deniedPermissionList) {
for (DenyInfo denyInfo : deniedPermissionList){
System.out.println("isDenied : " + denyInfo.getPermission() +" , "+
"userNeverSeeChecked : " + denyInfo.isUserNeverAskAgainChecked());
}
}
})
.setPreNoticeDialogData("Pre Notice","Please accept all permission to using this app")
.setOfferGrantPermissionData("Move To App Setup","1. Touch the 'SETUP'\n" +
"2. Touch the 'Permission' tab\n"+
"3. Grant all permissions by dragging toggle button")
.build()
.checkPermissions();
setPreNoticeDialogData(String preNoticeTitle, String preNoticeMessage)
"If use this, app will show pre notice dialog before permission dialog is shown"
setPostNoticeDialogData(String postNoticeTitle, String postNoticeMessage)
"If use this, app will show post notice dialog after permission dialog is closed"
setOfferGrantPermissionData(String offerGrantPermissionTitle, String offerGrantPermissionDialog)
"If use this, app will show guide dialog that help user to grant permission direclty at setup screen"
setOnPermissionGranted(OnPermissionGranted onPermissionGranted)
setOnPermissionDenied(OnPermissionDenied onPermissionDenied)
"If user grant or deny permission at permission dialog, OnPermissionXXXX listener would be invoked"
setOnUserDirectPermissionGrant(OnUserDirectPermissionGrant onUserDirectPermissionGrant)
setOnUserDirectPermissionDeny(OnUserDirectPermissionDeny onUserDirectPermissionDeny)
"After permission dialog closed,
if user grant or deny permission at app setup screen, OnUserDirectPermissionXXX listener would be invoked"
Copyright 2017 Mommoo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.