Skip to content

Commit

Permalink
Update HyperTrack SDK Android to 7.4.3 (#99)
Browse files Browse the repository at this point in the history
Add "open Github" recipes to justfile
  • Loading branch information
pavel-kuznetsov-hypertrack authored Feb 27, 2024
1 parent f6c497e commit 8a30474
Show file tree
Hide file tree
Showing 24 changed files with 55 additions and 26 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [13.2.3] - 2024-02-27

### Changed

- Updated HyperTrack SDK Android to [7.4.3](https://github.com/hypertrack/sdk-android/releases/tag/7.4.3)

## [13.2.2] - 2024-02-14

### Changed
Expand Down Expand Up @@ -800,3 +806,4 @@ Initial release.
[13.2.0]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.2.0
[13.2.1]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.2.1
[13.2.2]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.2.2
[13.2.3]: https://github.com/hypertrack/sdk-react-native/releases/tag/13.2.3
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![GitHub](https://img.shields.io/github/license/hypertrack/sdk-react-native?color=orange)](./LICENSE)
[![npm](https://img.shields.io/npm/v/hypertrack-sdk-react-native.svg)](https://www.npmjs.com/package/hypertrack-sdk-react-native)
[![iOS SDK](https://img.shields.io/badge/iOS%20SDK-5.4.1-brightgreen.svg)](https://github.com/hypertrack/sdk-ios)
[![Android SDK](https://img.shields.io/badge/Android%20SDK-7.4.2-brightgreen.svg)](https://github.com/hypertrack/sdk-android)
[![Android SDK](https://img.shields.io/badge/Android%20SDK-7.4.3-brightgreen.svg)](https://github.com/hypertrack/sdk-android)

[HyperTrack](https://www.hypertrack.com) lets you add live location tracking to your mobile app. Live location is made available along with ongoing activity, tracking controls and tracking outage with reasons.

Expand Down
4 changes: 2 additions & 2 deletions docs/classes/HyperTrack.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/enums/HyperTrackError.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/modules.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/Errors.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/Failure.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/Location.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/LocationError.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/LocationWithDeviation.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/NotRunning.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/Result.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/Starting.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/types/Success.html

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ alias d := docs
alias gd := get-dependencies
alias od := open-docs
alias pt := push-tag
alias ogp := open-github-prs
alias ogr := open-github-releases
alias r := release
alias us := update-sdk
alias usa := update-sdk-android
Expand Down Expand Up @@ -57,13 +59,24 @@ _latest-ios:
open-docs: docs
open docs/index.html

_open-github-release-data:
code CHANGELOG.md
just open-github-releases

open-github-prs:
open "https://github.com/hypertrack/sdk-react-native/pulls"

open-github-releases:
open "https://github.com/hypertrack/sdk-react-native/releases"

push-tag:
#!/usr/bin/env sh
set -euo pipefail
if [ $(git symbolic-ref --short HEAD) = "master" ] ; then
VERSION=$(just version)
git tag $VERSION
git push origin $VERSION
just _open-github-release-data
else
echo "You are not on master branch"
fi
Expand Down Expand Up @@ -140,6 +153,9 @@ update-sdk wrapper_version ios_version android_version commit="true" branch="tru
git add .
git commit -m "Update HyperTrack SDK iOS to {{ios_version}} and Android to {{android_version}}"
fi
if [ "{{branch}}" = "true" ] && [ "{{commit}}" = "true" ] ; then
just open-github-prs
fi
update-sdk-android wrapper_version android_version commit="true" branch="true": build
#!/usr/bin/env sh
Expand All @@ -158,6 +174,9 @@ update-sdk-android wrapper_version android_version commit="true" branch="true":
git add .
git commit -m "Update HyperTrack SDK Android to {{android_version}}"
fi
if [ "{{branch}}" = "true" ] && [ "{{commit}}" = "true" ] ; then
just open-github-prs
fi
update-sdk-ios wrapper_version ios_version commit="true" branch="true": build
#!/usr/bin/env sh
Expand All @@ -176,6 +195,9 @@ update-sdk-ios wrapper_version ios_version commit="true" branch="true": build
git add .
git commit -m "Update HyperTrack SDK iOS to {{ios_version}}"
fi
if [ "{{branch}}" = "true" ] && [ "{{commit}}" = "true" ] ; then
just open-github-prs
fi
_update-sdk-android-version-file android_version:
./scripts/update_file.sh sdk/android/gradle.properties 'HyperTrackSdk_HyperTrackSDKVersion=.*' 'HyperTrackSdk_HyperTrackSDKVersion={{android_version}}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ PluginAndroidLocationServicesGoogle_minSdkVersion=21
PluginAndroidLocationServicesGoogle_targetSdkVersion=31
PluginAndroidLocationServicesGoogle_compileSdkVersion=31
PluginAndroidLocationServicesGoogle_ndkversion=21.4.7075529
PluginAndroidLocationServicesGoogle_HyperTrackSDKVersion=7.4.2
PluginAndroidLocationServicesGoogle_HyperTrackSDKVersion=7.4.3
2 changes: 1 addition & 1 deletion plugin_android_location_services_google/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hypertrack-sdk-react-native-plugin-android-location-services-google",
"version": "13.2.2",
"version": "13.2.3",
"description": "A wrapper around `Location Services Google` plugin for HyperTrack SDK Android that is used with `hypertrack-sdk-react-native`",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ PluginAndroidLocationServicesGoogle1901_minSdkVersion=21
PluginAndroidLocationServicesGoogle1901_targetSdkVersion=31
PluginAndroidLocationServicesGoogle1901_compileSdkVersion=31
PluginAndroidLocationServicesGoogle1901_ndkversion=21.4.7075529
PluginAndroidLocationServicesGoogle1901_HyperTrackSDKVersion=7.4.2
PluginAndroidLocationServicesGoogle1901_HyperTrackSDKVersion=7.4.3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hypertrack-sdk-react-native-plugin-android-location-services-google-19-0-1",
"version": "13.2.2",
"version": "13.2.3",
"description": "A wrapper around `Location Services Google 19.0.1` plugin for HyperTrack SDK Android that is used with `hypertrack-sdk-react-native`",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ PluginAndroidPushServiceFirebase_minSdkVersion=21
PluginAndroidPushServiceFirebase_targetSdkVersion=31
PluginAndroidPushServiceFirebase_compileSdkVersion=31
PluginAndroidPushServiceFirebase_ndkversion=21.4.7075529
PluginAndroidPushServiceFirebase_HyperTrackSDKVersion=7.4.2
PluginAndroidPushServiceFirebase_HyperTrackSDKVersion=7.4.3
2 changes: 1 addition & 1 deletion plugin_android_push_service_firebase/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hypertrack-sdk-react-native-plugin-android-push-service-firebase",
"version": "13.2.2",
"version": "13.2.3",
"description": "A wrapper around `Push Service Firebase` plugin for HyperTrack SDK Android that is used with `hypertrack-sdk-react-native`",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
2 changes: 1 addition & 1 deletion sdk/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
HyperTrackSdk_kotlinVersion=1.6.21
HyperTrackSdk_HyperTrackSDKVersion=7.4.2
HyperTrackSdk_HyperTrackSDKVersion=7.4.3
android.useAndroidX=true
2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hypertrack-sdk-react-native",
"version": "13.2.2",
"version": "13.2.3",
"description": "React Native HyperTrack SDK is a wrapper around native iOS and Android SDKs that allows to integrate HyperTrack into React Native apps.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 8a30474

Please sign in to comment.