@erkamyaman/capacitor-foldable 8.4.2 → 8.4.4

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.
Files changed (2) hide show
  1. package/README.md +15 -5
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -12,7 +12,14 @@
12
12
  Fold state, posture, hinge angle, size classes and bar placement for foldable phones such as Galaxy Z Fold and Flip, Pixel Fold and iPhone Duo, in Capacitor apps.
13
13
  </p>
14
14
 
15
- <p align="center"><a href="https://erkamyaman.github.io/capacitor-foldable/"><strong>Documentation</strong></a> · <a href="https://erkamyaman.github.io/capacitor-foldable/api.html">API</a> · <a href="https://erkamyaman.github.io/capacitor-foldable/iphone-duo.html">iPhone Duo guide</a> · <a href="https://github.com/erkamyaman/hinge-guess">Hinge Guess demo</a></p>
15
+ <table align="center">
16
+ <tr>
17
+ <td align="center">📚 <a href="https://erkamyaman.github.io/capacitor-foldable/"><strong>Documentation</strong></a></td>
18
+ <td align="center"><a href="https://erkamyaman.github.io/capacitor-foldable/api.html">API</a></td>
19
+ <td align="center"><a href="https://erkamyaman.github.io/capacitor-foldable/iphone-duo.html">iPhone Duo guide</a></td>
20
+ <td align="center"><a href="https://github.com/erkamyaman/hinge-guess">Hinge Guess demo</a></td>
21
+ </tr>
22
+ </table>
16
23
 
17
24
  | Ionic tabs on iPhone Duo without the plugin | With the plugin |
18
25
  | --- | --- |
@@ -25,10 +32,11 @@ npm install @erkamyaman/capacitor-foldable
25
32
  npx cap sync
26
33
  ```
27
34
 
28
- | Capacitor | Plugin | iOS |
29
- | --------- | ------ | --- |
30
- | v8.x | v8.x | Size classes, plus iPhone Duo on Capacitor 8.5+ and iOS 27.1, built with any Xcode |
31
- | v7.x | v7.x | Size classes only |
35
+ | Capacitor | Plugin | Install | iOS |
36
+ | --------- | ------ | ------- | --- |
37
+ | v9 beta | v9.x beta | `npm install @erkamyaman/capacitor-foldable@next` | Size classes and iPhone Duo, iOS 16+. Setup in the [release notes](https://github.com/erkamyaman/capacitor-foldable/releases/tag/v9.0.0-beta.0) |
38
+ | v8.x | v8.x | `npm install @erkamyaman/capacitor-foldable` | Size classes, plus iPhone Duo on Capacitor 8.5+ and iOS 27.1, built with any Xcode |
39
+ | v7.x | v7.x | `npm install @erkamyaman/capacitor-foldable@latest-7` | Size classes only |
32
40
 
33
41
  Android works on API 24+ with any foldable Jetpack WindowManager supports. The web build is a stub that reports `flat`.
34
42
 
@@ -68,6 +76,8 @@ Also ships in the npm package under [`skills/`](skills/capacitor-foldable), and
68
76
  ## Used by
69
77
 
70
78
  - [Capacitor Native UI](https://github.com/rdlabo-dev/ionic-theme-ios27/tree/main/packages/capacitor-native-ui) and [Ionic Theme iOS 27](https://github.com/rdlabo-dev/ionic-theme-ios27) by rdlabo
79
+ - [RecipeSage](https://github.com/julianpoy/RecipeSage), a collaborative recipe keeper and meal planner, moves its native tab bar to the side on iPhone Duo with it
80
+ - [AI Gist](https://github.com/yarin-zhang/AI-Gist), a privacy-first AI prompt manager, moves its tab bar to the side rail on iPhone Duo with it, alongside rdlabo's theme
71
81
  - [Hinge Guess](https://github.com/erkamyaman/hinge-guess), a game where the phone's hinge is the controller
72
82
 
73
83
  ## Trademarks and licence
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erkamyaman/capacitor-foldable",
3
- "version": "8.4.2",
3
+ "version": "8.4.4",
4
4
  "description": "Fold-state and dual-display APIs for foldable devices in Capacitor apps",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -35,6 +35,7 @@
35
35
  "type": "github",
36
36
  "url": "https://github.com/sponsors/erkamyaman"
37
37
  },
38
+ "homepage": "https://erkamyaman.github.io/capacitor-foldable/",
38
39
  "repository": {
39
40
  "type": "git",
40
41
  "url": "git+https://github.com/erkamyaman/capacitor-foldable.git"