@capgo/inappbrowser 6.13.0 → 6.13.1

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.
@@ -315,47 +315,6 @@ public class WebViewDialog extends Dialog {
315
315
  _webView.getSettings().setTextZoom(_options.getTextZoom());
316
316
  }
317
317
 
318
- // Fix for Android 15 (API 35) navigation bar overlap issue
319
- if (android.os.Build.VERSION.SDK_INT >= 35) {
320
- // Get the navigation bar space view
321
- View navigationBarSpace = findViewById(R.id.navigation_bar_space);
322
-
323
- if (navigationBarSpace != null) {
324
- // Calculate navigation bar height
325
- int navigationBarHeight = 0;
326
- int navBarId = getContext()
327
- .getResources()
328
- .getIdentifier("navigation_bar_height", "dimen", "android");
329
-
330
- if (navBarId > 0) {
331
- navigationBarHeight = getContext()
332
- .getResources()
333
- .getDimensionPixelSize(navBarId);
334
-
335
- // Set the height of the navigation bar space
336
- navigationBarSpace.getLayoutParams().height = navigationBarHeight;
337
- navigationBarSpace.requestLayout();
338
-
339
- // Set the background color to match the toolbar or system theme
340
- int navBarColor;
341
- if (_options.getToolbarColor() != null && !_options.getToolbarColor().isEmpty()) {
342
- try {
343
- navBarColor = Color.parseColor(_options.getToolbarColor());
344
- } catch (IllegalArgumentException e) {
345
- // Default to system coloring if parsing fails
346
- boolean isDarkTheme = isDarkThemeEnabled();
347
- navBarColor = isDarkTheme ? Color.BLACK : Color.WHITE;
348
- }
349
- } else {
350
- // Follow system theme
351
- boolean isDarkTheme = isDarkThemeEnabled();
352
- navBarColor = isDarkTheme ? Color.BLACK : Color.WHITE;
353
- }
354
- navigationBarSpace.setBackgroundColor(navBarColor);
355
- }
356
- }
357
- }
358
-
359
318
  _webView.setWebViewClient(new WebViewClient());
360
319
 
361
320
  _webView.setWebChromeClient(
@@ -11,15 +11,6 @@
11
11
  <WebView
12
12
  android:id="@+id/browser_view"
13
13
  android:layout_width="match_parent"
14
- android:layout_height="0dp"
15
- app:layout_constraintTop_toTopOf="parent"
16
- app:layout_constraintBottom_toTopOf="@id/navigation_bar_space"/>
17
-
18
- <View
19
- android:id="@+id/navigation_bar_space"
20
- android:layout_width="match_parent"
21
- android:layout_height="0dp"
22
- android:background="@android:color/transparent"
23
- app:layout_constraintBottom_toBottomOf="parent"/>
14
+ android:layout_height="match_parent"/>
24
15
 
25
16
  </androidx.constraintlayout.widget.ConstraintLayout>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/inappbrowser",
3
- "version": "6.13.0",
3
+ "version": "6.13.1",
4
4
  "description": "Capacitor plugin in app browser",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",