Type alias NotificationConfig

NotificationConfig: {
    contentText?: string;
    contentTitle?: string;
    notificationId?: number;
    smallIcon?: number | string;
}

Configuration to show notification by zendrive. This is android specific and will be ignored for ios.

Type declaration

  • Optional contentText?: string

    Content Text to be shown in notification, default nothing.

  • Optional contentTitle?: string

    Title to be shown in notification, default is application name.

  • Optional notificationId?: number

    Notification id with which this should shown, default is a unique value assigned by sdk

  • Optional smallIcon?: number | string

    Small icon to be shown in android notification value should be require('your-path-to-js-asset')