@capgo/background-geolocation 7.2.2 → 7.2.4

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.
@@ -42,7 +42,7 @@ import org.json.JSONObject;
42
42
  )
43
43
  public class BackgroundGeolocation extends Plugin {
44
44
 
45
- private final String PLUGIN_VERSION = "";
45
+ private final String pluginVersion = "";
46
46
 
47
47
  private CompletableFuture<BackgroundGeolocationService.LocalBinder> serviceConnectionFuture;
48
48
  private CompletableFuture<Void> locationPermissionFuture;
@@ -353,7 +353,7 @@ public class BackgroundGeolocation extends Plugin {
353
353
  public void getPluginVersion(final PluginCall call) {
354
354
  try {
355
355
  final JSObject ret = new JSObject();
356
- ret.put("version", this.PLUGIN_VERSION);
356
+ ret.put("version", this.pluginVersion);
357
357
  call.resolve(ret);
358
358
  } catch (final Exception e) {
359
359
  call.reject("Could not get plugin version", e);
@@ -36,7 +36,7 @@ func formatLocation(_ location: CLLocation) -> PluginCallResultData {
36
36
 
37
37
  @objc(BackgroundGeolocation)
38
38
  public class BackgroundGeolocation: CAPPlugin, CLLocationManagerDelegate, CAPBridgedPlugin {
39
- private let PLUGIN_VERSION: String = "7.2.2"
39
+ private let pluginVersion: String = "7.2.4"
40
40
  public let identifier = "BackgroundGeolocationPlugin"
41
41
  public let jsName = "BackgroundGeolocation"
42
42
  public let pluginMethods: [CAPPluginMethod] = [
@@ -387,7 +387,7 @@ public class BackgroundGeolocation: CAPPlugin, CLLocationManagerDelegate, CAPBri
387
387
  }
388
388
 
389
389
  @objc func getPluginVersion(_ call: CAPPluginCall) {
390
- call.resolve(["version": self.PLUGIN_VERSION])
390
+ call.resolve(["version": self.pluginVersion])
391
391
  }
392
392
 
393
393
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/background-geolocation",
3
- "version": "7.2.2",
3
+ "version": "7.2.4",
4
4
  "description": "Receive accurate geolocation updates even while the app is in the background.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",