@capgo/capacitor-shake 8.0.13 → 8.0.15
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
|
@@ -15,6 +15,17 @@ Detect shake gesture in device
|
|
|
15
15
|
|
|
16
16
|
The most complete doc is available here: https://capgo.app/docs/plugins/shake/
|
|
17
17
|
|
|
18
|
+
## Compatibility
|
|
19
|
+
|
|
20
|
+
| Plugin version | Capacitor compatibility | Maintained |
|
|
21
|
+
| -------------- | ----------------------- | ---------- |
|
|
22
|
+
| v8.\*.\* | v8.\*.\* | ✅ |
|
|
23
|
+
| v7.\*.\* | v7.\*.\* | On demand |
|
|
24
|
+
| v6.\*.\* | v6.\*.\* | ❌ |
|
|
25
|
+
| v5.\*.\* | v5.\*.\* | ❌ |
|
|
26
|
+
|
|
27
|
+
> **Note:** The major version of this plugin follows the major version of Capacitor. Use the version that matches your Capacitor installation (e.g., plugin v8 for Capacitor 8). Only the latest major version is actively maintained.
|
|
28
|
+
|
|
18
29
|
## Install
|
|
19
30
|
|
|
20
31
|
```bash
|
|
@@ -13,7 +13,7 @@ import com.squareup.seismic.ShakeDetector;
|
|
|
13
13
|
@CapacitorPlugin(name = "CapacitorShake")
|
|
14
14
|
public class CapacitorShakePlugin extends Plugin implements ShakeDetector.Listener {
|
|
15
15
|
|
|
16
|
-
private final String pluginVersion = "8.0.
|
|
16
|
+
private final String pluginVersion = "8.0.15";
|
|
17
17
|
|
|
18
18
|
@Override
|
|
19
19
|
public void load() {
|
|
@@ -20,7 +20,7 @@ extension UIWindow {
|
|
|
20
20
|
*/
|
|
21
21
|
@objc(CapacitorShakePlugin)
|
|
22
22
|
public class CapacitorShakePlugin: CAPPlugin, CAPBridgedPlugin {
|
|
23
|
-
private let pluginVersion: String = "8.0.
|
|
23
|
+
private let pluginVersion: String = "8.0.15"
|
|
24
24
|
public let identifier = "CapacitorShakePlugin"
|
|
25
25
|
public let jsName = "CapacitorShake"
|
|
26
26
|
public let pluginMethods: [CAPPluginMethod] = [
|