@capgo/inappbrowser 7.15.1 → 7.15.2

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.
@@ -47,7 +47,6 @@ import android.webkit.WebView;
47
47
  import android.webkit.WebViewClient;
48
48
  import android.widget.ImageButton;
49
49
  import android.widget.ImageView;
50
- import android.widget.RelativeLayout;
51
50
  import android.widget.TextView;
52
51
  import android.widget.Toast;
53
52
  import android.widget.Toolbar;
@@ -1,28 +1,16 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2
+ <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
+ xmlns:app="http://schemas.android.com/apk/res-auto"
3
4
  xmlns:tools="http://schemas.android.com/tools"
4
5
  android:layout_width="match_parent"
5
6
  android:layout_height="match_parent"
7
+ app:layout_behavior="@string/appbar_scrolling_view_behavior"
6
8
  tools:context="com.cap.browser.plugin.WebViewActivity"
7
9
  tools:showIn="@layout/activity_browser">
8
10
 
9
11
  <WebView
10
12
  android:id="@+id/browser_view"
11
13
  android:layout_width="match_parent"
12
- android:layout_height="match_parent"
13
- android:layout_alignParentTop="true"
14
- android:layout_alignParentLeft="true"
15
- android:layout_alignParentRight="true"
16
- android:layout_alignParentBottom="true" />
14
+ android:layout_height="match_parent"/>
17
15
 
18
- <!-- Safe margin area at the bottom - initially hidden -->
19
- <View
20
- android:id="@+id/safe_margin_bottom"
21
- android:layout_width="match_parent"
22
- android:layout_height="0dp"
23
- android:layout_alignParentBottom="true"
24
- android:layout_alignParentLeft="true"
25
- android:layout_alignParentRight="true"
26
- android:background="@android:color/transparent" />
27
-
28
- </RelativeLayout>
16
+ </androidx.constraintlayout.widget.ConstraintLayout>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/inappbrowser",
3
- "version": "7.15.1",
3
+ "version": "7.15.2",
4
4
  "description": "Capacitor plugin in app browser",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",