@capacitor/ios 3.4.0 → 3.4.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/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
+ ## [3.4.1](https://github.com/ionic-team/capacitor/compare/3.4.0...3.4.1) (2022-02-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ios:** Reload webView on webViewWebContentProcessDidTerminate ([#5391](https://github.com/ionic-team/capacitor/issues/5391)) ([beebff4](https://github.com/ionic-team/capacitor/commit/beebff4550575c28c233937a11a8eacf5a76411c))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.4.0](https://github.com/ionic-team/capacitor/compare/3.3.4...3.4.0) (2022-01-19)
7
18
 
8
19
 
@@ -146,6 +146,10 @@ internal class WebViewDelegationHandler: NSObject, WKNavigationDelegate, WKUIDel
146
146
  CAPLog.print("⚡️ Error: " + error.localizedDescription)
147
147
  }
148
148
 
149
+ public func webViewWebContentProcessDidTerminate(_ webView: WKWebView) {
150
+ webView.reload()
151
+ }
152
+
149
153
  // MARK: - WKScriptMessageHandler
150
154
 
151
155
  func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/ios",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
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)",
@@ -29,5 +29,5 @@
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
- "gitHead": "4e84c04251167ea8212969fead84b6a1d694b561"
32
+ "gitHead": "bc7b49ff2ad242fecff7bcb3900c627ff6880f7b"
33
33
  }