Permission

Permission manager for Android

Лицензия

Лицензия

Группа

Группа

com.yanzhenjie
Идентификатор

Идентификатор

permission
Последняя версия

Последняя версия

2.0.2
Дата

Дата

Тип

Тип

aar
Описание

Описание

Permission
Permission manager for Android
Ссылка на сайт

Ссылка на сайт

https://github.com/yanzhenjie/AndPermission
Система контроля версий

Система контроля версий

https://github.com/yanzhenjie/AndPermission

Скачать permission

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.yanzhenjie/permission/ -->
<dependency>
    <groupId>com.yanzhenjie</groupId>
    <artifactId>permission</artifactId>
    <version>2.0.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.yanzhenjie/permission/
implementation 'com.yanzhenjie:permission:2.0.2'
// https://jarcasting.com/artifacts/com.yanzhenjie/permission/
implementation ("com.yanzhenjie:permission:2.0.2")
'com.yanzhenjie:permission:aar:2.0.2'
<dependency org="com.yanzhenjie" name="permission" rev="2.0.2">
  <artifact name="permission" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.yanzhenjie', module='permission', version='2.0.2')
)
libraryDependencies += "com.yanzhenjie" % "permission" % "2.0.2"
[com.yanzhenjie/permission "2.0.2"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
androidx.appcompat » appcompat jar 1.1.0

Модули Проекта

Данный проект не имеет модулей.

AndPermission

  1. Request for runtime permissions.
  2. Share private files.
  3. Request to install unknown source apk.
    android.permission.REQUEST_INSTALL_PACKAGES
  4. Request to draw at the top of other apps.
    android.permission.SYSTEM_ALERT_WINDOW
  5. Request to show notifications.
  6. Request to access notifications.
    android.permission.BIND_NOTIFICATION_LISTENER_SERVICE
  7. Request to modify system setting.
    android.permission.WRITE_SETTINGS
AndPermission.with(this)
  .runtime()
  .permission(Permission.Group.STORAGE)
  .onGranted(permissions -> {
    // Storage permission are allowed.
  })
  .onDenied(permissions -> {
    // Storage permission are not allowed.
  })
  .start();

For documentation and additional information see the website.

Download

It only supports androidx, add dependencies in your gradle:

implementation 'com.yanzhenjie:permission:2.0.3'

AndPermission requires at minimum Android 4.0(Api level 14) .

Contributing

Before submitting pull requests, contributors must abide by the agreement .

License

Copyright 2019 Zhenjie Yan

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.

Версии библиотеки

Версия
2.0.2
2.0.0
2.0.0-rc12
2.0.0-rc11
2.0.0-rc10
2.0.0-rc9
2.0.0-rc8
2.0.0-rc7
2.0.0-rc6
2.0.0-rc5
2.0.0-rc4
2.0.0-rc2
2.0.0-rc1
2.0.0-alpha
1.1.2
1.1.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0