Contributions to Smart WebView are welcome! Whether it’s fixing bugs, improving documentation, or adding new features, your help is appreciated.


How to Contribute

  1. Fork the Repository: Start by forking the main repository on GitHub to your own account.

  2. Clone Your Fork: Clone your forked repository to your local machine.

        git clone https://github.com/YOUR_USERNAME/Android-SmartWebView.git
        cd Android-SmartWebView
    
  3. Create a Feature Branch: Create a new branch for your changes. Use a descriptive name (e.g., fix-fcm-token-bug, feature-add-qrcode-scanner).

        git checkout -b my-new-feature
    
  4. Make Your Changes: Implement your bug fix or feature enhancement. Follow the existing code style and conventions.

  5. Test Your Changes: Ensure your changes work correctly and don’t introduce regressions. Test on different OS versions and devices if possible.

  6. Commit Your Changes: Commit your changes with a clear and concise commit message.

        git add .
        git commit -m "Add feature: Describe your changes briefly"
        # Or for bug fixes:
        # git commit -m "Fix: Describe the bug and the fix"
    
  7. Push to Your Fork: Push your feature branch to your forked repository on GitHub.

        git push origin my-new-feature
    
  8. Create a Pull Request (PR): Go to the original Smart WebView repository on GitHub and create a new Pull Request from your feature branch (YOUR_USERNAME/my-new-feature) to the main repository’s master (or relevant target) branch.

    • Provide a clear title and description for your PR, explaining the changes you made and why.
    • Reference any related issues (e.g., “Closes #123”).

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. Read the CODE_OF_CONDUCT.md file in the repository.


Thank you for contributing!