@capgo/capacitor-screen-orientation 8.3.0 → 8.3.1

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,14 +1,14 @@
1
1
  # @capgo/capacitor-screen-orientation
2
2
 
3
- <a href="https://capgo.app/"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-screen-orientation" alt="Capgo - Instant updates for Capacitor" /></a>
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 - Instant updates for Capacitor" /></a>
4
4
 
5
5
  <div align="center">
6
- <h2><a href="https://capgo.app/?ref=plugin_screen_orientation"> ➡️ Get Instant updates for your App with Capgo</a></h2>
7
- <h2><a href="https://capgo.app/consulting/?ref=plugin_screen_orientation"> Missing a feature? We'll build the plugin for you 💪</a></h2>
6
+ <p><b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without waiting for app store review.</p>
7
+ <h2><a href="https://capgo.app/register/?ref=plugin_screen_orientation">➡️ Get started for free</a></h2>
8
+ <p>14-day unlimited free trial. No credit card required</p>
9
+ <p><a href="https://capgo.app/consulting/?ref=plugin_screen_orientation">Missing a feature? We'll build the plugin for you 💪</a></p>
8
10
  </div>
9
11
 
10
-
11
-
12
12
  Screen orientation plugin with support for detecting true physical device orientation
13
13
 
14
14
  ## Features
@@ -32,7 +32,7 @@ iPhone Duo (iOS 27.1 or later) is a foldable iPhone. The same fold calls used on
32
32
  | Pose | `posture` | Hinge |
33
33
  | --- | --- | --- |
34
34
  | Open flat, or closed on the outer display | `flat` | `180` open, `0` closed |
35
- | Held half-open like a book | `book` | vertical hinge, about `20`–`160` |
35
+ | Held half-open like a book | `book` | vertical hinge, about `20` to `160` |
36
36
  | Propped half-open like a laptop | `tabletop` | horizontal hinge |
37
37
 
38
38
  Closed on the cover screen, the iPhone Duo simulator reports the outer display and a hinge at 0°:
@@ -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.3.0";
27
+ private final String pluginVersion = "8.3.1";
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.3.0"
14
+ private let pluginVersion: String = "8.3.1"
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.3.0",
3
+ "version": "8.3.1",
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",