-
-
Notifications
You must be signed in to change notification settings - Fork 857
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/1174-background-refresh-status
- Loading branch information
Showing
89 changed files
with
1,222 additions
and
630 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,44 @@ | ||
Contributing to the Flutter Permission handler plugin | ||
============================================= | ||
# Contributing to the Flutter Permission handler plugin | ||
|
||
What you will need | ||
------------------ | ||
## What you will need | ||
|
||
* A Linux, Mac OS X, or Windows machine (note: to run and compile iOS specific parts you'll need access to a Mac OS X machine); | ||
* git (used for source version control, installation instruction can be found [here](https://git-scm.com/)); | ||
* The Flutter SDK (installation instructions can be found [here](https://flutter.io/get-started/install/)); | ||
* A personal GitHub account (if you don't have one, you can sign-up for free [here](https://github.com/)) | ||
* A Linux, Mac OS X, or Windows machine (note: to run and compile iOS-specific parts you'll need access to a Mac OS X machine); | ||
* git (used for source version control, installation instructions can be found [here](https://git-scm.com/)); | ||
* The Flutter SDK (installation instructions can be found [here](https://flutter.io/get-started/install/)); | ||
* A personal GitHub account (if you don't have one, you can sign up for free [here](https://github.com/)) | ||
|
||
Setting up your development environment | ||
--------------------------------------- | ||
## Setting up your development environment | ||
|
||
* Fork `https://github.com/Baseflow/flutter-permission-handler` into your own GitHub account. If you already have a fork and moving to a new computer, make sure you update you fork. | ||
* If you haven't configured your machine with an SSH key that's known to github, then | ||
follow [GitHub's directions](https://help.github.com/articles/generating-ssh-keys/) | ||
to generate an SSH key. | ||
* Clone your forked repo on your local development machine: `git clone git@github.com:<your_name_here>/flutter-permission-handler.git` | ||
* Change into the `flutter-permission-handler` directory: `cd flutter-permission-handler` | ||
* Add an upstream to the original repo, so that fetch from the master repository and not your clone: `git remote add upstream git@github.com:Baseflow/flutter-permission-handler.git` | ||
* Fork `https://github.com/Baseflow/flutter-permission-handler` into your own GitHub account. If you already have a fork and moving to a new computer, make sure you update your fork. | ||
* If you haven't configured your machine with an SSH key that's known to GitHub, then | ||
follow [GitHub's directions](https://help.github.com/articles/generating-ssh-keys/) | ||
to generate an SSH key. | ||
* Clone your forked repo on your local development machine: `git clone git@github.com:<your_name_here>/flutter-permission-handler.git` | ||
* Change into the `flutter-permission-handler` directory: `cd flutter-permission-handler` | ||
* Add an upstream to the original repo, so that fetches from the master repository and not your clone: `git remote add upstream git@github.com:Baseflow/flutter-permission-handler.git` | ||
|
||
Running the example project | ||
--------------------------- | ||
## Running the example project | ||
|
||
* Change into the example directory: `cd example` | ||
* Run the App: `flutter run` | ||
* Change into the example directory: `cd example` | ||
* Run the App: `flutter run` | ||
|
||
Contribute | ||
---------- | ||
## Contribute | ||
|
||
We really appreciate contributions via GitHub pull requests. To contribute take the following steps: | ||
|
||
* Make sure you are up to date with the latest code on the master: | ||
* `git fetch upstream` | ||
* `git checkout upstream/develop -b <name_of_your_branch>` | ||
* Apply your changes | ||
* Verify your changes and fix potential warnings/ errors: | ||
* Check formatting: `flutter format .` | ||
* Run static analyses: `flutter analyze` | ||
* Run unit-tests: `flutter test` | ||
* Commit your changes: `git commit -am "<your informative commit message>"` | ||
* Push changes to your fork: `git push origin <name_of_your_branch>` | ||
* Make sure you are up to date with the latest code on the master: | ||
* `git fetch upstream` | ||
* `git checkout upstream/develop -b <name_of_your_branch>` | ||
* Apply your changes | ||
* Verify your changes and fix potential warnings/ errors: | ||
* Check formatting: `flutter format .` | ||
* Run static analyses: `flutter analyze` | ||
* Run unit-tests: `flutter test` | ||
* Commit your changes: `git commit -am "<your informative commit message>"` | ||
* Push changes to your fork: `git push origin <name_of_your_branch>` | ||
|
||
Send us your pull request: | ||
|
||
* Go to `https://github.com/Baseflow/flutter-permission-handler` and click the "Compare & pull request" button. | ||
* Go to `https://github.com/Baseflow/flutter-permission-handler` and click the "Compare & pull request" button. | ||
|
||
Please make sure you solved all warnings and errors reported by the static code analyses and that you fill in the full pull request template. Failing to do so will result in us asking you to fix it. | ||
Please make sure you solved all warnings and errors reported by the static code analyses and that you fill in the full pull request template. Failing to do so will result in us asking you to fix it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.