mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
fix(mobile-messaging): revision of optional parameters (#3667)
This commit is contained in:
parent
4f13426a6d
commit
944d25147f
@ -35,14 +35,14 @@ export interface Configuration {
|
|||||||
messageStorage?: string;
|
messageStorage?: string;
|
||||||
defaultMessageStorage?: boolean;
|
defaultMessageStorage?: boolean;
|
||||||
ios?: {
|
ios?: {
|
||||||
notificationTypes?: string[];
|
notificationTypes?: string[]; // ['alert', 'badge', 'sound']
|
||||||
forceCleanup?: boolean;
|
forceCleanup?: boolean;
|
||||||
logging?: boolean;
|
logging?: boolean;
|
||||||
};
|
};
|
||||||
android?: {
|
android?: {
|
||||||
notificationIcon: string; // a resource name for a status bar icon (without extension), located in '/platforms/android/app/src/main/res/mipmap'
|
notificationIcon?: string; // a resource name for a status bar icon (without extension), located in '/platforms/android/app/src/main/res/mipmap'
|
||||||
multipleNotifications: boolean;
|
multipleNotifications?: boolean; // set to 'true' to enable multiple notifications
|
||||||
notificationAccentColor: string;
|
notificationAccentColor?: string; // set to hex color value in format '#RRGGBB' or '#AARRGGBB'
|
||||||
};
|
};
|
||||||
privacySettings?: {
|
privacySettings?: {
|
||||||
applicationCodePersistingDisabled?: boolean;
|
applicationCodePersistingDisabled?: boolean;
|
||||||
@ -91,7 +91,7 @@ export interface Installation {
|
|||||||
sdkVersion?: string;
|
sdkVersion?: string;
|
||||||
appVersion?: string;
|
appVersion?: string;
|
||||||
os?: OS;
|
os?: OS;
|
||||||
osVersion: string;
|
osVersion?: string;
|
||||||
deviceManufacturer?: string;
|
deviceManufacturer?: string;
|
||||||
deviceModel?: string;
|
deviceModel?: string;
|
||||||
deviceSecure?: boolean;
|
deviceSecure?: boolean;
|
||||||
@ -102,10 +102,13 @@ export interface Installation {
|
|||||||
customAttributes?: Record<string, string | number | boolean>;
|
customAttributes?: Record<string, string | number | boolean>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User's unique ID. One UserIdentity parameter must be provided if used.
|
||||||
|
*/
|
||||||
export interface UserIdentity {
|
export interface UserIdentity {
|
||||||
phones?: string[];
|
phones?: string[];
|
||||||
emails?: string[];
|
emails?: string[];
|
||||||
externalUserId: string;
|
externalUserId?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PersonalizeContext {
|
export interface PersonalizeContext {
|
||||||
|
Loading…
Reference in New Issue
Block a user