Skip to content

Commit

Permalink
Merge pull request #326 from CleverTap/develop
Browse files Browse the repository at this point in the history
Release v1.1.0
  • Loading branch information
shivamsharma2710 authored May 29, 2023
2 parents 87c1945 + e3a4918 commit 101c5e4
Show file tree
Hide file tree
Showing 28 changed files with 2,438 additions and 935 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
Change Log
==========

Version 1.1.0 *(29th May 2023)*
-------------------------------------------
**New Features**
- Adds support for **Remote Config Variables**. Please refer to the [Remote Config Variables doc](https://github.com/CleverTap/clevertap-react-native/blob/da2c3188fb5db6248f136e52f4b9e3372c26e78a/docs/Variables.md) 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](https://github.com/CleverTap/clevertap-react-native/blob/master/docs/callbackPayloadFormat.md) 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.

Version 1.0.3 *(3rd May 2023)*
-------------------------------------------
- Fixes a bug where notification clicked callbacks were not working for killed state in iOS.
Expand Down
Loading

0 comments on commit 101c5e4

Please sign in to comment.