mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
chore: Update app-rate types (#3680)
This commit is contained in:
parent
21e8811ea9
commit
7736ca7747
@ -89,16 +89,6 @@ export interface AppRatePreferences {
|
|||||||
*/
|
*/
|
||||||
showPromptForInAppReview?: boolean;
|
showPromptForInAppReview?: boolean;
|
||||||
|
|
||||||
/**
|
|
||||||
* leave app or no when application page opened in app store (now supported only for iOS). Defaults to `false`
|
|
||||||
*/
|
|
||||||
inAppReview?: boolean;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* use custom view for rate dialog. Defaults to `false`
|
|
||||||
*/
|
|
||||||
useCustomRateDialog?: boolean;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom locale object
|
* Custom locale object
|
||||||
*/
|
*/
|
||||||
@ -158,7 +148,7 @@ export interface AppRateCustomLocale {
|
|||||||
export interface AppRateLocales {
|
export interface AppRateLocales {
|
||||||
addLocale(localeObject: AppRateCustomLocale): AppRateCustomLocale;
|
addLocale(localeObject: AppRateCustomLocale): AppRateCustomLocale;
|
||||||
|
|
||||||
getLocale(language: string, applicationTitle?: string, customLocale?: AppRateCustomLocale);
|
getLocale(language: string, applicationTitle?: string, customLocale?: AppRateCustomLocale): AppRateCustomLocale;
|
||||||
|
|
||||||
getLocalesNames(): { [prop: string]: AppRateCustomLocale };
|
getLocalesNames(): { [prop: string]: AppRateCustomLocale };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user