-
Update SDK version constant
- Android
- Change
<plugin name>_HyperTrackSDKVersion
in:
- Change
- iOS
- Change
s.dependency 'HyperTrack', '**version**'
in:
- Change
- Android
-
Increment wrapper version
Change version
value in:
hypertrack-sdk-react-native
version in sdk/package.jsonhypertrack-sdk-react-native-plugin-android-activity-service-google
in plugin_android_activity_service_google/package.jsonhypertrack-sdk-react-native-plugin-android-location-services-google
in plugin_android_location_services_google/package.jsonhypertrack-sdk-react-native-plugin-android-location-services-google-19-0-1
in plugin_android_location_services_google_19_0_1/package.jsonhypertrack-sdk-react-native-plugin-android-push-service-firebase
in plugin_android_push_service_firebase/package.json
-
Update CHANGELOG
- Add the release link to the bottom
-
Update badge in README
-
Do the release dry run with
just release
and verify that the release is correct -
Commit and merge to master
-
Create a Github repo release
- Release title should be the current version tag
-
Run
just release publish
to publish the packages to npm:
Change Android build config in gradle.properties
of respective plugins
To get started with the project, run yarn
in the root directory to install the required dependencies for each package:
yarn
While it's possible to use
npm
, the tooling is built aroundyarn
, so you'll have an easier time if you useyarn
for development.
Make sure your code passes TypeScript and ESLint. Run the following to verify:
yarn typescript
yarn lint
To fix formatting errors, run the following:
yarn lint --fix
We use TypeScript for type checking, ESLint with Prettier for linting and formatting the code, and Jest for testing.
Working on your first pull request? You can learn how from this free series: How to Contribute to an Open Source Project on GitHub.
When you're sending a pull request:
- Prefer small pull requests focused on one change.
- Verify that linters and tests are passing.
- Review the documentation to make sure it looks good.
- Follow the pull request template when opening a pull request.
- For pull requests that change the API or implementation, discuss with maintainers first by opening an issue.