@capgo/capacitor-screen-orientation 8.1.5 → 8.1.7

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
@@ -28,6 +28,17 @@ Screen orientation plugin with support for detecting true physical device orient
28
28
 
29
29
  The most complete doc is available here: https://capgo.app/docs/plugins/screen-orientation/
30
30
 
31
+ ## Compatibility
32
+
33
+ | Plugin version | Capacitor compatibility | Maintained |
34
+ | -------------- | ----------------------- | ---------- |
35
+ | v8.\*.\* | v8.\*.\* | ✅ |
36
+ | v7.\*.\* | v7.\*.\* | On demand |
37
+ | v6.\*.\* | v6.\*.\* | ❌ |
38
+ | v5.\*.\* | v5.\*.\* | ❌ |
39
+
40
+ > **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.
41
+
31
42
  ## Install
32
43
 
33
44
  ```bash
@@ -17,7 +17,7 @@ import com.getcapacitor.annotation.CapacitorPlugin;
17
17
  @CapacitorPlugin(name = "CapacitorScreenOrientation")
18
18
  public class CapacitorScreenOrientationPlugin extends Plugin implements SensorEventListener {
19
19
 
20
- private final String pluginVersion = "8.1.5";
20
+ private final String pluginVersion = "8.1.7";
21
21
  private int currentOrientation;
22
22
  private SensorManager sensorManager;
23
23
  private Sensor accelerometer;
@@ -11,7 +11,7 @@ import UIKit
11
11
  */
12
12
  @objc(CapacitorScreenOrientationPlugin)
13
13
  public class CapacitorScreenOrientationPlugin: CAPPlugin, CAPBridgedPlugin {
14
- private let pluginVersion: String = "8.1.5"
14
+ private let pluginVersion: String = "8.1.7"
15
15
  public let identifier = "CapacitorScreenOrientationPlugin"
16
16
  public let jsName = "CapacitorScreenOrientation"
17
17
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-screen-orientation",
3
- "version": "8.1.5",
3
+ "version": "8.1.7",
4
4
  "description": "Screen orientation plugin with support for bypassing orientation lock",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",