Update capacitor version
This commit is contained in:
parent
91155bce0a
commit
f3b3a86b32
610 changed files with 28718 additions and 7101 deletions
98
@capacitor/cli/dist/declarations.d.ts
vendored
98
@capacitor/cli/dist/declarations.d.ts
vendored
|
|
@ -26,20 +26,6 @@ export interface CapacitorConfig {
|
|||
* @since 1.0.0
|
||||
*/
|
||||
webDir?: string;
|
||||
/**
|
||||
* Whether to copy the Capacitor runtime bundle or not.
|
||||
*
|
||||
* If your app is not using a bundler, set this to `true`, then Capacitor
|
||||
* will create a `capacitor.js` file that you'll need to add as a script in
|
||||
* your `index.html` file.
|
||||
*
|
||||
* It's deprecated and will be removed in Capacitor 6
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @deprecated 5.0.0
|
||||
* @default false
|
||||
*/
|
||||
bundledWebRuntime?: boolean;
|
||||
/**
|
||||
* The build configuration (as defined by the native app) under which Capacitor
|
||||
* will send statements to the log system. This applies to log statements in
|
||||
|
|
@ -83,6 +69,13 @@ export interface CapacitorConfig {
|
|||
* @since 6.0.0
|
||||
*/
|
||||
zoomEnabled?: boolean;
|
||||
/**
|
||||
* Whether to give the webview initial focus.
|
||||
*
|
||||
* @since 7.0.0
|
||||
* @default true
|
||||
*/
|
||||
initialFocus?: boolean;
|
||||
android?: {
|
||||
/**
|
||||
* Specify a custom path to the native Android project.
|
||||
|
|
@ -186,6 +179,8 @@ export interface CapacitorConfig {
|
|||
/**
|
||||
* Whether to give the webview initial focus.
|
||||
*
|
||||
* Overrides global `initialFocus` option.
|
||||
*
|
||||
* @since 3.5.1
|
||||
* @default true
|
||||
*/
|
||||
|
|
@ -264,6 +259,24 @@ export interface CapacitorConfig {
|
|||
* @default false
|
||||
*/
|
||||
useLegacyBridge?: boolean;
|
||||
/**
|
||||
* Make service worker requests go through Capacitor bridge.
|
||||
* Set it to false to use your own handling.
|
||||
*
|
||||
* @since 7.0.0
|
||||
* @default true
|
||||
*/
|
||||
resolveServiceWorkerRequests?: boolean;
|
||||
/**
|
||||
* If set to "force", margins will be adjusted for edge to edge regardless of any other settings.
|
||||
* If set to "auto", or is missing, will check for Android 15 and the setting of [windowOptOutEdgeToEdgeEnforcement](https://developer.android.com/reference/android/R.attr#windowOptOutEdgeToEdgeEnforcement) and will adjust margins if on Android 15 and windowOptOutEdgeToEdgeEnforcement is false/missing.
|
||||
* If set to "disable", will not adjust margins at all.
|
||||
* In Capacitor 8, this default will be changed to 'auto'
|
||||
*
|
||||
* @since 7.1.0
|
||||
* @default disable
|
||||
*/
|
||||
adjustMarginsForEdgeToEdge?: 'auto' | 'force' | 'disable';
|
||||
};
|
||||
ios?: {
|
||||
/**
|
||||
|
|
@ -419,6 +432,43 @@ export interface CapacitorConfig {
|
|||
* @default false
|
||||
*/
|
||||
webContentsDebuggingEnabled?: boolean;
|
||||
/**
|
||||
* Whether to give the webview initial focus.
|
||||
*
|
||||
* Overrides global `initialFocus` option.
|
||||
*
|
||||
* @since 7.0.0
|
||||
* @default true
|
||||
*/
|
||||
initialFocus?: boolean;
|
||||
buildOptions?: {
|
||||
/**
|
||||
* The signing style to use when building the app for distribution.
|
||||
*
|
||||
* @since 7.1.0
|
||||
* @default 'automatic'
|
||||
*/
|
||||
signingStyle?: 'automatic' | 'manual';
|
||||
/**
|
||||
* The method used by xcodebuild to export the archive
|
||||
*
|
||||
* @since 7.1.0
|
||||
* @default 'app-store-connect'
|
||||
*/
|
||||
exportMethod?: string;
|
||||
/**
|
||||
* A certificate name, SHA-1 hash, or automatic selector to use for signing for iOS builds.
|
||||
*
|
||||
* @since 7.1.0
|
||||
*/
|
||||
signingCertificate?: string;
|
||||
/**
|
||||
* A provisioning profile name or UUID for iOS builds.
|
||||
*
|
||||
* @since 7.1.0
|
||||
*/
|
||||
provisioningProfile?: string;
|
||||
};
|
||||
};
|
||||
server?: {
|
||||
/**
|
||||
|
|
@ -504,6 +554,14 @@ export interface CapacitorConfig {
|
|||
* @default null
|
||||
*/
|
||||
errorPath?: string;
|
||||
/**
|
||||
* Append a path to the app URL.
|
||||
*
|
||||
* Allows loading from other paths than the default `/index.html`.
|
||||
* @since 7.3.0
|
||||
* @default null
|
||||
*/
|
||||
appStartPath?: string;
|
||||
};
|
||||
cordova?: {
|
||||
/**
|
||||
|
|
@ -524,15 +582,13 @@ export interface CapacitorConfig {
|
|||
[key: string]: string | undefined;
|
||||
};
|
||||
/**
|
||||
* List of Cordova plugins that need to be static but are not
|
||||
* already in the static plugin list.
|
||||
* Fail on cap update/sync if the CLI detects that a cordova plugin
|
||||
* has uninstalled dependencies.
|
||||
*
|
||||
* It's deprecated and will be removed in Capacitor 7
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @deprecated 6.1.1
|
||||
* @default false
|
||||
* @since 7.4.0
|
||||
*/
|
||||
staticPlugins?: string[];
|
||||
failOnUninstalledPlugins?: boolean;
|
||||
};
|
||||
/**
|
||||
* Configure plugins.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue