https://github.com/rebeccahughes/react-native-device-info
Raw File
Tip revision: a6d3d59fafb70449cd19996b06955e72a61c7227 authored by Mike Hardy on 29 August 2020, 22:45:14 UTC
v6.0.0
Tip revision: a6d3d59
CONTRIBUTING.md
# Contributing

Thank you for your interest in contributing! Please feel free to put up a PR for any issue or feature request.

## Creating issues

If you notice any bugs in the app, see some code that can be improved, or have features you would like to be added, please create an issue!

If you want to open a PR that fixes a bug or adds a feature, then we can't thank you enough! It is definitely appreciated if an issue has been created before-hand so it can be discussed first.

## Submitting pull requests

### Modifying react-native-device-info

1. Fork this repository
2. Clone your fork
3. Make a branch for your feature or bug fix (i.e. `git checkout -b added-getfoobar`)
4. Work your magic
5. Execute `yarn link` when done.

### Testing your changes

You should test your changes (and add any new elements in your change) on the example app included in the repo

Running `yarn dev-sync` in the top level will copy any changes into the example app so a rebuild will use them
Running `yarn analyze` in the top level will make sure typings etc are up to date and ready for a pull request


### Opening the Pull Request

1. Commit your changes with a message following the [Angular commit conventions](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines).
2. Push your branch to your fork
3. Create a pull request from your branch on your fork to `master` on this repo
4. Have your branch get merged in! :star2:

If you experience a problem at any point, please don't hesitate to file an issue to get some assistance!
back to top