@capgo/inappbrowser 8.1.17 → 8.1.18

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.
@@ -55,7 +55,7 @@ import org.json.JSONObject;
55
55
  )
56
56
  public class InAppBrowserPlugin extends Plugin implements WebViewDialog.PermissionHandler {
57
57
 
58
- private final String pluginVersion = "8.1.17";
58
+ private final String pluginVersion = "8.1.18";
59
59
 
60
60
  public static final String CUSTOM_TAB_PACKAGE_NAME = "com.android.chrome"; // Change when in stable
61
61
  private CustomTabsClient customTabsClient;
@@ -883,10 +883,6 @@ public class InAppBrowserPlugin extends Plugin implements WebViewDialog.Permissi
883
883
  call.reject("WebView is not initialized");
884
884
  return;
885
885
  }
886
- if (!webViewDialog.isFakeVisibleMode()) {
887
- call.reject("show() is only supported when invisibilityMode is FAKE_VISIBLE");
888
- return;
889
- }
890
886
  if (!webViewDialog.isShowing()) {
891
887
  webViewDialog.show();
892
888
  }
@@ -1080,10 +1080,6 @@ public class WebViewDialog extends Dialog {
1080
1080
  return isHiddenModeActive;
1081
1081
  }
1082
1082
 
1083
- public boolean isFakeVisibleMode() {
1084
- return _options != null && _options.getInvisibilityMode() == Options.InvisibilityMode.FAKE_VISIBLE;
1085
- }
1086
-
1087
1083
  /**
1088
1084
  * Apply window insets to the WebView to properly handle edge-to-edge display
1089
1085
  * and fix status bar overlap issues on Android 15+
@@ -28,7 +28,7 @@ public class InAppBrowserPlugin: CAPPlugin, CAPBridgedPlugin {
28
28
  case aware = "AWARE"
29
29
  case fakeVisible = "FAKE_VISIBLE"
30
30
  }
31
- private let pluginVersion: String = "8.1.17"
31
+ private let pluginVersion: String = "8.1.18"
32
32
  public let identifier = "InAppBrowserPlugin"
33
33
  public let jsName = "InAppBrowser"
34
34
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/inappbrowser",
3
- "version": "8.1.17",
3
+ "version": "8.1.18",
4
4
  "description": "Capacitor plugin in app browser",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",