Mommoopermission

Android Permission Library - it is easy to check permissions
Alternatives To Mommoopermission
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Tedpermission1,572
a year ago8October 27, 202122Java
Easy check permission library for Android Marshmallow
Runtimepermission868
3 years ago5apache-2.0Java
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
Unityandroidpermissions98
4 years ago1mitC#
Unity Android Runtime Permissions for Android Marshmallow
Wpandroidpermissions66
7 years ago1Java
Permissionhelper65
2 years agoapache-2.0Kotlin
PermissionHelper for Android M, Kotlin best way
Selfie56
6 years agoapache-2.0Java
A simple library to make taking screenshots of your apps a breeze.
Custompermissionsdialogue52
3 years agon,ullJava
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 Manager51
4 years ago2Kotlin
Easily manage Android Marshmallow and up runtime permissions.
Android Permissions Gradle Plugin39
5 years agoapache-2.0Kotlin
Plugin generating a helper class to deal with the new Permissions System in Marshmallow
Easypermissions36
a year ago
Request permissions from anywhere as long as you have context.
Alternatives To Mommoopermission
Select To Compare


Alternative Project Comparisons
Readme

MommooPermission

Android Permission Library - it is easy to check permissions

Introduction

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

Example Image

example screenshot

Set up

Gradle

dependencies {
    compile 'com.mommoo.android:mommoo-permission:0.1.5'
}

How to use

Code Example

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();

API for cusmizing

Show Dialog API

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"

Callback Listener API

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"

License

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.
Popular Permission Projects
Popular Marshmallow Projects
Popular Security Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Permissions
Marshmallow