Skip to content

Commit 735e011

Browse files
Migrate to Capacitor 7 (#53)
1 parent 575896f commit 735e011

25 files changed

+883
-1186
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55

66
## [Unreleased]
77

8+
## [4.0.4] - 2025-07-23
9+
10+
### Changed
11+
12+
- Updated HyperTrack SDK iOS to [5.11.3](https://github.com/hypertrack/sdk-ios/releases/tag/5.11.3)
13+
- Updated HyperTrack SDK Android to [7.11.4](https://github.com/hypertrack/sdk-android/releases/tag/7.11.4)
14+
815
## [4.0.3] - 2025-03-06
916

1017
### Changed
@@ -384,3 +391,4 @@ We are excited to announce the release of HyperTrack Ionic Capacitor SDK 2.0.0,
384391
[4.0.1]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/4.0.1
385392
[4.0.2]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/4.0.2
386393
[4.0.3]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/4.0.3
394+
[4.0.4]: https://github.com/hypertrack/sdk-ionic-capacitor/releases/tag/4.0.4

HypertrackSdkIonicCapacitor.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Pod::Spec.new do |s|
1111
s.author = package['author']
1212
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
1313
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14-
s.ios.deployment_target = '12.0'
14+
s.ios.deployment_target = '14.0'
1515
s.dependency 'Capacitor'
1616
s.swift_version = '5.1'
17-
s.dependency 'HyperTrack','5.11.2'
17+
s.dependency 'HyperTrack','5.11.3'
1818
end

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[![GitHub](https://img.shields.io/github/license/hypertrack/sdk-ionic-capacitor.svg?color=orange)](./LICENSE)
44
[![npm](https://img.shields.io/npm/v/hypertrack-sdk-ionic-capacitor.svg)](https://www.npmjs.com/package/hypertrack-sdk-ionic-capacitor)
5-
[![iOS SDK](https://img.shields.io/badge/iOS%20SDK-5.11.2-brightgreen.svg)](https://github.com/hypertrack/sdk-ios)
6-
[![Android SDK](https://img.shields.io/badge/Android%20SDK-7.11.3-brightgreen.svg)](https://github.com/hypertrack/sdk-android)
5+
[![iOS SDK](https://img.shields.io/badge/iOS%20SDK-5.11.3-brightgreen.svg)](https://github.com/hypertrack/sdk-ios)
6+
[![Android SDK](https://img.shields.io/badge/Android%20SDK-7.11.4-brightgreen.svg)](https://github.com/hypertrack/sdk-android)
77

88
[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.
99

android/build.gradle

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
ext {
2-
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1'
3-
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.2.0'
4-
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.2'
5-
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.3.0'
2+
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3+
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.0'
4+
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.2.1'
5+
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.6.1'
66
}
77

88
buildscript {
9-
ext.kotlin_version = project.hasProperty('kotlin_version') ? rootProject.ext.kotlin_version : '1.9.10'
10-
ext.hypertrack_sdk_version = "7.11.3"
9+
ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '1.9.25'
10+
ext.hypertrack_sdk_version = "7.11.4"
1111
ext.firebase_messaging_version = "23.1.1"
1212

1313
repositories {
1414
google()
1515
jcenter()
1616
}
1717
dependencies {
18-
classpath 'com.android.tools.build:gradle:4.2.1'
18+
classpath 'com.android.tools.build:gradle:8.7.2'
1919
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}"
2020
}
2121
}
@@ -25,10 +25,10 @@ apply plugin: 'kotlin-android'
2525

2626
android {
2727
namespace "com.hypertrack.sdk.capacitor"
28-
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 30
28+
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
2929
defaultConfig {
30-
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
31-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 30
30+
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 23
31+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
3232
versionCode 1
3333
versionName "1.0"
3434
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -43,11 +43,11 @@ android {
4343
abortOnError false
4444
}
4545
compileOptions {
46-
sourceCompatibility JavaVersion.VERSION_1_8
47-
targetCompatibility JavaVersion.VERSION_1_8
46+
sourceCompatibility JavaVersion.VERSION_21
47+
targetCompatibility JavaVersion.VERSION_21
4848
}
4949
kotlinOptions {
50-
jvmTarget = JavaVersion.VERSION_1_8
50+
jvmTarget = JavaVersion.VERSION_21
5151
}
5252
}
5353

android/gradle.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ org.gradle.jvmargs=-Xmx1536m
2020
# Android operating system, and which are packaged with your app's APK
2121
# https://developer.android.com/topic/libraries/support-library/androidx-rn
2222
android.useAndroidX=true
23-
# Automatically convert third-party libraries to use AndroidX
24-
android.enableJetifier=true
23+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

docs/classes/HyperTrack.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)