Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 863 Bytes

CONTRIBUTING.md

File metadata and controls

19 lines (14 loc) · 863 Bytes

Contributing

Setup for creating pull requests

  1. You'll first need to go through a normal react-native setup
  2. Create a new react-native project with react-native init <YOUR-PROJECT-NAME>
  3. cd into your project
  4. You have 2 options for linking react-native-mapbox-gl
  • Use react-native link
  • Clone @react-native-mapbox-gl/maps into the node_modules folder
  1. Go through a normal install process for your platform

Once installed, you can edit any file in @react-native-mapbox-gl/maps,
commit the changes and push them to a fork for creating a pull request.

Best practices for PR's

  1. If you add a feature, make sure you add it to the documentation
  2. If you add an objective-c or java method, make sure you update the declaration file: index.d.ts.