@capacitor/cli 8.5.2-nightly-20260910T151316.0 → 8.5.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.
- package/assets/android-template.tar.gz +0 -0
- package/assets/capacitor-cordova-android-plugins.tar.gz +0 -0
- package/assets/capacitor-cordova-ios-plugins.tar.gz +0 -0
- package/assets/ios-pods-template.tar.gz +0 -0
- package/assets/ios-spm-template.tar.gz +0 -0
- package/dist/declarations.d.ts +21 -3
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/declarations.d.ts
CHANGED
|
@@ -709,13 +709,31 @@ export interface PluginsConfig {
|
|
|
709
709
|
*
|
|
710
710
|
* This option is only supported on Android.
|
|
711
711
|
*
|
|
712
|
-
* `
|
|
712
|
+
* `native` = (recommended) For older Chromium versions (< v140) this embeds the webview with padding and sets the `env(safe-area-inset-*)` variables to `0px`. For newer Chromium versions (>= v140) this makes sure the webview adheres to the `viewport-fit` meta tag. If set to `viewport-fit="cover"` this will make the webview edge-to-edge and the `env(safe-area-inset-*)` variables will contain the correct values. With those values you could set padding for example so make sure the webview is shown correctly.
|
|
713
713
|
*
|
|
714
|
-
* `
|
|
714
|
+
* `css` = This is the same as `native`, but it also injects CSS variables (`--safe-area-inset-*`) containing correct safe area inset values into the webview.
|
|
715
|
+
*
|
|
716
|
+
* `disable` = (not recommended) Disable safe area insets handling completely.
|
|
717
|
+
* This shifts the responsibility from Capacitor to your own code to handle the insets.
|
|
718
|
+
* Be aware that this might result in a visually broken UI if your native app code and the content loaded into the webview do not correctly handle safe area insets.
|
|
715
719
|
*
|
|
716
720
|
* @default "css"
|
|
717
721
|
*/
|
|
718
|
-
insetsHandling?: 'css' | 'disable';
|
|
722
|
+
insetsHandling?: 'native' | 'css' | 'disable';
|
|
723
|
+
/**
|
|
724
|
+
* Set an initial value for the to be detected `viewport-fit=` meta tag value.
|
|
725
|
+
* For most apps that support edge-to-edge this value will eventually be `cover`.
|
|
726
|
+
* Therefore you might want to set this value to `cover` to help prevent layout jumps and glitches.
|
|
727
|
+
* If you know the value to be `cover` initially, you can set it here.
|
|
728
|
+
* The value will always end up correctly, no matter what you set here,
|
|
729
|
+
* as long as `insetsHandling` is set to `native` or `css`.
|
|
730
|
+
* It only exists to help prevent layout jumps and glitches.
|
|
731
|
+
*
|
|
732
|
+
* This option is only supported on Android.
|
|
733
|
+
*
|
|
734
|
+
* @default undefined
|
|
735
|
+
*/
|
|
736
|
+
initialViewportFitValueHint?: 'auto' | 'contain' | 'cover';
|
|
719
737
|
/**
|
|
720
738
|
* The style of the text and icons of the system bars.
|
|
721
739
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/cli",
|
|
3
|
-
"version": "8.5.2
|
|
3
|
+
"version": "8.5.2",
|
|
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)",
|