@aigens/aigens-sdk-core 0.0.24 → 0.0.25
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.
@@ -31,9 +31,12 @@
|
|
31
31
|
<constraint firstAttribute="height" constant="100" id="SFb-3i-Gvl"/>
|
32
32
|
</constraints>
|
33
33
|
</view>
|
34
|
-
<button opaque="NO" contentMode="scaleToFill"
|
35
|
-
<rect key="frame" x="237.5" y="579" width="
|
34
|
+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Rie-2B-ejA" userLabel="reload">
|
35
|
+
<rect key="frame" x="237.5" y="579" width="100" height="31"/>
|
36
36
|
<color key="backgroundColor" systemColor="linkColor"/>
|
37
|
+
<constraints>
|
38
|
+
<constraint firstAttribute="width" constant="100" id="eZU-e3-pAz"/>
|
39
|
+
</constraints>
|
37
40
|
<state key="normal" title="Button"/>
|
38
41
|
<buttonConfiguration key="configuration" style="filled" title="Reload">
|
39
42
|
<color key="baseForegroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
@@ -49,9 +52,12 @@
|
|
49
52
|
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
50
53
|
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
|
51
54
|
</textView>
|
52
|
-
<button opaque="NO" contentMode="scaleToFill"
|
53
|
-
<rect key="frame" x="
|
55
|
+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3jG-Lv-8dD" userLabel="back">
|
56
|
+
<rect key="frame" x="76.5" y="579" width="100" height="31"/>
|
54
57
|
<color key="backgroundColor" systemColor="linkColor"/>
|
58
|
+
<constraints>
|
59
|
+
<constraint firstAttribute="width" constant="100" id="DQH-u1-8bh"/>
|
60
|
+
</constraints>
|
55
61
|
<state key="normal" title="Button"/>
|
56
62
|
<buttonConfiguration key="configuration" style="filled" title="Back">
|
57
63
|
<color key="baseForegroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
@@ -186,6 +186,7 @@ import Capacitor
|
|
186
186
|
|
187
187
|
deinit {
|
188
188
|
print("WebContainerViewController deinit")
|
189
|
+
NotificationCenter.default.removeObserver(self)
|
189
190
|
}
|
190
191
|
|
191
192
|
|
@@ -197,6 +198,8 @@ extension WebContainerViewController: WKNavigationDelegate {
|
|
197
198
|
public func webView(_ webView: WKWebView, didStartProvisionalNavigation navigation: WKNavigation!) {
|
198
199
|
// Reset the bridge on each navigation
|
199
200
|
// self.bridge?.reset()
|
201
|
+
webContainerView.showError(false)
|
202
|
+
webContainerView.showLoading(true)
|
200
203
|
}
|
201
204
|
|
202
205
|
public func webView(_ webView: WKWebView, didCommit navigation: WKNavigation!) {
|