Skip to content

1.1.0

Compare
Choose a tag to compare
@shivamsharma2710 shivamsharma2710 released this 29 May 11:31
· 108 commits to master since this release
101c5e4

New Features

  • Adds support for Remote Config Variables. Please refer to the Remote Config Variables doc to read more on how to integrate this to your app.
  • Adds new API dismissInbox() to dismiss the App Inbox screen.
  • Adds new APIs, markReadInboxMessagesForIDs(Array) and deleteInboxMessagesForIDs(Array) to mark read and delete an array of Inbox Messages respectively.

API Changes

Deprecated: The following methods and classes related to Product Config and Feature Flags have been marked as deprecated in this release, instead use new Remote Config Variables feature. These methods and classes will be removed in the future versions with prior notice.

  • Product config

    • setDefaultsMap
    • fetch
    • activate
    • fetchAndActivate
    • setMinimumFetchIntervalInSeconds
    • resetProductConfig
    • getProductConfigString
    • getProductConfigBoolean
    • getNumber
    • getLastFetchTimeStampInMillis
  • Feature flags

    • getFeatureFlag

Breaking Change

  • Streamlines the payload for various callbacks across Android and iOS platform. Refer doc for detailed changes.

Changes

  • [Android and iOS platforms]: Adds contentPageIndex and buttonIndex arguments to the payload sent via CleverTap.CleverTapInboxMessageTapped listener: The contentPageIndex indicates the page index of the content, which ranges from 0 to the total number of pages for carousel templates. For non-carousel templates, the value is always 0, as they only have one page of content. The buttonIndex represents the index of the App Inbox button clicked (0, 1, or 2). A value of -1 in buttonIndex indicates the App Inbox item is clicked.
  • [Android Platform] Behavioral change of CleverTap.CleverTapInboxMessageTapped listener: Previously, the callback was raised when the App Inbox item is clicked. Now, it is also raised when the App Inbox button is clicked. It matches the behavior in iOS platform.

Bug Fixes

  • Fixes a bug where App Inbox was not respecting the App Inbox background color when no tabs are provided.
  • Fixes the non-EU retry mechanism bug.