@capgo/capacitor-pedometer 8.0.4 → 8.0.5

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 pluginVersion = "8.0.4";
27
+ private final String pluginVersion = "8.0.5";
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";
@@ -118,13 +118,6 @@ public class CapacitorPedometerPlugin extends Plugin implements SensorEventListe
118
118
  call.resolve();
119
119
  }
120
120
 
121
- @PluginMethod
122
- public void checkPermissions(PluginCall call) {
123
- JSObject result = new JSObject();
124
- result.put("activityRecognition", getPermissionState());
125
- call.resolve(result);
126
- }
127
-
128
121
  @PluginMethod
129
122
  public void requestPermissions(PluginCall call) {
130
123
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
@@ -4,7 +4,7 @@ import Foundation
4
4
 
5
5
  @objc(CapacitorPedometerPlugin)
6
6
  public class CapacitorPedometerPlugin: CAPPlugin, CAPBridgedPlugin {
7
- private let pluginVersion: String = "8.0.4"
7
+ private let pluginVersion: String = "8.0.5"
8
8
  public let identifier = "CapacitorPedometerPlugin"
9
9
  public let jsName = "CapacitorPedometer"
10
10
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-pedometer",
3
- "version": "8.0.4",
3
+ "version": "8.0.5",
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",