diff --git a/docs/interfaces/ideployconfig.md b/docs/interfaces/ideployconfig.md index d2d17aa..066782f 100644 --- a/docs/interfaces/ideployconfig.md +++ b/docs/interfaces/ideployconfig.md @@ -14,7 +14,7 @@ The configuration for the deploy plugin on the device. * [appId](ideployconfig.md#appid) * [channel](ideployconfig.md#channel) -* [debug](ideployconfig.md#debug) +* [disabled](ideployconfig.md#disabled) * [host](ideployconfig.md#host) * [maxVersions](ideployconfig.md#maxversions) * [minBackgroundDuration](ideployconfig.md#minbackgroundduration) @@ -42,13 +42,13 @@ ___ The [channel](https://ionicframework.com/docs/pro/deploy/channels) that the plugin should listen for updates on. ___ - + -### `` debug +### `` disabled -**● debug**: *`undefined` \| `true` \| `false`* +**● disabled**: *`undefined` \| `true` \| `false`* -whether or not the app should in debug mode +Whether the user disabled deploy updates or not. ___ diff --git a/www/IonicCordova.ts b/www/IonicCordova.ts index de911ba..c9a87e4 100644 --- a/www/IonicCordova.ts +++ b/www/IonicCordova.ts @@ -154,9 +154,9 @@ export interface IDeployConfig { appId?: string; /** - * whether or not the app should in debug mode + * Whether the user disabled deploy updates or not. */ - debug?: boolean; + disabled?: boolean; /** * @ignore diff --git a/www/guards.ts b/www/guards.ts index ca5dcaa..fcddb15 100644 --- a/www/guards.ts +++ b/www/guards.ts @@ -12,7 +12,7 @@ export function isPluginConfig(o: object): o is IDeployConfig { return obj && (obj.appId === undefined || typeof obj.appId === 'string') && (obj.channel === undefined || typeof obj.channel === 'string') && - (obj.debug === undefined || typeof obj.debug === 'string') && + (obj.disabled === undefined || typeof obj.disabled === 'string') && (obj.updateMethod === undefined || typeof obj.updateMethod === 'string') && (obj.maxVersions === undefined || typeof obj.maxVersions === 'number') && (obj.minBackgroundDuration === undefined || typeof obj.minBackgroundDuration === 'number') &&