diff --git a/cli/src/cordova.ts b/cli/src/cordova.ts index 216e465cf..4e3026f9d 100644 --- a/cli/src/cordova.ts +++ b/cli/src/cordova.ts @@ -679,6 +679,9 @@ export function needsStaticPod(plugin: Plugin, config: Config): boolean { 'onesignal-cordova-plugin', ]; if (config.app.extConfig?.cordova?.staticPlugins) { + logger.warn( + 'cordova.staticPlugins is deprecated, make sure you are using latest version of the plugin', + ); pluginList = pluginList.concat( config.app.extConfig?.cordova?.staticPlugins, ); diff --git a/cli/src/declarations.ts b/cli/src/declarations.ts index 43954f56d..3f61213fc 100644 --- a/cli/src/declarations.ts +++ b/cli/src/declarations.ts @@ -580,7 +580,10 @@ export interface CapacitorConfig { * List of Cordova plugins that need to be static but are not * already in the static plugin list. * + * It's deprecated and will be removed in Capacitor 7 + * * @since 3.3.0 + * @deprecated 6.1.1 */ staticPlugins?: string[]; };