@capacitor/android 7.6.5 → 7.6.6

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.
@@ -70,14 +70,12 @@ public class MockCordovaWebViewImpl implements CordovaWebView {
70
70
 
71
71
  @Override
72
72
  public void onNativeToJsMessageAvailable(final NativeToJsMessageQueue queue) {
73
- cordova
74
- .getActivity()
75
- .runOnUiThread(() -> {
76
- String js = queue.popAndEncodeAsJs();
77
- if (js != null) {
78
- webView.evaluateJavascript(js, null);
79
- }
80
- });
73
+ cordova.getActivity().runOnUiThread(() -> {
74
+ String js = queue.popAndEncodeAsJs();
75
+ if (js != null) {
76
+ webView.evaluateJavascript(js, null);
77
+ }
78
+ });
81
79
  }
82
80
  }
83
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/android",
3
- "version": "7.6.5",
3
+ "version": "7.6.6",
4
4
  "description": "Capacitor: Cross-platform apps with JavaScript and the web",
5
5
  "homepage": "https://capacitorjs.com",
6
6
  "author": "Ionic Team <hi@ionic.io> (https://ionic.io)",