Skip to content

Commit

Permalink
Merge pull request #363 from CleverTap/develop
Browse files Browse the repository at this point in the history
Release v1.2.1
  • Loading branch information
kushCT authored Oct 25, 2023
2 parents 15db9af + f232b4b commit 7c7af62
Show file tree
Hide file tree
Showing 12 changed files with 121 additions and 22,986 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@
Change Log
==========

Version 1.2.1 *(25 October 2023)*
-------------------------------------------
**What's new**
* **[Android Platform]**
* Supports [CleverTap Android SDK v5.2.1](https://github.com/CleverTap/clevertap-android-sdk/blob/master/docs/CTCORECHANGELOG.md#version-521-october-12-2023).
* Adds Custom Proxy Domain functionality for Push Impressions and Events raised from CleverTap Android SDK. Please refer to [Usage.md](docs/Usage.md#integrate-custom-proxy-domain) file to read more on how to configure custom proxy domains in Android.

* **[iOS Platform]**
* Supports [CleverTap iOS SDK v5.2.1](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/5.2.1).
* Adds support to enable `NSFileProtectionComplete` to secure App’s document directory.

* **[Android and iOS Platform]**
* Adds in-built support to send the default locale(i.e.language and country) data to the dashboard and exposed public API `CleverTapPlugin.setLocale(Locale locale)` to set the custom locale, for LP Parity.
* Adds support for Integration Debugger to view errors and events on the dashboard when the debugLevel is set to 3 using `CleverTapPlugin.setDebugLevel(3)`.
* Adds support to configure first tab title in App Inbox.

**Changes**
* **[iOS Platform]**
* Updated logic to retrieve country code using NSLocale above iOS 16 as `CTCarrier` is deprecated above iOS 16 with no replacements, see [Apple Doc](https://developer.apple.com/documentation/coretelephony/ctcarrier).
* Updated logic to not send carrier name above iOS 16 in CTCarrier field.

**Bug Fixes**
* **[iOS Platform]**
* Fixes a crash in iOS 17/Xcode 15 related to alert inapps.

Version 1.2.0 *(18th August 2023)*
-------------------------------------------

Expand Down
16 changes: 15 additions & 1 deletion Example/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ class Expandable_ListView extends Component {
case 10:
set_userLocation();
break;
case 303:
set_Locale();
break;
case 11:
CleverTap.initializeInbox();
break;
Expand Down Expand Up @@ -628,7 +631,10 @@ export default class App extends Component {
{
expanded: false,
category_Name: 'Location ',
sub_Category: [{id: 10, name: 'setLocation'}],
sub_Category: [
{id: 10, name: 'setLocation'},
{id: 303, name: 'setLocale'},
],
},

{
Expand Down Expand Up @@ -936,6 +942,13 @@ set_userLocation = () => {

CleverTap.setLocation(34.15, -118.2);
};

// Location
set_Locale = () => {
alert('User Locale set');

CleverTap.setLocale("en_IN");
};
///Events

pushevent = () => {
Expand Down Expand Up @@ -996,6 +1009,7 @@ show_appInboxwithTabs = () => {
selectedTabIndicatorColor: '#000000',
noMessageText: 'No message(s)',
noMessageTextColor: '#FF0000',
firstTabTitle:"First Tab",
});
};

Expand Down
2 changes: 1 addition & 1 deletion Example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ dependencies {


//clevertap
implementation 'com.clevertap.android:clevertap-android-sdk:5.2.0'
implementation 'com.clevertap.android:clevertap-android-sdk:5.2.1'
implementation "com.clevertap.android:push-templates:1.0.9"
implementation project(':clevertap-react-native')

Expand Down
Loading

0 comments on commit 7c7af62

Please sign in to comment.