Thank you for taking the time to contribute to our Package🙌🏾.
In this section, we detail everything you need to know about contributing to this library.
Please don't raise an issue to ask a question. You can ask questions on our forum or developer slack. We have an army of Engineers on hand to answer your questions there.
Have you spotted a bug? Fantastic! Before raising an issue, here are some things to do:
- Search to see if another user has reported the bug. For existing issues that are still open, add a comment instead of creating a new one.
- Check our forum and developer slack to confirm that we did not address it there.
When you report an issue, it is important to:
- Explain the problem
- Use a clear and descriptive title to help us to identify the problem.
- Describe steps we can use to replicate the bug and be as precise as possible.
- Include screenshots of the error messages.
- Include details about your configuration and setup
- What version of the library are you using?
- Did you experience the bug on test mode or live?
- Do you have the recommended versions of the library dependencies?
💡 Please make use of the issue template when reporting bugs.
If you need an additional feature added to the library, kindly send us an email at [email protected]. Be sure to include the following in your request:
- A clear title that helps us to identify the requested feature.
- A brief description of the use case for that feature.
- Explain how this feature would be helpful to your integration.
- Library name and version.
Generally, you can make any of the following changes to the library:
- Bug fixes
- Performance improvement
- Documentation update
- Functionality change (usually new features)
💡 Changes that are cosmetic in nature and do not add anything substantial to the stability, functionality, or testability of the library will generally not be accepted.
Follow these steps when making a pull request to the library:
- Fork the repository and create your branch from master.
- For all types of changes (excluding documentation updates), add tests for the changes.
- If you are making a functionality change, update the docs to show how to use the new feature.
- Ensure all your tests pass.
- Make sure your code lints.
- Write clear log messages for your commits. one-liners are fine for small changes, but bigger changes should have a more descriptive commit message (see sample below).
- Use present tense for commit messages, "Add feature" not "Added feature”.
- Ensure that you fill out all sections of the PR template.
- Raise the PR against the
staging
branch. - After you submit the PR, verify that all status checks are passing
$ git commit -m "A brief summary of the commit
>
> A paragraph describing what changed and its impact."
💡 For your pull request to be reviewed, you need to meet the requirements above. We may ask you to complete additional tests, or other changes before your pull request can be ultimately accepted.
We encourage you to contribute and help make the library better for the community. Got questions? send us a message.
Thank you.
The Flutterwave team 🦋