@erkamyaman/capacitor-foldable 7.0.1 → 7.0.3

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.
@@ -11,6 +11,7 @@ Pod::Spec.new do |s|
11
11
  s.author = package['author']
12
12
  s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
13
13
  s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
+ s.resource_bundles = { 'ErkamyamanCapacitorFoldablePrivacy' => ['ios/Sources/FoldablePlugin/Resources/PrivacyInfo.xcprivacy'] }
14
15
  s.ios.deployment_target = '14.0'
15
16
  s.dependency 'Capacitor'
16
17
  s.swift_version = '5.1'
package/Package.swift CHANGED
@@ -19,7 +19,8 @@ let package = Package(
19
19
  .product(name: "Capacitor", package: "capacitor-swift-pm"),
20
20
  .product(name: "Cordova", package: "capacitor-swift-pm")
21
21
  ],
22
- path: "ios/Sources/FoldablePlugin"),
22
+ path: "ios/Sources/FoldablePlugin",
23
+ resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
23
24
  .testTarget(
24
25
  name: "FoldablePluginTests",
25
26
  dependencies: ["FoldablePlugin"],
package/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  <a href="https://www.npmjs.com/package/@erkamyaman/capacitor-foldable"><img src="https://img.shields.io/npm/v/@erkamyaman/capacitor-foldable?style=for-the-badge" /></a>
6
6
  <a href="https://www.npmjs.com/package/@erkamyaman/capacitor-foldable"><img src="https://img.shields.io/npm/dw/@erkamyaman/capacitor-foldable?style=for-the-badge" /></a>
7
7
  <a href="LICENSE"><img src="https://img.shields.io/npm/l/@erkamyaman/capacitor-foldable?style=for-the-badge" /></a>
8
+ <a href="https://github.com/sponsors/erkamyaman"><img src="https://img.shields.io/badge/sponsor-%E2%9D%A4-db61a2?style=for-the-badge&logo=githubsponsors&logoColor=white" /></a>
8
9
  </p>
9
10
  <p align="center">
10
11
  Fold state, posture, hinge angle and size classes for foldable phones such as Galaxy Z Fold and Flip and Pixel Fold, in Capacitor 7 apps.
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>NSPrivacyTracking</key>
6
+ <false/>
7
+ <key>NSPrivacyTrackingDomains</key>
8
+ <array/>
9
+ <key>NSPrivacyCollectedDataTypes</key>
10
+ <array/>
11
+ <key>NSPrivacyAccessedAPITypes</key>
12
+ <array/>
13
+ </dict>
14
+ </plist>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erkamyaman/capacitor-foldable",
3
- "version": "7.0.1",
3
+ "version": "7.0.3",
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",
@@ -27,19 +27,24 @@
27
27
  },
28
28
  "keywords": [
29
29
  "capacitor",
30
+ "capacitor-plugin",
31
+ "ionic",
30
32
  "plugin",
31
- "native",
32
33
  "foldable",
33
- "fold",
34
34
  "foldables",
35
+ "fold",
35
36
  "hinge",
36
- "dual-screen",
37
37
  "posture",
38
+ "device-posture",
39
+ "viewport-segments",
40
+ "polyfill",
41
+ "dual-screen",
38
42
  "large-screen",
39
43
  "android",
40
44
  "ios",
41
45
  "pixel-fold",
42
- "iphone-duo"
46
+ "galaxy-fold",
47
+ "jetpack-windowmanager"
43
48
  ],
44
49
  "scripts": {
45
50
  "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",