diff --git a/android/build.gradle b/android/build.gradle
index c0f737cc..a45997bb 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -36,7 +36,7 @@ android {
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
defaultConfig {
- minSdkVersion 16
+ minSdkVersion 19
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'proguard-rules.pro'
}
@@ -84,10 +84,6 @@ dependencies {
implementation "io.github.nishkarsh:android-permissions:$androidPermissionsVersion"
// GMS location
implementation "com.google.android.gms:play-services-location:$playServicesLocationVersion"
- // HMS location
- implementation("com.huawei.hms:location:$hmsLocationVersion") {
- exclude(group: "com.huawei.hms", module: 'hianalytics')
- }
implementation "androidx.localbroadcastmanager:localbroadcastmanager:$localBroadcastManagerVersion"
implementation "androidx.appcompat:appcompat:$appCompatVersion"
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar b/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar
deleted file mode 100644
index 2d693a81..00000000
Binary files a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar and /dev/null differ
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.md5 b/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.md5
deleted file mode 100644
index 07db0ea7..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.md5
+++ /dev/null
@@ -1 +0,0 @@
-641f3cbf3f902db9a4139bf8f198c019
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha1 b/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha1
deleted file mode 100644
index d0c0df7b..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-ba82001981e2835a1f899d7a057b25535671ed0f
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha256 b/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha256
deleted file mode 100644
index 934c0514..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha256
+++ /dev/null
@@ -1 +0,0 @@
-eeefa1d6bb4eed3067864c0ab621930a2125f1fa06f6ab8bc46075b786e1cca7
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha512 b/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha512
deleted file mode 100644
index 738217b3..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.aar.sha512
+++ /dev/null
@@ -1 +0,0 @@
-2855371218cd7c67b3f121ba3f7fce4093364f5d9538e8d8347a91c47a68eb2c2374ea0b9a7fb59dfea62a8cac1aa1aac41d80ab45e00563c36a01ddea7d7637
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.md5 b/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.md5
deleted file mode 100644
index c3dce1a4..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.md5
+++ /dev/null
@@ -1 +0,0 @@
-767ed28701420cd3f27d2128f317787a
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha1 b/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha1
deleted file mode 100644
index 7274a0b6..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha1
+++ /dev/null
@@ -1 +0,0 @@
-439e4e5864879010d5c671b002144acc8c0e1712
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha256 b/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha256
deleted file mode 100644
index 5d3da9b4..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha256
+++ /dev/null
@@ -1 +0,0 @@
-8c11e6152a277786c7423bbf9fe3e127b7bd38dcb6d1d421348ef6a54edc23ca
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha512 b/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha512
deleted file mode 100644
index cb914ca5..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom.sha512
+++ /dev/null
@@ -1 +0,0 @@
-23e32ae13456ca49ca20fd2bbbb06f227c9d64ea10f0a848bc67bcfbfd0726a3a6316fe6fb8fcc39daa97684934549a8c94b14c9b924974a3c3b28d8f15aee60
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar
new file mode 100644
index 00000000..07a295d7
Binary files /dev/null and b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar differ
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.md5 b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.md5
new file mode 100644
index 00000000..d5ec5646
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.md5
@@ -0,0 +1 @@
+642ac969ee10a3455218670053444e14
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.sha1 b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.sha1
new file mode 100644
index 00000000..4c8dd200
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.sha1
@@ -0,0 +1 @@
+f546bfaacf74f4ad3aa4513ad42bab7f910e23ea
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.sha256 b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.sha256
new file mode 100644
index 00000000..53822788
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.sha256
@@ -0,0 +1 @@
+57a6a2709d58e63b6aa80daa90402011e124b6b1c406abe8414a4edc94a9f415
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.sha512 b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.sha512
new file mode 100644
index 00000000..154704c5
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.aar.sha512
@@ -0,0 +1 @@
+57285ccf3117e968026f12472620e84e22504b519c79593dd374d4e394827ab071531d8c9f6377ab480883aa4399e7002a245964ee566fe041a4d3594ef77863
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom
similarity index 93%
rename from android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom
rename to android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom
index f3f4a2ee..e24f39bf 100644
--- a/android/libs/com/transistorsoft/tslocationmanager-v21/3.6.8/tslocationmanager-v21-3.6.8.pom
+++ b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom
@@ -4,6 +4,6 @@
4.0.0
com.transistorsoft
tslocationmanager-v21
- 3.6.8
+ 4.0.0
aar
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.md5 b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.md5
new file mode 100644
index 00000000..47708b24
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.md5
@@ -0,0 +1 @@
+7273ec5efbcfa222c9f503023dcef4de
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.sha1 b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.sha1
new file mode 100644
index 00000000..3aa8e5c1
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.sha1
@@ -0,0 +1 @@
+3da361e663967f875807fe30f93c5369380faa9a
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.sha256 b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.sha256
new file mode 100644
index 00000000..4097c4c4
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.sha256
@@ -0,0 +1 @@
+12da9d7af701c2cfa456353b29e70b9889f6a2857c7ab019485bc189753af952
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.sha512 b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.sha512
new file mode 100644
index 00000000..d547af74
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager-v21/4.0.0/tslocationmanager-v21-4.0.0.pom.sha512
@@ -0,0 +1 @@
+1280e2419dfff84482f6bd579a7548f21fddfa30f7f47f9fb9b56a0089b912f946c601a6316c12054685d81c376a04f2cd884bc46648b22e114f79ec0d203419
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager-v21/maven-metadata.xml b/android/libs/com/transistorsoft/tslocationmanager-v21/maven-metadata.xml
index 8a6f39d6..04e3037c 100644
--- a/android/libs/com/transistorsoft/tslocationmanager-v21/maven-metadata.xml
+++ b/android/libs/com/transistorsoft/tslocationmanager-v21/maven-metadata.xml
@@ -3,13 +3,12 @@
com.transistorsoft
tslocationmanager-v21
- 3.6.8
- 3.6.8
+ 4.0.0
+ 4.0.0
- 3.6.6
- 3.6.7
- 3.6.8
+ 3.7.0
+ 4.0.0
- 20250727174649
+ 20251018201933
diff --git a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar b/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar
deleted file mode 100644
index 0b134c70..00000000
Binary files a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar and /dev/null differ
diff --git a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.md5 b/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.md5
deleted file mode 100644
index beffd53a..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.md5
+++ /dev/null
@@ -1 +0,0 @@
-d43dad047c564d19cfe77cd26f83e42f
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha1 b/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha1
deleted file mode 100644
index cfce4e36..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-f3530c9f73915bb300175cb830615c03ac6bf9af
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha256 b/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha256
deleted file mode 100644
index d2205283..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha256
+++ /dev/null
@@ -1 +0,0 @@
-15d0a2af79bf43ce6357b07af8112818353bfb6787c733af901ac177d408a164
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha512 b/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha512
deleted file mode 100644
index 3ef8959a..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.aar.sha512
+++ /dev/null
@@ -1 +0,0 @@
-0ff908fef62fc7a0f17a6142afa4b0a16c5a280b4cc016df0343e7467fa3f4d35385362dbfa13b09f2af94f2b7874e10dbf58d3c8f82b41c753f411e021ac2ad
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.md5 b/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.md5
deleted file mode 100644
index f1b6a4ec..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.md5
+++ /dev/null
@@ -1 +0,0 @@
-3e018b992680e5b8d8891cb34fd4a204
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha1 b/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha1
deleted file mode 100644
index 7260499f..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha1
+++ /dev/null
@@ -1 +0,0 @@
-306f5bf26e8a5d8db0fa0e524c3690e74a91b983
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha256 b/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha256
deleted file mode 100644
index 1772dcca..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha256
+++ /dev/null
@@ -1 +0,0 @@
-0c6c86970e4516aa09fce5c2c88ebd3c4e553c1f3c4998bbf479479bfe6eb685
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha512 b/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha512
deleted file mode 100644
index 25b50ced..00000000
--- a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom.sha512
+++ /dev/null
@@ -1 +0,0 @@
-2123322a83ce3f1caec736e5b28d5b43fb24c29a527f5cf3567ade867d8bd5c921c11b0dba7884b3c8e6bdfbae6624bfa668ca182233a7219a6668fe5c0ca009
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar
new file mode 100644
index 00000000..3b0a1ed6
Binary files /dev/null and b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar differ
diff --git a/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.md5 b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.md5
new file mode 100644
index 00000000..e82fe312
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.md5
@@ -0,0 +1 @@
+fa9a1cb5a7cd9e801cec37c9c5a0c5eb
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.sha1 b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.sha1
new file mode 100644
index 00000000..811184e6
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.sha1
@@ -0,0 +1 @@
+c3fd98b85de2ab53b16a018f67cd9623c80df7d6
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.sha256 b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.sha256
new file mode 100644
index 00000000..1458cc1c
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.sha256
@@ -0,0 +1 @@
+4c093c3c1b69dbb5f3397facc3effa058ffdbc2b0e11274cac0e27be296eb997
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.sha512 b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.sha512
new file mode 100644
index 00000000..3293adc9
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.aar.sha512
@@ -0,0 +1 @@
+a38058c8f389652d3171f4f3665964ea15ddbc0c8ba4ae32712798461911557da2f590b11aa6719897afb4598f3e13f018cfbc21e594f13d2285af2ebb1038cb
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom
similarity index 93%
rename from android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom
rename to android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom
index 84003f46..3bd9c8fd 100644
--- a/android/libs/com/transistorsoft/tslocationmanager/3.6.8/tslocationmanager-3.6.8.pom
+++ b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom
@@ -4,6 +4,6 @@
4.0.0
com.transistorsoft
tslocationmanager
- 3.6.8
+ 4.0.0
aar
diff --git a/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.md5 b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.md5
new file mode 100644
index 00000000..d773d4e2
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.md5
@@ -0,0 +1 @@
+ffd3cb7533329758f7657a2ebf892c3e
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.sha1 b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.sha1
new file mode 100644
index 00000000..bd6b403e
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.sha1
@@ -0,0 +1 @@
+196fb846a453332e994a26859ea692a8514e7ff7
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.sha256 b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.sha256
new file mode 100644
index 00000000..1cd51a78
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.sha256
@@ -0,0 +1 @@
+4bd2029fbfaf2396450520649bd656d991d7b66e6d73be191661010ee6db7765
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.sha512 b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.sha512
new file mode 100644
index 00000000..b38b1bc0
--- /dev/null
+++ b/android/libs/com/transistorsoft/tslocationmanager/4.0.0/tslocationmanager-4.0.0.pom.sha512
@@ -0,0 +1 @@
+579e31f342f95fa6db3188a5d137ff945cbdcf7a3055c74efef4f3babd63df284c6268379cf34fe0a16c6735d8755e474aa5c92a67bd47b29897daf509d9d1a4
\ No newline at end of file
diff --git a/android/libs/com/transistorsoft/tslocationmanager/maven-metadata.xml b/android/libs/com/transistorsoft/tslocationmanager/maven-metadata.xml
index d89e2ba9..97f484b0 100644
--- a/android/libs/com/transistorsoft/tslocationmanager/maven-metadata.xml
+++ b/android/libs/com/transistorsoft/tslocationmanager/maven-metadata.xml
@@ -3,13 +3,12 @@
com.transistorsoft
tslocationmanager
- 3.6.8
- 3.6.8
+ 4.0.0
+ 4.0.0
- 3.6.6
- 3.6.7
- 3.6.8
+ 3.7.0
+ 4.0.0
- 20250727174649
+ 20251018201933
diff --git a/android/src/main/java/com/transistorsoft/flutter/backgroundgeolocation/BackgroundGeolocationModule.java b/android/src/main/java/com/transistorsoft/flutter/backgroundgeolocation/BackgroundGeolocationModule.java
index 7821b084..03099134 100644
--- a/android/src/main/java/com/transistorsoft/flutter/backgroundgeolocation/BackgroundGeolocationModule.java
+++ b/android/src/main/java/com/transistorsoft/flutter/backgroundgeolocation/BackgroundGeolocationModule.java
@@ -5,16 +5,18 @@
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
+import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
-import com.transistorsoft.xms.g.common.ExtensionApiAvailability;
-
+import com.google.android.gms.common.GoogleApiAvailability;
+import com.google.android.gms.common.api.GoogleApiActivity;
import com.transistorsoft.flutter.backgroundgeolocation.streams.*;
import com.transistorsoft.locationmanager.adapter.BackgroundGeolocation;
-import com.transistorsoft.locationmanager.adapter.TSConfig;
+import com.transistorsoft.locationmanager.adapter.Actions;
+import com.transistorsoft.locationmanager.config2.TSConfig;
import com.transistorsoft.locationmanager.adapter.callback.TSBackgroundTaskCallback;
import com.transistorsoft.locationmanager.adapter.callback.TSCallback;
import com.transistorsoft.locationmanager.adapter.callback.TSEmailLogCallback;
@@ -31,10 +33,13 @@
import com.transistorsoft.locationmanager.adapter.callback.TSSyncCallback;
import com.transistorsoft.locationmanager.config.TSAuthorization;
import com.transistorsoft.locationmanager.config.TransistorAuthorizationToken;
+import com.transistorsoft.locationmanager.config2.edit.AuthEditor;
+import com.transistorsoft.locationmanager.config2.edit.Editor;
import com.transistorsoft.locationmanager.data.LocationModel;
import com.transistorsoft.locationmanager.data.SQLQuery;
import com.transistorsoft.locationmanager.device.DeviceInfo;
import com.transistorsoft.locationmanager.device.DeviceSettingsRequest;
+import com.transistorsoft.locationmanager.event.LocationEvent;
import com.transistorsoft.locationmanager.event.TerminateEvent;
import com.transistorsoft.locationmanager.geofence.TSGeofence;
import com.transistorsoft.locationmanager.location.TSCurrentPositionRequest;
@@ -138,13 +143,12 @@ void setActivity(@Nullable final Activity activity) {
BackgroundGeolocation adapter = BackgroundGeolocation.getInstance(activity);
adapter.setActivity(activity);
adapter.removeListeners();
-
TSConfig config = TSConfig.getInstance(mContext.getApplicationContext());
- config.useCLLocationAccuracy(true);
-
- config.updateWithBuilder()
- .setHeadlessJobService(JOB_SERVICE_CLASS)
- .commit();
+ config.setUseCLLocationAccuracy(true);
+ Editor ed = config.edit();
+ //ed.geo().setUseCLLocationAccuracy(true);
+ ed.app().setHeadlessJobService(JOB_SERVICE_CLASS);
+ ed.commit();
}
});
} else if (mActivity != null) {
@@ -233,7 +237,7 @@ private void handlePlayServicesConnectError(Integer errorCode) {
if (mActivity == null) {
return;
}
- ExtensionApiAvailability.getInstance().getErrorDialog(mActivity, errorCode, 1001).show();
+ GoogleApiAvailability.getInstance().getErrorDialog(mActivity, errorCode, 1001).show();
}
@SuppressWarnings("unchecked")
@@ -244,61 +248,62 @@ public void onMethodCall(@NonNull MethodCall call, @NonNull MethodChannel.Result
ready(params, result);
} else if (call.method.equals(ACTION_GET_STATE)) {
getState(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_START)) {
+
+ } else if (call.method.equalsIgnoreCase(Actions.START)) {
start(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_STOP)) {
+ } else if (call.method.equalsIgnoreCase(Actions.STOP)) {
stop(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_START_GEOFENCES)) {
+ } else if (call.method.equalsIgnoreCase(Actions.START_GEOFENCES)) {
startGeofences(result);
- } else if (call.method.equalsIgnoreCase(ACTION_START_SCHEDULE)) {
+ } else if (call.method.equalsIgnoreCase(Actions.START_SCHEDULE)) {
startSchedule(result);
- } else if (call.method.equalsIgnoreCase(ACTION_STOP_SCHEDULE)) {
+ } else if (call.method.equalsIgnoreCase(Actions.STOP_SCHEDULE)) {
stopSchedule(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_START_BACKGROUND_TASK)) {
+ } else if (call.method.equalsIgnoreCase(Actions.START_BACKGROUND_TASK)) {
startBackgroundTask(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_FINISH)) {
+ } else if (call.method.equalsIgnoreCase(Actions.FINISH)) {
stopBackgroundTask((int) call.arguments, result);
} else if (call.method.equalsIgnoreCase(ACTION_RESET)) {
reset(call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_SET_CONFIG)) {
+ } else if (call.method.equalsIgnoreCase(Actions.SET_CONFIG)) {
setConfig((Map) call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_CHANGE_PACE)) {
+ } else if (call.method.equalsIgnoreCase(Actions.CHANGE_PACE)) {
changePace(call, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_GET_CURRENT_POSITION)) {
+ } else if (call.method.equalsIgnoreCase(Actions.GET_CURRENT_POSITION)) {
getCurrentPosition((Map) call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_WATCH_POSITION)) {
+ } else if (call.method.equalsIgnoreCase(Actions.WATCH_POSITION)) {
watchPosition((Map) call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_STOP_WATCH_POSITION)) {
+ } else if (call.method.equalsIgnoreCase(Actions.STOP_WATCH_POSITION)) {
stopWatchPosition(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_GET_LOCATIONS)) {
+ } else if (call.method.equalsIgnoreCase(Actions.GET_LOCATIONS)) {
getLocations(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_INSERT_LOCATION)) {
+ } else if (call.method.equalsIgnoreCase(Actions.INSERT_LOCATION)) {
insertLocation((Map) call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_GET_COUNT)) {
+ } else if (call.method.equalsIgnoreCase(Actions.GET_COUNT)) {
getCount(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_DESTROY_LOCATIONS)) {
+ } else if (call.method.equalsIgnoreCase(Actions.DESTROY_LOCATIONS)) {
destroyLocations(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_DESTROY_LOCATION)) {
+ } else if (call.method.equalsIgnoreCase(Actions.DESTROY_LOCATION)) {
destroyLocation((String) call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_SYNC)) {
+ } else if (call.method.equalsIgnoreCase(Actions.SYNC)) {
sync(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_GET_ODOMETER)) {
+ } else if (call.method.equalsIgnoreCase(Actions.GET_ODOMETER)) {
getOdometer(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_SET_ODOMETER)) {
+ } else if (call.method.equalsIgnoreCase(Actions.SET_ODOMETER)) {
setOdometer((Double) call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_ADD_GEOFENCE)) {
+ } else if (call.method.equalsIgnoreCase(Actions.ADD_GEOFENCE)) {
addGeofence((Map) call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_ADD_GEOFENCES)) {
+ } else if (call.method.equalsIgnoreCase(Actions.ADD_GEOFENCES)) {
addGeofences((List) call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_REMOVE_GEOFENCE)) {
+ } else if (call.method.equalsIgnoreCase(Actions.REMOVE_GEOFENCE)) {
removeGeofence((String) call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_REMOVE_GEOFENCES)) {
+ } else if (call.method.equalsIgnoreCase(Actions.REMOVE_GEOFENCES)) {
removeGeofences(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_GET_GEOFENCES)) {
+ } else if (call.method.equalsIgnoreCase(Actions.GET_GEOFENCES)) {
getGeofences(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_GET_GEOFENCE)) {
+ } else if (call.method.equalsIgnoreCase(Actions.GET_GEOFENCE)) {
getGeofence((String) call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_GEOFENCE_EXISTS)) {
+ } else if (call.method.equalsIgnoreCase(Actions.GEOFENCE_EXISTS)) {
geofenceExists((String) call.arguments, result);
} else if (call.method.equalsIgnoreCase(TSLog.ACTION_LOG)) {
log((List) call.arguments, result);
@@ -308,16 +313,16 @@ public void onMethodCall(@NonNull MethodCall call, @NonNull MethodChannel.Result
emailLog((List) call.arguments, result);
} else if (call.method.equalsIgnoreCase(TSLog.ACTION_UPLOAD_LOG)) {
uploadLog((List) call.arguments, result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_DESTROY_LOG)) {
+ } else if (call.method.equalsIgnoreCase(Actions.DESTROY_LOG)) {
destroyLog(result);
} else if (call.method.equalsIgnoreCase(ACTION_LOG)) {
Map args = (Map) call.arguments;
log(args.get("level"), args.get("message"), result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_GET_SENSORS)) {
+ } else if (call.method.equalsIgnoreCase(Actions.GET_SENSORS)) {
getSensors(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_IS_POWER_SAVE_MODE)) {
+ } else if (call.method.equalsIgnoreCase(Actions.IS_POWER_SAVE_MODE)) {
isPowerSaveMode(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_IS_IGNORING_BATTERY_OPTIMIZATIONS)) {
+ } else if (call.method.equalsIgnoreCase(Actions.IS_IGNORING_BATTERY_OPTIMIZATIONS)) {
isIgnoringBatteryOptimizations(result);
} else if (call.method.equalsIgnoreCase(ACTION_REQUEST_SETTINGS)) {
requestSettings((List) call.arguments, result);
@@ -325,13 +330,13 @@ public void onMethodCall(@NonNull MethodCall call, @NonNull MethodChannel.Result
showSettings((List) call.arguments, result);
} else if (call.method.equalsIgnoreCase(DeviceInfo.ACTION_GET_DEVICE_INFO)) {
getDeviceInfo(result);
- } else if (call.method.equalsIgnoreCase(BackgroundGeolocation.ACTION_PLAY_SOUND)) {
+ } else if (call.method.equalsIgnoreCase(Actions.PLAY_SOUND)) {
playSound((String) call.arguments, result);
} else if (call.method.equalsIgnoreCase(ACTION_REGISTER_HEADLESS_TASK)) {
registerHeadlessTask((List