From aed25a66423577a3532def99f0d6a8d4f8feee17 Mon Sep 17 00:00:00 2001 From: Darshan Pania Date: Thu, 14 Feb 2019 16:26:51 +0530 Subject: [PATCH] feat(clevertap): update for latest CleverTap Cordova plugin (#2931) * feat(clevertap): add CleverTap plugin * style(clevertap): cleanup stray lint error * refactor * feat(clevertap): update for latest CleverTap Cordova plugin --- src/@ionic-native/plugins/clevertap/index.ts | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/@ionic-native/plugins/clevertap/index.ts b/src/@ionic-native/plugins/clevertap/index.ts index 8cf61a681..ecf4a4ad4 100644 --- a/src/@ionic-native/plugins/clevertap/index.ts +++ b/src/@ionic-native/plugins/clevertap/index.ts @@ -577,6 +577,43 @@ export class CleverTap extends IonicNativePlugin { return; } + /**************************** + * Notification Inbox methods + ****************************/ + /** + * Call this method to initialize the App Inbox + */ + @Cordova() + initializeInbox(): Promise { + return; + } + + /** + * Call this method to get the count of unread Inbox messages + */ + @Cordova() + getInboxMessageUnreadCount(): Promise { + return; + } + + /** + * Call this method to get the count of total Inbox messages + */ + @Cordova() + getInboxMessageCount(): Promise { + return; + } + + /** + * Call this method to open the App Inbox + * @param styleConfig : any or empty object + */ + @Cordova() + showInbox(styleConfig: any): Promise { + return; + } + + /******************* * Developer Options ******************/