👍🎉 First off, thanks for taking the time 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.
If you have found a bug with the SDK, please feel free to open an Issue.
If you are pretty certain that the issue is only related to the native iOS SDK, please open the issue in our native iOS SDK repository.
If you are certain the issue is contained to the Android SDK, please open the issue in our Android SDK repository
Before creating bug reports, please check this list of steps to follow.
- 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)
- Please make sure to include as many details as possible
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.
- 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 react-native your app is using, what version of the react-native-onesignal SDK you're using, how you added it to your project, 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
/examples
folder of this repo) and set up an example project with this code as a starting point.