Skip to content

🍎 Android runtime permission manager, simplify request runtime permission process.

License

Notifications You must be signed in to change notification settings

wenxiangli/AndPermission

 
 

Repository files navigation

AndPermission

Simplify request run time permission process. AndPermission supports request permissions on Android 5.0 (Api Level 21) and higher, which will return success directly on systems that are lower than Android 5.0.

  1. Where to use ?
  • With Activity
  • With Fragment
  • With SupportFragment(In the support library)
  • With Context
  1. Multiple forms
  • Single permission
  • Single permission group
  • Multiple permissions
  • Multiple permission groups

For usage and other information see Document.

中文文档-中国开发者必看

Download

  • Gradle
implementation 'com.yanzhenjie:permission:2.0.0-rc2'
  • Maven
<dependency>
  <groupId>com.yanzhenjie</groupId>
  <artifactId>permission</artifactId>
  <version>2.0.0-rc2</version>
</dependency>

AndPermission requires at minimum Java 7 or Android 3.0(Api level 11) .

ProGuard

If you are using ProGuard you might need to add the following options:

-dontwarn com.yanzhenjie.permission.**

License

Copyright 2016 Yan Zhenjie

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.

About

🍎 Android runtime permission manager, simplify request runtime permission process.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%