@capgo/capacitor-screen-orientation 8.1.15 → 8.1.17

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
@@ -41,6 +41,20 @@ The most complete doc is available here: https://capgo.app/docs/plugins/screen-o
41
41
 
42
42
  ## Install
43
43
 
44
+ You can use our AI-Assisted Setup to install the plugin. Add the Capgo skills to your AI tool using the following command:
45
+
46
+ ```bash
47
+ npx skills add https://github.com/cap-go/capacitor-skills --skill capacitor-plugins
48
+ ```
49
+
50
+ Then use the following prompt:
51
+
52
+ ```text
53
+ Use the `capacitor-plugins` skill from `cap-go/capacitor-skills` to install the `@capgo/capacitor-screen-orientation` plugin in my project.
54
+ ```
55
+
56
+ If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:
57
+
44
58
  ```bash
45
59
  npm install @capgo/capacitor-screen-orientation
46
60
  npx cap sync
@@ -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.15";
20
+ private final String pluginVersion = "8.1.17";
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.15"
14
+ private let pluginVersion: String = "8.1.17"
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.15",
3
+ "version": "8.1.17",
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",