Skip to content

Commit

Permalink
[RELEASE] 4.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
christocracy committed Oct 22, 2024
1 parent 02c15b9 commit 09e7b77
Show file tree
Hide file tree
Showing 77 changed files with 257 additions and 238 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# CHANGELOG

## 4.17.1 — 2024-10-21
* [Android] Implement `Service.onTimeout` to handle `foregroundServiceType="shortService"` timeouts.
* [iOS] Add new `Config.activityType` `ACTIVITY_TYPE_AIRBORNE`.
* [iOS] Implement `Config.triggerActivities` for iOS.
* [Android] Guard against `NullPointerException` receiving a null location in `PolygonGeofenceService` event.
* [Android] Address possible leak of `Activity` reference when terminating the app. Ensure internal reference to `Activity` is nullified when app is terminated.
* [Android] Add improvements to Android geofencing-only mode with `goefenceModeHighAccuracy: true` where motion-activity updates disabled.
* [Android] Add error-checking in polygon-geofencing to handle a possible `NullPointerException`.
* [iOS] Fix broken linking to Settings screen in `locationAuthorizationAlert` on iOS 18.

## 4.17.0 — 2024-09-04
* [iOS] Fix bug in iOS *Polygon Geofencing* when running in geofences-only mode (`.startGeofences`). iOS would mistakenly turn off location updates exactly 3 samples into the containing circular geofence of a polygon.
* Implement `notifyOnDwell` for polygon-geofences.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-background-geolocation-lt",
"version": "4.17.0",
"version": "4.17.1",
"description": "Cordova / Capacitor Background Geolocation. The most sophisticated, cross-platform location-tracking and geofencing plugin with battery-conscious motion-detection intelligence.",
"cordova": {
"id": "cordova-background-geolocation-lt",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-background-geolocation-lt"
version="4.17.0">
version="4.17.1">

<name>BackgroundGeolocation</name>
<description>The most sophisticated, battery-efficient background-geolocation and geofencing plugin for Cordova</description>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ca1be2a219123b212918f89d450c14c5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6ca48470bbbaabcc5b1b1a942c6145d4dc755b55
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
562326cc6252297c15059b2b277c388a15bdabe5611ca7b9523610634d9ba185
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e4ac41609d82caaf9aa82e7f182c418a3a94bbe82a516c7821a249e2f98bc0062fb55a630daddfcab0c07f062a6751ee87c061ebf2e5eb6cc89f95f2149d9b87
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.transistorsoft</groupId>
<artifactId>tslocationmanager-v21</artifactId>
<version>3.5.5</version>
<version>3.6.1</version>
<packaging>aar</packaging>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0929ebea38fba03ae51b75b6c33bd804
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d787595b85b24e37644e3ef107ca7924bd0049d5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
610f4de659ce6860d3a6462857fdab5eb148d02e11d0896da257c2abe17b7259
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
58087a3b2d97c83265ee6e07d65de136cc1947741b3860f401410918568d09c2160072104a556e226b129820c3a95c6574548c75da20fc382ee7a5c8ca6e2e41
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@
<groupId>com.transistorsoft</groupId>
<artifactId>tslocationmanager-v21</artifactId>
<versioning>
<latest>3.5.5</latest>
<release>3.5.5</release>
<latest>3.6.1</latest>
<release>3.6.1</release>
<versions>
<version>3.4.6</version>
<version>3.5.0</version>
<version>3.5.1</version>
<version>3.5.2</version>
<version>3.5.3</version>
<version>3.5.4</version>
<version>3.5.5</version>
<version>3.6.0</version>
<version>3.6.1</version>
</versions>
<lastUpdated>20240828142616</lastUpdated>
<lastUpdated>20241022153017</lastUpdated>
</versioning>
</metadata>

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4b56cb390b9e805041252e9e304ad011
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10cc3789e76f52d72f47ef66bd53f0e3917e3d42
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
32412481cbc44ea641126ec07fabf333d5aad3c83671b8d1ac78e3df0a4ce88d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
02fb70b81ed41d47a6fde25de0c61ba2773d810f0c0d27d6ac0183e4704f001f0f528d20853ea349551a2385e01cb425d8e545d4f98a91fa8433d1c0a48092b9
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.transistorsoft</groupId>
<artifactId>tslocationmanager</artifactId>
<version>3.5.5</version>
<version>3.6.1</version>
<packaging>aar</packaging>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f29450699b339b5021f0464f45f86b1d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
57e3e19b0ffc165370c825047550f5274cd723a7
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a67b251794a4e9a36be01e25a48c041afc3c594c3f10add078ade521cefd0931
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
260c955ccfe9afaf0b2cbf38b09c95ddc4fe4bba4b7140c91edc7e34d324381efd8c7af592a03790886e575210f4549eb1dc85ffe41fc2fc31a3f23e9735b023
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@
<groupId>com.transistorsoft</groupId>
<artifactId>tslocationmanager</artifactId>
<versioning>
<latest>3.5.5</latest>
<release>3.5.5</release>
<latest>3.6.1</latest>
<release>3.6.1</release>
<versions>
<version>3.4.6</version>
<version>3.5.0</version>
<version>3.5.1</version>
<version>3.5.2</version>
<version>3.5.3</version>
<version>3.5.4</version>
<version>3.5.5</version>
<version>3.6.0</version>
<version>3.6.1</version>
</versions>
<lastUpdated>20240828142616</lastUpdated>
<lastUpdated>20241022153017</lastUpdated>
</versioning>
</metadata>
3 changes: 2 additions & 1 deletion src/ionic/declarations/BackgroundGeolocation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ declare module "cordova-background-geolocation-lt" {
/**
* Primary API of the SDK.
* @break
*
*
* ## 📚 Help
* - 📘 [Philosophy of Operation](github:wiki/Philosophy-of-Operation)
* - 📘 [[HttpEvent | HTTP Guide]].
Expand Down Expand Up @@ -215,6 +215,7 @@ declare module "cordova-background-geolocation-lt" {
static ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION:ActivityType;
static ACTIVITY_TYPE_FITNESS:ActivityType;
static ACTIVITY_TYPE_OTHER_NAVIGATION:ActivityType;
static ACTIVITY_TYPE_AIRBORNE:ActivityType;

static PERSIST_MODE_ALL: PersistMode;
static PERSIST_MODE_LOCATION: PersistMode;
Expand Down
8 changes: 7 additions & 1 deletion src/ionic/declarations/interfaces/Config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1969,6 +1969,7 @@ declare module "cordova-background-geolocation-lt" {
* | [[BackgroundGeolocation.ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION]] |
* | [[BackgroundGeolocation.ACTIVITY_TYPE_FITNESS]] |
* | [[BackgroundGeolocation.ACTIVITY_TYPE_OTHER_NAVIGATION]] |
* | [[BackgroundGeolocation.ACTIVITY_TYPE_AIRBORNE]] |
*
* @example
* ```typescript
Expand Down Expand Up @@ -2171,7 +2172,10 @@ declare module "cordova-background-geolocation-lt" {

/**
* __`[Android-only]`__ Configures a comma-separated list of motion-activities which are allow to trigger location-tracking.
* Configures a comma-separated list of motion-activities which are allow to trigger location-tracking.
* __⚠️ Warning:__ Requires that the user grant your app the "*Motion/Health*" permission.
*
* @break
*
* These are the comma-delimited list of [activity-names](https://developers.google.com/android/reference/com/google/android/gms/location/DetectedActivity) returned by the `ActivityRecognition` API which will trigger a state-change from **stationary** to **moving**. By default, the plugin will trigger on **any** of the **moving-states**:
Expand Down Expand Up @@ -2260,6 +2264,8 @@ declare module "cordova-background-geolocation-lt" {
* __`[Android only]`__ Configure the plugin service to run as a more robust "Foreground Service".
* @break
*
* @deprecated
*
* ### ⚠️ Android 8.0+
*
* Defaults to `true` and cannot be set to `false`. Due to strict new [Background Execution Limits](https://www.youtube.com/watch?v=Pumf_4yjTMc) in Android 8, the plugin *enforces* **`foregroundService: true`**.
Expand Down
1 change: 1 addition & 0 deletions src/ionic/declarations/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ declare module "cordova-background-geolocation-lt" {
* | [[ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION]] |
* | [[ACTIVITY_TYPE_FITNESS]] |
* | [[ACTIVITY_TYPE_OTHER_NAVIGATION]] |
* | [[ACTIVITY_TYPE_AIRBORNE]]
*
* ℹ️ For more information, see [Apple docs](https://developer.apple.com/reference/corelocation/cllocationmanager/1620567-activitytype?language=objc).
*/
Expand Down
1 change: 1 addition & 0 deletions src/ionic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export default class BackgroundGeolocation {
static get ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION() { return plugin().ACTIVITY_TYPE_AUTOMOTIVE_NAVIGATION; }
static get ACTIVITY_TYPE_FITNESS() { return plugin().ACTIVITY_TYPE_FITNESS; }
static get ACTIVITY_TYPE_OTHER_NAVIGATION() { return plugin().ACTIVITY_TYPE_OTHER_NAVIGATION; }
static get ACTIVITY_TYPE_AIRBORNE() { return plugin().ACTIVITY_TYPE_AIRBORNE; }

static get PERSIST_MODE_ALL() { return plugin().PERSIST_MODE_ALL; }
static get PERSIST_MODE_LOCATION() { return plugin().PERSIST_MODE_LOCATION; }
Expand Down
14 changes: 7 additions & 7 deletions src/ios/TSLocationManager.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,17 @@
<array>
<dict>
<key>BinaryPath</key>
<string>TSLocationManager.framework/Versions/A/TSLocationManager</string>
<string>TSLocationManager.framework/TSLocationManager</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>TSLocationManager.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>BinaryPath</key>
Expand All @@ -40,17 +37,20 @@
</dict>
<dict>
<key>BinaryPath</key>
<string>TSLocationManager.framework/TSLocationManager</string>
<string>TSLocationManager.framework/Versions/A/TSLocationManager</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>TSLocationManager.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 09e7b77

Please sign in to comment.