Manos Chorianopoulos

fix webview url v2

......@@ -7,7 +7,7 @@
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
</dict>
......
......@@ -7,7 +7,7 @@
<key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
......
......@@ -19,14 +19,14 @@ import SwiftEventBus
super.viewDidLoad()
var campaignUrl = campaignUrl.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)
print("Webview url: " + campaignUrl)
print("Webview url: " + (campaignUrl ?? ""))
self.hidesBottomBarWhenPushed = true
setBackButton()
webview.navigationDelegate = self
if let url = URL(string: campaignUrl) {
if let url = URL(string: campaignUrl ?? "") {
webview.load(URLRequest(url: url))
webview.allowsBackForwardNavigationGestures = true
}
......