Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
permission_handler
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songyanzhi
permission_handler
Commits
4642bc2a
Commit
4642bc2a
authored
Feb 12, 2021
by
Maurits van Beusekom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme
parent
f2e6b77f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
62 additions
and
47 deletions
+62
-47
.github/workflows/app_facing_package.yaml
+1
-45
.github/workflows/platform_interface_package.yaml
+59
-0
README.md
+1
-1
permission_handler/README.md
+0
-0
permission_handler_platform_interface/README.md
+1
-1
No files found.
.github/workflows/
permission_handler_plugin
.yaml
→
.github/workflows/
app_facing_package
.yaml
View file @
4642bc2a
# This is a basic workflow to help you get started with Actions
# This is a basic workflow to help you get started with Actions
name
:
permission_handler
name
:
app_facing_package
# Controls when the action will run. Triggers the workflow on push or pull request
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the develop branch
# events but only for the develop branch
...
@@ -12,50 +12,6 @@ on:
...
@@ -12,50 +12,6 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs
:
jobs
:
# Job configuration for the permission_handler_platform_interface (Platform Interface Package)
permission_handler_platform_interface
:
# The type of runner that the job will run on
runs-on
:
macos-latest
env
:
source-directory
:
./permission_handler_platform_interface
# Steps represent a sequence of tasks that will be executed as part of the job
steps
:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
-
uses
:
actions/checkout@v2
# Make sure the stable version of Flutter is available
-
uses
:
subosito/flutter-action@v1
with
:
channel
:
'
beta'
# Download all Flutter packages the permission_handler_platform_interface depends on
-
name
:
Download dependencies
run
:
flutter pub get
working-directory
:
${{env.source-directory}}
# Run Flutter Format to ensure formatting is valid
-
name
:
Run Flutter Format
run
:
flutter format --set-exit-if-changed lib
working-directory
:
${{env.source-directory}}
# Run Flutter Analyzer
-
name
:
Run Flutter Analyzer
run
:
flutter analyze
working-directory
:
${{env.source-directory}}
# Run all unit-tests with code coverage
-
name
:
Run unit tests
run
:
flutter test --coverage
working-directory
:
${{env.source-directory}}
# Upload code coverage information
-
uses
:
codecov/codecov-action@v1
with
:
file
:
${{env.source-directory}}/coverage/lcov.info
# optional
name
:
permission_handler_platform_interface (Platform Interface Package)
# optional
fail_ci_if_error
:
true
# Job configuration for the permission_handler (App Facing Package)
# Job configuration for the permission_handler (App Facing Package)
permission_handler
:
permission_handler
:
# The type of runner that the job will run on
# The type of runner that the job will run on
...
...
.github/workflows/platform_interface_package.yaml
0 → 100644
View file @
4642bc2a
# This is a basic workflow to help you get started with Actions
name
:
platform_interface_package
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the develop branch
on
:
push
:
branches
:
[
master
,
develop
]
pull_request
:
branches
:
[
master
,
develop
]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs
:
# Job configuration for the permission_handler_platform_interface (Platform Interface Package)
permission_handler_platform_interface
:
# The type of runner that the job will run on
runs-on
:
macos-latest
env
:
source-directory
:
./permission_handler_platform_interface
# Steps represent a sequence of tasks that will be executed as part of the job
steps
:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
-
uses
:
actions/checkout@v2
# Make sure the stable version of Flutter is available
-
uses
:
subosito/flutter-action@v1
with
:
channel
:
'
beta'
# Download all Flutter packages the permission_handler_platform_interface depends on
-
name
:
Download dependencies
run
:
flutter pub get
working-directory
:
${{env.source-directory}}
# Run Flutter Format to ensure formatting is valid
-
name
:
Run Flutter Format
run
:
flutter format --set-exit-if-changed lib
working-directory
:
${{env.source-directory}}
# Run Flutter Analyzer
-
name
:
Run Flutter Analyzer
run
:
flutter analyze
working-directory
:
${{env.source-directory}}
# Run all unit-tests with code coverage
-
name
:
Run unit tests
run
:
flutter test --coverage
working-directory
:
${{env.source-directory}}
# Upload code coverage information
-
uses
:
codecov/codecov-action@v1
with
:
file
:
${{env.source-directory}}/coverage/lcov.info
# optional
name
:
permission_handler_platform_interface (Platform Interface Package)
# optional
fail_ci_if_error
:
true
\ No newline at end of file
README.md
View file @
4642bc2a
[

](https://pub.dartlang.org/packages/permission_handler)
[

](https://app.bitrise.io/app/fa4f5d4bf452bcfb
)
[

](https://github.com/tenhobi/effective_dart)
[

](https://pub.dartlang.org/packages/permission_handler)
!
[
Build status
](
https://github.com/Baseflow/flutter-permission-handler/workflows/permission_handler/badge.svg?branch=master
)
[
![style: effective dart
]
(https://img.shields.io/badge/style-effective_dart-40c4ff.svg)](https://github.com/tenhobi/effective_dart)
On most operating systems, permissions aren't just granted to apps at install time.
On most operating systems, permissions aren't just granted to apps at install time.
Rather, developers have to ask the user for permissions while the app is running.
Rather, developers have to ask the user for permissions while the app is running.
...
...
permission_handler/README.md
View file @
4642bc2a
This diff is collapsed.
Click to expand it.
permission_handler_platform_interface/README.md
View file @
4642bc2a
# permission_handler_platform_interface
# permission_handler_platform_interface
[

](https://pub.dartlang.org/packages/permission_handler_platform_interface)
[

](https://github.com/tenhobi/effective_dart)
[

](https://pub.dartlang.org/packages/permission_handler_platform_interface)
!
[
Build status
](
https://github.com/Baseflow/flutter-permission-handler/workflows/platform_interface_package/badge.svg?branch=master
)
[
![style: effective dart
]
(https://img.shields.io/badge/style-effective_dart-40c4ff.svg)](https://github.com/tenhobi/effective_dart)
A common platform interface for the
[
`permission_handler`
][
1
]
plugin.
A common platform interface for the
[
`permission_handler`
][
1
]
plugin.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment