@capgo/capacitor-screen-orientation 8.4.0 โ 8.4.2
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @capgo/capacitor-screen-orientation
|
|
2
2
|
|
|
3
|
-
<a href="https://capgo.app/?ref=plugin_screen_orientation"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-screen-orientation" alt="Capgo -
|
|
3
|
+
<a href="https://capgo.app/?ref=plugin_screen_orientation"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-screen-orientation" alt="Capgo - Build Capacitor apps with AI, ship updates instantly" /></a>
|
|
4
4
|
|
|
5
5
|
<div align="center">
|
|
6
6
|
<p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
<p><a href="https://capgo.app/consulting/?ref=plugin_screen_orientation">Missing a feature? We'll build the plugin for you ๐ช</a></p>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
|
+
> ๐ค **Building with an AI coding agent?** Install [Capgo skills](https://capgo.app/skills/?ref=plugin_screen_orientation) so Claude Code, Codex, Cursor, Copilot, or Gemini CLI know how to install and use `@capgo/capacitor-screen-orientation` in your Capacitor app: `npx skills add Cap-go/capgo-skills`. Then ask your agent: *"Add @capgo/capacitor-screen-orientation to my Capacitor app and wire it up."* [Agent setup guides](https://capgo.app/agents/?ref=plugin_screen_orientation) ยท [Hosted MCP](https://capgo.app/docs/ai/mcp/?ref=plugin_screen_orientation)
|
|
13
|
+
|
|
12
14
|
Screen orientation plugin with support for detecting true physical device orientation
|
|
13
15
|
|
|
14
16
|
## Features
|
|
@@ -24,7 +24,7 @@ import org.json.JSONObject;
|
|
|
24
24
|
@CapacitorPlugin(name = "CapacitorScreenOrientation")
|
|
25
25
|
public class CapacitorScreenOrientationPlugin extends Plugin implements SensorEventListener {
|
|
26
26
|
|
|
27
|
-
private final String pluginVersion = "8.4.
|
|
27
|
+
private final String pluginVersion = "8.4.2";
|
|
28
28
|
private int currentOrientation;
|
|
29
29
|
private SensorManager sensorManager;
|
|
30
30
|
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.4.
|
|
14
|
+
private let pluginVersion: String = "8.4.2"
|
|
15
15
|
public let identifier = "CapacitorScreenOrientationPlugin"
|
|
16
16
|
public let jsName = "CapacitorScreenOrientation"
|
|
17
17
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED