Review the following guidelines for submitting questions, issues, or changes to this repository.
If you have issues using the SDK or have a question about the Event Notifications service, you can ask a question on Stack Overflow. Be sure to include the ibm-eventnotifications
tag.
This SDK follows coding style based on Google’s Android coding standards for source code in the Java Programming Language.
To ensure source code has no structural problems, run Android Lint code scanning tool that helps to identify and correct problems with the structural quality of the code.
If you encounter an issue with the Android Destination SDK, you are welcome to submit a bug report. Before that, please search for similar issues. It's possible somebody has encountered this issue already.
If you want to contribute to the repository, here's a quick guide:
- Fork the repository
- Develop and test your code changes:
- Follow the coding style as documented above
- Please add one or more tests to validate your changes.
- Make sure everything builds/tests cleanly.
- Commit your changes
- Push to your fork and submit a pull request to the
main
branch
For Windows: use gradlew.bat
For Linux or Mac: use ./gradlew
By default, when you run ./gradlew testDebugUnitTest
, the unit tests are run.
This repo uses Jacoco to measure code coverage. To obtain a code coverage report, run ./gradlew jacocoTestReport
from the event-notifications-destination-android-sdk
folder, and then view the coverage report in the lib/build/reports
directory:
open rep/jacocoTestReport/html/index.html
To generate the HTML docs for the project, run ./gradlew generateJavadocs
and then view the docs in the library/build/docs/javadoc/release/
directory.
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.