@capacitor/ios 4.0.0 → 4.0.2-nightly-0ad41d05.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.0.1](https://github.com/ionic-team/capacitor/compare/4.0.0...4.0.1) (2022-07-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ios:** publish Podfile script ([#5799](https://github.com/ionic-team/capacitor/issues/5799)) ([604f03a](https://github.com/ionic-team/capacitor/commit/604f03a29bc500d2841987d0a0f1b20d34fba7d6))
12
+
13
+
14
+
15
+
16
+
6
17
  # [4.0.0](https://github.com/ionic-team/capacitor/compare/4.0.0-beta.2...4.0.0) (2022-07-27)
7
18
 
8
19
 
@@ -123,7 +123,7 @@ open class CAPWebView: UIView {
123
123
 
124
124
  extension CAPWebView {
125
125
 
126
- open func webViewConfiguration(for instanceConfiguration: InstanceConfiguration) -> WKWebViewConfiguration {
126
+ public func webViewConfiguration(for instanceConfiguration: InstanceConfiguration) -> WKWebViewConfiguration {
127
127
  let webViewConfiguration = WKWebViewConfiguration()
128
128
  webViewConfiguration.allowsInlineMediaPlayback = true
129
129
  webViewConfiguration.suppressesIncrementalRendering = false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/ios",
3
- "version": "4.0.0",
3
+ "version": "4.0.2-nightly-0ad41d05.0",
4
4
  "description": "Capacitor: Cross-platform apps with JavaScript and the web",
5
5
  "homepage": "https://capacitorjs.com",
6
6
  "author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
@@ -16,7 +16,8 @@
16
16
  "Capacitor/Capacitor/",
17
17
  "CapacitorCordova/CapacitorCordova/",
18
18
  "Capacitor.podspec",
19
- "CapacitorCordova.podspec"
19
+ "CapacitorCordova.podspec",
20
+ "scripts/pods_helpers.rb"
20
21
  ],
21
22
  "scripts": {
22
23
  "verify": "npm run xc:build:Capacitor && npm run xc:build:CapacitorCordova",
@@ -24,10 +25,10 @@
24
25
  "xc:build:CapacitorCordova": "cd CapacitorCordova && xcodebuild && cd .."
25
26
  },
26
27
  "peerDependencies": {
27
- "@capacitor/core": "next"
28
+ "@capacitor/core": "^4.0.0"
28
29
  },
29
30
  "publishConfig": {
30
31
  "access": "public"
31
32
  },
32
- "gitHead": "434b1a0ff32f513973ef35258032a4df0cb331c1"
33
+ "gitHead": "0ad41d0567e69d31e65c92d4890fc8860d0344ac"
33
34
  }
@@ -0,0 +1,12 @@
1
+ def assertDeploymentTarget(installer)
2
+ installer.pods_project.targets.each do |target|
3
+ target.build_configurations.each do |config|
4
+ # ensure IPHONEOS_DEPLOYMENT_TARGET is at least 13.0
5
+ deployment_target = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f
6
+ should_upgrade = deployment_target < 13.0 && deployment_target != 0.0
7
+ if should_upgrade
8
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
9
+ end
10
+ end
11
+ end
12
+ end