@capgo/capacitor-pedometer 7.2.0 → 7.2.2

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.
@@ -24,7 +24,7 @@ import com.getcapacitor.annotation.PermissionCallback;
24
24
  )
25
25
  public class CapacitorPedometerPlugin extends Plugin implements SensorEventListener {
26
26
 
27
- private final String PLUGIN_VERSION = "7.2.0";
27
+ private final String pluginVersion = "7.2.2";
28
28
  private static final String PERMISSION_GRANTED = "granted";
29
29
  private static final String PERMISSION_DENIED = "denied";
30
30
  private static final String PERMISSION_PROMPT = "prompt";
@@ -237,7 +237,7 @@ public class CapacitorPedometerPlugin extends Plugin implements SensorEventListe
237
237
  public void getPluginVersion(final PluginCall call) {
238
238
  try {
239
239
  final JSObject ret = new JSObject();
240
- ret.put("version", this.PLUGIN_VERSION);
240
+ ret.put("version", this.pluginVersion);
241
241
  call.resolve(ret);
242
242
  } catch (final Exception e) {
243
243
  call.reject("Could not get plugin version", e);
@@ -4,7 +4,7 @@ import Foundation
4
4
 
5
5
  @objc(CapacitorPedometerPlugin)
6
6
  public class CapacitorPedometerPlugin: CAPPlugin, CAPBridgedPlugin {
7
- private let PLUGIN_VERSION: String = "7.2.0"
7
+ private let pluginVersion: String = "7.2.2"
8
8
  public let identifier = "CapacitorPedometerPlugin"
9
9
  public let jsName = "CapacitorPedometer"
10
10
  public let pluginMethods: [CAPPluginMethod] = [
@@ -184,6 +184,6 @@ public class CapacitorPedometerPlugin: CAPPlugin, CAPBridgedPlugin {
184
184
  }
185
185
 
186
186
  @objc func getPluginVersion(_ call: CAPPluginCall) {
187
- call.resolve(["version": self.PLUGIN_VERSION])
187
+ call.resolve(["version": self.pluginVersion])
188
188
  }
189
189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-pedometer",
3
- "version": "7.2.0",
3
+ "version": "7.2.2",
4
4
  "description": "Capacitor plugin for accessing pedometer data including steps, distance, pace, cadence, and floors",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",