@capgo/inappbrowser 8.1.15 → 8.1.16

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.15";
58
+ private final String pluginVersion = "8.1.16";
59
59
 
60
60
  public static final String CUSTOM_TAB_PACKAGE_NAME = "com.android.chrome"; // Change when in stable
61
61
  private CustomTabsClient customTabsClient;
@@ -49,6 +49,7 @@ import android.webkit.WebView;
49
49
  import android.webkit.WebViewClient;
50
50
  import android.widget.ImageButton;
51
51
  import android.widget.ImageView;
52
+ import android.widget.RelativeLayout;
52
53
  import android.widget.TextView;
53
54
  import android.widget.Toast;
54
55
  import android.widget.Toolbar;
@@ -991,7 +992,7 @@ public class WebViewDialog extends Dialog {
991
992
  window.setLayout(1, 1);
992
993
  _webView.setAlpha(0f);
993
994
  _webView.setVisibility(View.INVISIBLE);
994
- _webView.setLayoutParams(new ViewGroup.LayoutParams(0, 0));
995
+ _webView.setLayoutParams(new RelativeLayout.LayoutParams(0, 0));
995
996
  } else {
996
997
  _webView.setAlpha(0f);
997
998
  _webView.setVisibility(View.INVISIBLE);
@@ -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.15"
31
+ private let pluginVersion: String = "8.1.16"
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.15",
3
+ "version": "8.1.16",
4
4
  "description": "Capacitor plugin in app browser",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",