updated pubspec.yaml version
This commit is contained in:
parent
e1aeb2c64e
commit
0da11b34ff
|
@ -1,4 +1,4 @@
|
|||
## 5.4.5
|
||||
## 5.5.0
|
||||
|
||||
- Added Android direct camera capture feature
|
||||
- Fixed missing `PullToRefreshController.isRefreshing` iOS implementation
|
||||
|
@ -16,6 +16,7 @@
|
|||
- Merged "Catch and ignore utf8 format exception in getFavicons()" [#1302](https://github.com/pichillilorenzo/flutter_inappwebview/pull/1302) (thanks to [Doflatango](https://github.com/Doflatango))
|
||||
- Merged "Disable exporting activity definitions for Android" [#1313](https://github.com/pichillilorenzo/flutter_inappwebview/pull/1313) (thanks to [daanporon](https://github.com/daanporon))
|
||||
- Merged "Add directoryIndex and documentRoot to InAppLocalhostServer option" [#1319](https://github.com/pichillilorenzo/flutter_inappwebview/pull/1319) (thanks to [fa0311](https://github.com/fa0311))
|
||||
- Merged "fix(ios): invoke onBrowserCreated when viewDidLoad is called with win…" [#1344](https://github.com/pichillilorenzo/flutter_inappwebview/pull/1344) (thanks to [perffecto](https://github.com/perffecto))
|
||||
|
||||
## 5.4.4+3
|
||||
|
||||
|
|
|
@ -1770,21 +1770,21 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate, WKNavi
|
|||
let certificatePath = response["certificatePath"] as! String;
|
||||
let certificatePassword = response["certificatePassword"] as? String ?? "";
|
||||
|
||||
var path: String = certificatePath
|
||||
do {
|
||||
path = try Util.getAbsPathAsset(assetFilePath: certificatePath)
|
||||
} catch {}
|
||||
var path: String = certificatePath
|
||||
do {
|
||||
path = try Util.getAbsPathAsset(assetFilePath: certificatePath)
|
||||
} catch {}
|
||||
|
||||
if let PKCS12Data = NSData(contentsOfFile: path),
|
||||
let identityAndTrust: IdentityAndTrust = self.extractIdentity(PKCS12Data: PKCS12Data, password: certificatePassword) {
|
||||
let urlCredential: URLCredential = URLCredential(
|
||||
identity: identityAndTrust.identityRef,
|
||||
certificates: identityAndTrust.certArray as? [AnyObject],
|
||||
persistence: URLCredential.Persistence.forSession);
|
||||
completionHandler(.useCredential, urlCredential)
|
||||
} else {
|
||||
completionHandler(.performDefaultHandling, nil)
|
||||
}
|
||||
if let PKCS12Data = NSData(contentsOfFile: path),
|
||||
let identityAndTrust: IdentityAndTrust = self.extractIdentity(PKCS12Data: PKCS12Data, password: certificatePassword) {
|
||||
let urlCredential: URLCredential = URLCredential(
|
||||
identity: identityAndTrust.identityRef,
|
||||
certificates: identityAndTrust.certArray as? [AnyObject],
|
||||
persistence: URLCredential.Persistence.forSession);
|
||||
completionHandler(.useCredential, urlCredential)
|
||||
} else {
|
||||
completionHandler(.performDefaultHandling, nil)
|
||||
}
|
||||
|
||||
break
|
||||
case 2:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: flutter_inappwebview
|
||||
description: A Flutter plugin that allows you to add an inline webview, to use an headless webview, and to open an in-app browser window.
|
||||
version: 5.4.5
|
||||
version: 5.5.0
|
||||
homepage: https://inappwebview.dev/
|
||||
repository: https://github.com/pichillilorenzo/flutter_inappwebview
|
||||
issue_tracker: https://github.com/pichillilorenzo/flutter_inappwebview/issues
|
||||
|
|
Loading…
Reference in New Issue