File tree Expand file tree Collapse file tree 14 files changed +123
-56
lines changed
app/src/androidTest/java/com/qifan/powerpermission
powerpermission-coroutines
src/main/java/com/qifan/powerpermission/core Expand file tree Collapse file tree 14 files changed +123
-56
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Bug report
3+ about : Create a report to help us improve
4+ title : ' '
5+ labels : ' '
6+ assignees : ' '
7+
8+ ---
9+
10+ ** Describe the bug**
11+ A clear and concise description of what the bug is.
12+
13+ ** To Reproduce**
14+ Steps to reproduce the behavior:
15+ 1 . Go to '...'
16+ 2 . Click on '....'
17+ 3 . Scroll down to '....'
18+ 4 . See error
19+
20+ ** Expected behavior**
21+ A clear and concise description of what you expected to happen.
22+
23+ ** Screenshots**
24+ If applicable, add screenshots to help explain your problem.
25+
26+ ** Desktop (please complete the following information):**
27+ - OS: [ e.g. iOS]
28+ - Browser [ e.g. chrome, safari]
29+ - Version [ e.g. 22]
30+
31+ ** Smartphone (please complete the following information):**
32+ - Device: [ e.g. iPhone6]
33+ - OS: [ e.g. iOS8.1]
34+ - Browser [ e.g. stock browser, safari]
35+ - Version [ e.g. 22]
36+
37+ ** Additional context**
38+ Add any other context about the problem here.
Original file line number Diff line number Diff line change 1+ ---
2+ name : Feature request
3+ about : Suggest an idea for this project
4+ title : ' '
5+ labels : ' '
6+ assignees : ' '
7+
8+ ---
9+
10+ ** Is your feature request related to a problem? Please describe.**
11+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [ ...]
12+
13+ ** Describe the solution you'd like**
14+ A clear and concise description of what you want to happen.
15+
16+ ** Describe alternatives you've considered**
17+ A clear and concise description of any alternative solutions or features you've considered.
18+
19+ ** Additional context**
20+ Add any other context or screenshots about the feature request here.
Original file line number Diff line number Diff line change 1+ ### Guidelines
2+
3+ 1 . You must run the ` spotlessApply ` task before commiting, either through Android Studio or with ` ./gradlew spotlessApply ` .
4+ 2 . A PR should be focused and contained. If you are changing multiple unrelated things, they should be in separate PRs.
5+ 3 . A PR should fix a bug or solve a problem - something that only you would use is not necessarily something that should be published.
6+ 4 . Give your PR a detailed title and description - look over your code one last time before actually creating the PR. Give it a self-review.
7+
8+ ** If you do not follow the guidelines, your PR will be rejected.**
Original file line number Diff line number Diff line change 1+ name : Android Check CI
2+ on : [push]
3+
4+ jobs :
5+ build :
6+
7+ runs-on : ubuntu-18.04
8+
9+ steps :
10+ - uses : actions/checkout@v1
11+ - name : set up JDK 1.8
12+ uses : actions/setup-java@v1
13+ with :
14+ java-version : 1.8
15+ - name : Build with Gradle
16+ run : ./gradlew build check
Original file line number Diff line number Diff line change 11# PowerPermission
2+ [ ![ jCenter] ( https://api.bintray.com/packages/undervoid/PowerPermission/powerpermission/images/download.svg ) ] ( https://bintray.com/undervoid/maven/Powerpermission/powerpermission/_latestVersion )
3+ [ ![ License] ( https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square )] ( https://www.apache.org/licenses/LICENSE-2.0.html )
4+ ![ Android Check CI] ( https://github.com/underwindfall/PowerPermission/workflows/Android%20Check%20CI/badge.svg )
25#### English Documentation | [ 中文文档] ( https://github.com/underwindfall/PowerPermission/blob/master/README_ZH.md )
36
47## Table of Contents
Original file line number Diff line number Diff line change 11# PowerPermission
2+ [ ![ jCenter] ( https://api.bintray.com/packages/undervoid/PowerPermission/powerpermission/images/download.svg ) ] ( https://bintray.com/undervoid/maven/Powerpermission/powerpermission/_latestVersion )
3+ [ ![ License] ( https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square )] ( https://www.apache.org/licenses/LICENSE-2.0.html )
4+ ![ Android Check CI] ( https://github.com/underwindfall/PowerPermission/workflows/Android%20Check%20CI/badge.svg )
25#### [ English Documentation] ( https://github.com/underwindfall/PowerPermission ) | 中文文档
36
47## 目录
2225 - [ 自定义解释界面] ( #------- )
2326 - [ Choose those permissions are rational] ( #choose-those-permissions-are-rational )
2427 * [ License] ( #license )
28+
2529## 简介
2630` PowerPermission ` 主要针对 ` Android ` 开发者在面对请求[ RuntimePermission] ( https://developer.android.com/reference/java/lang/RuntimePermission ) 时的复杂流程的使用进行简化,来提高代码的便携效率。
2731> 在这个Repo已经有个示例的` application ` 或者你可以通过这个[ 链接] ( https://github.com/underwindfall/PowerPermission/releases ) 直接下载APK.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4747 // mock
4848 mockKVersion = " 1.9.3"
4949 mockK = " io.mockk:mockk:$mockKVersion "
50+
51+
52+ publishVersionID = " 1.0.0"
53+ groupProjectID = " com.qifan.powerpermission"
54+ userName = " undervoid"
55+ libName = " PowerPermission"
56+ descriptionLib = " PowerPermission makes handling runtime permissions extremely easy."
57+ websiteLib = " https://github.com/underwindfall/PowerPermission"
5058}
Original file line number Diff line number Diff line change @@ -41,15 +41,13 @@ dependencies {
4141}
4242
4343publish {
44- def groupProjectID = " com.qifan.powerpermission"
45- def publishVersionID = " 1.0.0"
4644 def artifactProjectID = " powerpermission-coroutines"
4745
48- userOrg = " undervoid "
49- repoName = " PowerPermission "
46+ userOrg = userName
47+ repoName = libName
5048 groupId = groupProjectID
5149 artifactId = artifactProjectID
5250 publishVersion = publishVersionID
53- desc = " PowerPermission makes handling runtime permissions extremely easy. "
54- website = " https://github.com/underwindfall/PowerPermission "
51+ desc = descriptionLib
52+ website = websiteLib
5553}
Original file line number Diff line number Diff line change @@ -40,15 +40,13 @@ dependencies {
4040}
4141
4242publish {
43- def groupProjectID = " com.qifan.powerpermission"
44- def publishVersionID = " 1.0.0"
4543 def artifactProjectID = " powerpermission-livedata"
4644
47- userOrg = " undervoid "
48- repoName = " PowerPermission "
45+ userOrg = userName
46+ repoName = libName
4947 groupId = groupProjectID
5048 artifactId = artifactProjectID
5149 publishVersion = publishVersionID
52- desc = " PowerPermission makes handling runtime permissions extremely easy. "
53- website = " https://github.com/underwindfall/PowerPermission "
50+ desc = descriptionLib
51+ website = websiteLib
5452}
You can’t perform that action at this time.
0 commit comments