@aigens/aigens-sdk-core 0.0.36 → 0.0.37
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.
@@ -125,6 +125,15 @@ import Capacitor
|
|
125
125
|
|
126
126
|
|
127
127
|
let rUrl = URLRequest(url: url)
|
128
|
+
|
129
|
+
let newUrl = url;
|
130
|
+
if newUrl.absoluteString.range(of: "redirect=") != nil, let redirect = newUrl.absoluteString.components(separatedBy:"redirect=").last, !redirect.isEmpty {
|
131
|
+
aigensprint("handleUniversalLink has -- redirect:\(redirect)")
|
132
|
+
webContainerView.showLoading(true)
|
133
|
+
webContainerView.showError(false)
|
134
|
+
}
|
135
|
+
|
136
|
+
|
128
137
|
webView?.load(rUrl)
|
129
138
|
|
130
139
|
}
|