|
| 1 | +# Contributing to the OneSignal iOS SDK |
| 2 | + |
| 3 | +:+1::tada: First off, thanks for taking the time to contribute! :tada::+1: |
| 4 | + |
| 5 | +### How to Contribute |
| 6 | +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: |
| 7 | + |
| 8 | +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. |
| 9 | + |
| 10 | +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. |
| 11 | + |
| 12 | +#### Before Submitting A Bug Report |
| 13 | +Before creating bug reports, please check this list of steps to follow. |
| 14 | + |
| 15 | +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) |
| 16 | +2. Please make sure to [include as many details as possible](#how-do-i-submit-a-good-bug-report) |
| 17 | + |
| 18 | +> **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. |
| 19 | +
|
| 20 | + |
| 21 | +#### How Do I Submit a Good Bug Report |
| 22 | +* **Use a clear and descriptive title** for the issue to identify the problem. |
| 23 | +* **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. |
| 24 | +* **Describe your environment**, tell us what version of the iOS SDK you are using, how you added it to your project (ie. cocoapods, manual installation, etc), whether your project is Swift vs. Objective-C, and so on. |
| 25 | +* **Include a Stack Trace** If your issue involves a crash/exception, ***PLEASE*** post the stack trace to help us identify the root issue. |
| 26 | +* **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 `/examples` folder of this repo) and set up an example project with this code as a starting point. |
0 commit comments