diff --git a/src/@ionic-native/plugins/app-rate/index.ts b/src/@ionic-native/plugins/app-rate/index.ts index 2838c2d0..2a80ac03 100644 --- a/src/@ionic-native/plugins/app-rate/index.ts +++ b/src/@ionic-native/plugins/app-rate/index.ts @@ -214,23 +214,25 @@ export interface AppUrls { * * ... * // set certain preferences - * this.appRate.preferences.storeAppURL = { - * ios: '', - * android: 'market://details?id=', - * windows: 'ms-windows-store://review/?ProductId=' - * } + * this.appRate.setPreferences({ + * storeAppURL: { + * ios: '', + * android: 'market://details?id=', + * windows: 'ms-windows-store://review/?ProductId=' + * } + * }); * * this.appRate.promptForRating(true); * * // or, override the whole preferences object - * this.appRate.preferences = { + * this.appRate.setPreferences({ * usesUntilPrompt: 3, * storeAppURL: { * ios: '', * android: 'market://details?id=', * windows: 'ms-windows-store://review/?ProductId=' * } - * } + * }); * * this.appRate.promptForRating(false); * ``` @@ -251,13 +253,6 @@ export interface AppUrls { }) @Injectable() export class AppRate extends IonicNativePlugin { - /** - * Configure various settings for the Rating View. - * See table below for options - */ - @CordovaProperty() - preferences: AppRatePreferences; - /** * Manager custom locales */