@capgo/capacitor-accelerometer 7.1.4 → 7.1.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.
package/README.md
CHANGED
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
|
|
10
10
|
Access raw accelerometer measurements across iOS, Android, and the Web.
|
|
11
11
|
|
|
12
|
-
WIP: the plugin is not yet ready for production
|
|
13
|
-
|
|
14
12
|
## Why Capacitor Accelerometer?
|
|
15
13
|
|
|
16
14
|
The only **free** and **maintained** Capacitor plugin for accelerometer access. Other plugins are either paid or no longer updated. This plugin provides:
|
|
@@ -15,7 +15,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
|
|
|
15
15
|
@CapacitorPlugin(name = "CapacitorAccelerometer")
|
|
16
16
|
public class CapacitorAccelerometerPlugin extends Plugin implements SensorEventListener {
|
|
17
17
|
|
|
18
|
-
private final String pluginVersion = "7.1.
|
|
18
|
+
private final String pluginVersion = "7.1.5";
|
|
19
19
|
private static final String PERMISSION_GRANTED = "granted";
|
|
20
20
|
private static final String PERMISSION_DENIED = "denied";
|
|
21
21
|
|
|
@@ -4,7 +4,7 @@ import Foundation
|
|
|
4
4
|
|
|
5
5
|
@objc(CapacitorAccelerometerPlugin)
|
|
6
6
|
public class CapacitorAccelerometerPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
7
|
-
private let pluginVersion: String = "7.1.
|
|
7
|
+
private let pluginVersion: String = "7.1.5"
|
|
8
8
|
public let identifier = "CapacitorAccelerometerPlugin"
|
|
9
9
|
public let jsName = "CapacitorAccelerometer"
|
|
10
10
|
public let pluginMethods: [CAPPluginMethod] = [
|