@josuelmm/cordova-background-geolocation 4.2.2 → 4.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.2.3](https://github.com/josuelmm/cordova-background-geolocation/tree/4.2.3) (2026-05-09)
4
+
5
+ ### Fixed
6
+ - `PostLocationTask`: log de debug pasaba 3 args para 4 placeholders `{}` (faltaba `mode`). Cosmético, sin impacto funcional.
7
+
8
+ ### Audited (no changes required)
9
+ - HTTP transport (real-time + sync queue) intacto: URL templating, `httpMethod`/`httpMode`/`syncMode`, headers, `Content-Length` UTF-8.
10
+ - Hot-reload `configure()` de v4.2 no toca `clearQueue` — no se pierden ubicaciones pendientes.
11
+ - Sensor fusion: imports, protocolo iOS, MSG codes, parcels simétricos, listeners enlazados — sin regresiones.
12
+
3
13
  ## [4.2.2](https://github.com/josuelmm/cordova-background-geolocation/tree/4.2.2) (2026-05-09)
4
14
 
5
15
  ### Fixed
package/HISTORY.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  **for cordova-plugin-background-geolocation**
4
4
 
5
+ ## [4.2.3] - 2026-05-09
6
+
7
+ ### Fixed
8
+ - `PostLocationTask` debug log: missing `mode` argument for the 4-placeholder format string. Cosmetic.
9
+ - Plugin version: `4.2.3`.
10
+
5
11
  ## [4.2.2] - 2026-05-09
6
12
 
7
13
  ### Fixed
@@ -89,7 +89,7 @@ public class BackgroundGeolocationPlugin extends CordovaPlugin implements Plugin
89
89
  public static final String ACTION_TRIGGER_SOS = "triggerSOS";
90
90
 
91
91
  /** Plugin version; keep in sync with plugin.xml. */
92
- public static final String PLUGIN_VERSION = "4.2.2";
92
+ public static final String PLUGIN_VERSION = "4.2.3";
93
93
 
94
94
  private BackgroundGeolocationFacade facade;
95
95
 
@@ -189,7 +189,7 @@ public class PostLocationTask {
189
189
  String method = mConfig.getHttpMethod();
190
190
  String mode = mConfig.getHttpMode();
191
191
  logger.debug("Posting to url: {} method: {} mode: {} headers: {}",
192
- resolvedUrl, method, mConfig.getHttpHeaders());
192
+ resolvedUrl, method, mode, mConfig.getHttpHeaders());
193
193
  int responseCode;
194
194
 
195
195
  try {
@@ -513,7 +513,7 @@ static NSString * const TAG = @"CDVBackgroundGeolocation";
513
513
  - (void) getPluginVersion:(CDVInvokedUrlCommand*)command
514
514
  {
515
515
  NSLog(@"%@ #%@", TAG, @"getPluginVersion");
516
- NSString *version = @"4.2.2"; // keep in sync with plugin.xml and Android PLUGIN_VERSION
516
+ NSString *version = @"4.2.3"; // keep in sync with plugin.xml and Android PLUGIN_VERSION
517
517
  CDVPluginResult *result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:version];
518
518
  [self.commandDelegate sendPluginResult:result callbackId:command.callbackId];
519
519
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@josuelmm/cordova-background-geolocation",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "Cordova Background Geolocation (fork actualizado)",
5
5
  "main": "./www/BackgroundGeolocation.js",
6
6
  "types": "./www/BackgroundGeolocation.d.ts",
@@ -104,6 +104,11 @@
104
104
  "cordova": ">=10.0.0",
105
105
  "cordova-android": ">=12.0.0",
106
106
  "cordova-ios": ">=6.2.0"
107
+ },
108
+ "4.2.3": {
109
+ "cordova": ">=10.0.0",
110
+ "cordova-android": ">=12.0.0",
111
+ "cordova-ios": ">=6.2.0"
107
112
  }
108
113
  }
109
114
  },
package/plugin.xml CHANGED
@@ -2,7 +2,7 @@
2
2
  <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
3
3
  xmlns:android="http://schemas.android.com/apk/res/android"
4
4
  id="cordova-background-geolocation"
5
- version="4.2.2">
5
+ version="4.2.3">
6
6
  <name>cordova-background-geolocation</name>
7
7
  <description>Cordova Background Geolocation Plugin</description>
8
8
  <license>Apache-2.0</license>