benpope82 / AndPermission

:apple: Android runtime permission manager, simplify request runtime permission process.

Home Page:https://github.com/yanzhenjie/AndPermission

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

:apple: Android runtime permission manager, simplify request runtime permission process.

https://github.com/yanzhenjie/AndPermission

License:Apache License 2.0


Languages

Language:Java 100.0%