@capgo/inappbrowser 7.9.1 → 7.9.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.
package/Package.swift
CHANGED
|
@@ -10,7 +10,7 @@ let package = Package(
|
|
|
10
10
|
targets: ["InappbrowserPlugin"])
|
|
11
11
|
],
|
|
12
12
|
dependencies: [
|
|
13
|
-
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.
|
|
13
|
+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.2.0"),
|
|
14
14
|
],
|
|
15
15
|
targets: [
|
|
16
16
|
.target(
|
|
@@ -544,7 +544,8 @@ public class InAppBrowserPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
544
544
|
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
-
self.navigationWebViewController?.modalPresentationStyle = .
|
|
547
|
+
self.navigationWebViewController?.modalPresentationStyle = .overCurrentContext
|
|
548
|
+
self.navigationWebViewController?.modalTransitionStyle = .crossDissolve
|
|
548
549
|
if toolbarType == "blank" {
|
|
549
550
|
self.navigationWebViewController?.navigationBar.isHidden = true
|
|
550
551
|
webViewController.blankNavigationTab = true
|
|
@@ -734,7 +735,8 @@ public class InAppBrowserPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
734
735
|
// Always hide toolbar to ensure no bottom bar
|
|
735
736
|
self.navigationWebViewController?.setToolbarHidden(true, animated: false)
|
|
736
737
|
|
|
737
|
-
self.navigationWebViewController?.modalPresentationStyle = .
|
|
738
|
+
self.navigationWebViewController?.modalPresentationStyle = .overCurrentContext
|
|
739
|
+
self.navigationWebViewController?.modalTransitionStyle = .crossDissolve
|
|
738
740
|
|
|
739
741
|
if !self.isPresentAfterPageLoad {
|
|
740
742
|
self.presentView()
|