Skip to content

Commit

Permalink
Update Ionic Capacitor to version 6 (#32)
Browse files Browse the repository at this point in the history
Update HyperTrack SDK iOS to 5.5.4 and Android to 7.5.4.
Add kotlin_version param to align Kotlin version with the project one.
Set default Kotlin version to 1.9.10.
Remove peerDependency on Capacitor to disable dependency conflicts on
different versions.
Fixed param name in `setIsAvailable` comment.
  • Loading branch information
pavel-kuznetsov-hypertrack authored May 13, 2024
1 parent e1f3e56 commit cf79a5f
Show file tree
Hide file tree
Showing 21 changed files with 45 additions and 33 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.3.0] - 2024-05-13

### Added

- Now the plugin takes into account project's `kotlin_version` to align Kotlin versions.

### Changed

- Default Kotlin version is updated to `1.9.10`
- Updated HyperTrack SDK iOS to [5.5.4](https://github.com/hypertrack/sdk-ios/releases/tag/5.5.4)
- Updated HyperTrack SDK Android to [7.5.4](https://github.com/hypertrack/sdk-android/releases/tag/7.5.4)

### Removed

- `@capacitor/core` item in `peerDependencies`

## [3.2.2] - 2024-05-03

### Changed
Expand Down Expand Up @@ -191,3 +207,4 @@ We are excited to announce the release of HyperTrack Ionic Capacitor SDK 2.0.0,
[3.2.0]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/3.2.0
[3.2.1]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/3.2.1
[3.2.2]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/3.2.2
[3.3.0]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/3.3.0
2 changes: 1 addition & 1 deletion HypertrackSdkIonicCapacitor.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '12.0'
s.dependency 'Capacitor'
s.swift_version = '5.1'
s.dependency 'HyperTrack','5.5.3'
s.dependency 'HyperTrack','5.5.4'
end
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

[![GitHub](https://img.shields.io/github/license/hypertrack/sdk-ionic-capacitor.svg?color=orange)](./LICENSE)
[![npm](https://img.shields.io/npm/v/hypertrack-sdk-ionic-capacitor.svg)](https://www.npmjs.com/package/hypertrack-sdk-ionic-capacitor)
[![iOS SDK](https://img.shields.io/badge/iOS%20SDK-5.5.3-brightgreen.svg)](https://github.com/hypertrack/sdk-ios)
[![Android SDK](https://img.shields.io/badge/Android%20SDK-7.5.3-brightgreen.svg)](https://github.com/hypertrack/sdk-android)
[![iOS SDK](https://img.shields.io/badge/iOS%20SDK-5.5.4-brightgreen.svg)](https://github.com/hypertrack/sdk-ios)
[![Android SDK](https://img.shields.io/badge/Android%20SDK-7.5.4-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 android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ext {
}

buildscript {
ext.kotlin_version = "1.7.21"
ext.hypertrack_sdk_version = "7.5.3"
ext.kotlin_version = project.hasProperty('kotlin_version') ? rootProject.ext.kotlin_version : '1.9.10'
ext.hypertrack_sdk_version = "7.5.4"
ext.firebase_messaging_version = "23.1.1"

repositories {
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/interfaces/Subscription.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/OrderStatus.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.

7 changes: 2 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hypertrack-sdk-ionic-capacitor",
"version": "3.2.2",
"version": "3.3.0",
"description": "Capacitor plugin for HyperTrack generation SDKs",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
Expand Down Expand Up @@ -61,9 +61,7 @@
"typedoc": "^0.25.4",
"typescript": "^5.3.3"
},
"peerDependencies": {
"@capacitor/core": "^5.0.0"
},
"peerDependencies": {},
"prettier": "@ionic/prettier-config",
"swiftlint": "@ionic/swiftlint-config",
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion src/HyperTrack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export default class HyperTrack {
/**
* Sets the availability of the device for the Nearby search
*
* @param availability true when is available or false when unavailable
* @param isAvailable true when is available or false when unavailable
*/
static async setIsAvailable(isAvailable: boolean) {
hyperTrackPlugin.setIsAvailable({
Expand Down

0 comments on commit cf79a5f

Please sign in to comment.