Skip to content

Commit

Permalink
feat(clevertap): support clevertap-cordova 2.6.0 (#4458)
Browse files Browse the repository at this point in the history
* feat(clevertap): add CleverTap plugin

* style(clevertap): cleanup stray lint error

* refactor

* feat(clevertap): update for latest CleverTap Cordova plugin

* chore: Update Repo from Ionic Native Repo

* fix: Code Changes for parity SDK-155

* fix: Indentation fixes for SDK-155

* fix: Code Repo fix while updating fork branch

* fix: Remove unnecessary adder .scripts Folder

* fix: Remove unwanted added folder .circleci

* fix: Remove unwanted added File .npmrc

* fix: Revert .Github Folder Changes to as per Ionic-Native master

* fix: Update changes as per ionic-native master

* fix: Code Repo fix while updating fork branch

fix: Remove unnecessary adder .scripts Folder

fix: Remove unwanted added folder .circleci

fix: Remove unwanted added File .npmrc

fix: Revert .Github Folder Changes to as per Ionic-Native master

fix: Update changes as per ionic-native master

* fix(CleverTap): Fix for missing methods issue #3491

* refactor(profile): remove setProfile methods for fb and google

* refactor(dynamic variables): remove Product A/B Testing (Dynamic Variables) code

* fix(product config): add key param to product config getters

* feat(identity): add a new public method getCleverTapID and deprecate existing CleverTapID methods

* feat(profile): add public methods to increment/decrement values set via User properties

* feat(profile): add public methods to increment/decrement values set via User properties

* feat(inapp): add public methods for suspending/discarding & resuming InApp Notifications

* feat(inbox): add new api for iOS to delete bulk inbox messages for given message ids

* refactor(xiaomi-push): add region as an extra mandatory parameter to setPushXiaomiToken

Co-authored-by: Peter Wilkniss <peter@clevertap.com>
Co-authored-by: Daniel Sogl <mytechde@outlook.com>
Co-authored-by: Darshan Pania <darshan@clevertap.com>
Co-authored-by: Surya <suryanarayan@clevertap.com>
Co-authored-by: SuryaClevertap <63039490+SuryaClevertap@users.noreply.github.com>
  • Loading branch information
6 people committed Dec 31, 2022
1 parent e32ac8c commit 74a80c0
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions src/@awesome-cordova-plugins/plugins/clevertap/index.ts
Expand Up @@ -121,13 +121,14 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* Sets the device's Xiaomi push token
*
* Sets the device's Xiaomi push token.
* clevertap-cordova 2.6.0 onwards method requires region as a mandatory parameter.
* @param token {string}
* @param region {string}
* @returns {Promise<any>}
*/
@Cordova()
setPushXiaomiToken(token: string): Promise<any> {
setPushXiaomiToken(token: string, region: string): Promise<any> {
return;
}

Expand Down Expand Up @@ -804,6 +805,17 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
return;
}

/**
* Call this method to delete bulk Inbox Messages for Given Message Ids
*
* @param messageIds {any} array of strings
* @returns {Promise<any>}
*/
@Cordova()
deleteInboxMessagesForIds(messageIds: any): Promise<any> {
return;
}

/**
* Call this to Mark Read Inbox Message For Id
*
Expand Down

0 comments on commit 74a80c0

Please sign in to comment.