Manos Chorianopoulos

set CampaignWebview cachePolicy

...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>Pods-WarplySDKFrameworkIOS.xcscheme_^#shared#^_</key> 7 <key>Pods-WarplySDKFrameworkIOS.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>1</integer> 10 + <integer>0</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>WarplySDKFrameworkIOS.xcscheme_^#shared#^_</key> 7 <key>WarplySDKFrameworkIOS.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>0</integer> 10 + <integer>1</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -57,7 +57,8 @@ extension CampaignWebview { ...@@ -57,7 +57,8 @@ extension CampaignWebview {
57 } 57 }
58 58
59 func updateUIView(_ webView: WKWebView, context: Context) { 59 func updateUIView(_ webView: WKWebView, context: Context) {
60 - let request = URLRequest(url: URL(string: url)!) 60 + var request = URLRequest(url: URL(string: url)!)
61 + request.cachePolicy = .reloadRevalidatingCacheData
61 webView.load(request) 62 webView.load(request)
62 } 63 }
63 } 64 }
......