Skip to content

Commit

Permalink
Add Contributing Guidelines & Issue Template
Browse files Browse the repository at this point in the history
• Adds contributing guidelines as well as an issue template.
  • Loading branch information
Nightsd01 committed Jul 26, 2018
1 parent 638135c commit 5882411
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
26 changes: 26 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contributing to the OneSignal Flutter SDK

:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:

### How to Contribute
We love the open source community and enjoy the support and contributions of many of our users. We ask that any potential contributors to the SDK Follow the following guidelines:

If your proposed contribution is a small bug fix, please feel free to create your own fork of the repository and create a pull request.

If your contribution would _break_ or _change_ the functionality of the SDK, please reach out to us on (contact) before you put in a lot of effort into a change we may not be able to use. We try our best to make sure that the SDK remains stable so that developers do not have to continually change their code, however some breaking changes _are_ desirable, so please get in touch to discuss your idea before you put in a lot of effort.

#### Before Submitting A Bug Report
Before creating bug reports, please check this list of steps to follow.

1. Make sure that you are actually encountering an _issue_ and not a _question_. If you simply have a question about the SDK, we would be more than happy to assist you in our Support section on the web (https://www.onesignal.com - click the Message button at the bottom right)
2. Please make sure to [include as many details as possible](#how-do-i-submit-a-good-bug-report)

> **Note:** If you find a **Closed** issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one.

#### How Do I Submit a Good Bug Report
* **Use a clear and descriptive title** for the issue to identify the problem.
* **Include Reproducibility** It is nearly always a good idea to include steps to reproduct the issue. If you cannot reliably reproduce the issue yourself, that's ok, but reproducible steps help best.
* **Describe your environment**, tell us what version of the Flutter SDK you are using, how you added it to your project, how your initialized the SDK, and so on.
* **Include a Stack Trace** If your issue involves a crash/exception, ***PLEASE*** post the stack trace to help us identify the root issue.
* **Include an Example Project** This isn't required, but if you want your issue fixed quickly, it's often a good idea to include an example project as a zip and include it with the issue. You can also download the Demo project (included in the `/example` folder of this repo) and set up an example project with this code as a starting point.
41 changes: 41 additions & 0 deletions issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!--
1. IF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MAY CLOSE YOUR ISSUE WITHOUT INVESTIGATION
2. SEARCH EXISTING ISSUES FOR AN ANSWER: https://github.com/OneSignal/OneSignal-Flutter-SDK/issues
3. See our contributing guidelines: https://github.com/OneSignal/OneSignal-Flutter-SDK/blob/master/CONTRIBUTING.md
-->

**Description:**
<!-- (write below this line) -->

(your description here)

**Environment**
<!-- Example:
1. What version of the OneSignal Flutter SDK are you using?
2. How did you add the SDK to your project (eg. pub)
-->



**Steps to Reproduce Issue:**
<!--
Example:
1. Install the OneSignal Flutter SDK using pub into your project
2. Initialize the SDK using OneSignal.shared.init(your_app_id)
3. Attempt to receive a push notification
(write below this line) -->

1. (your steps here)
2.
3.

**Anything else:**

(crash stacktraces, as well as any other information here)


<!--
SEARCH EXISTING ISSUES FOR AN ANSWER: https://github.com/OneSignal/OneSignal-Flutter-SDK/issues
-->

0 comments on commit 5882411

Please sign in to comment.