Skip to content

Commit b263672

Browse files
authored
Merge pull request #876 from CleverTap/develop
Release Core 7.5.1
2 parents 96034fc + a5c1555 commit b263672

File tree

10 files changed

+29
-10
lines changed

10 files changed

+29
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
## CHANGE LOG.
2+
### August 28, 2025
3+
* [CleverTap Android SDK v7.5.1](docs/CTCORECHANGELOG.md)
4+
25
### July 11, 2025
36
* [CleverTap Android SDK v7.5.0](docs/CTCORECHANGELOG.md)
47

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ We publish the SDK to `mavenCentral` as an `AAR` file. Just declare it as depend
2626

2727
```groovy
2828
dependencies {
29-
implementation "com.clevertap.android:clevertap-android-sdk:7.5.0"
29+
implementation "com.clevertap.android:clevertap-android-sdk:7.5.1"
3030
}
3131
```
3232

3333
Alternatively, you can download and add the AAR file included in this repo in your Module libs directory and tell gradle to install it like this:
3434

3535
```groovy
3636
dependencies {
37-
implementation (name: "clevertap-android-sdk-7.5.0", ext: 'aar')
37+
implementation (name: "clevertap-android-sdk-7.5.1", ext: 'aar')
3838
}
3939
```
4040

@@ -46,7 +46,7 @@ Add the Firebase Messaging library and Android Support Library v4 as dependencie
4646

4747
```groovy
4848
dependencies {
49-
implementation "com.clevertap.android:clevertap-android-sdk:7.5.0"
49+
implementation "com.clevertap.android:clevertap-android-sdk:7.5.1"
5050
implementation "androidx.core:core:1.13.0"
5151
implementation "com.google.firebase:firebase-messaging:24.0.0"
5252
implementation "com.google.android.gms:play-services-ads:23.6.0" // Required only if you enable Google ADID collection in the SDK (turned off by default).

clevertap-core/src/main/java/com/clevertap/android/sdk/cryption/AESCrypt.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ class AESCrypt(accountID: String) : Crypt() {
7373
bytes[i] = byteStrings[i].toByte()
7474
}
7575
bytes
76+
} catch (oom: OutOfMemoryError) {
77+
Logger.v("Unable to parse cipher text", oom)
78+
null
7679
} catch (e: Exception) {
7780
Logger.v("Unable to parse cipher text", e)
7881
null

clevertap-core/src/main/java/com/clevertap/android/sdk/cryption/AESGCMCrypt.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ internal class AESGCMCrypt(
6767
val iv = parts[0].fromBase64()
6868
val encryptedBytes = parts[1].fromBase64()
6969
AESGCMCryptResult(iv, encryptedBytes)
70+
} catch (oom: OutOfMemoryError) {
71+
Logger.v("Unable to parse cipher text", oom)
72+
null
7073
} catch (e: Exception) {
7174
Logger.v("Error parsing cipherText", e)
7275
null

docs/CTCORECHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
## CleverTap Android SDK CHANGE LOG
2+
### Version 7.5.1 (August 28, 2025)
3+
4+
#### Bug Fixes
5+
* Fixes an `OutOfMemoryError` that occurred when parsing large encrypted cipher text in `AESCrypt.parseCipherText()`. The issue was caused by using `Regex.split()` on large byte array string representations, which created excessive memory allocations. The data is recovered through apis eventually.
6+
27
### Version 7.5.0 (July 11, 2025)
38

49
#### New Features

docs/CTGEOFENCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Add the following dependencies to the `build.gradle`
1717

1818
```Groovy
1919
implementation "com.clevertap.android:clevertap-geofence-sdk:1.4.0"
20-
implementation "com.clevertap.android:clevertap-android-sdk:7.5.0" // 3.9.0 and above
20+
implementation "com.clevertap.android:clevertap-android-sdk:7.5.1" // 3.9.0 and above
2121
implementation "com.google.android.gms:play-services-location:21.3.0"
2222
implementation "androidx.work:work-runtime:2.10.2" // required for FETCH_LAST_LOCATION_PERIODIC
2323
implementation "androidx.concurrent:concurrent-futures:1.2.0" // required for FETCH_LAST_LOCATION_PERIODIC

docs/CTPUSHTEMPLATES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ CleverTap Push Templates SDK helps you engage with your users using fancy push n
2121

2222
```groovy
2323
implementation "com.clevertap.android:push-templates:2.1.0"
24-
implementation "com.clevertap.android:clevertap-android-sdk:7.5.0" // 4.4.0 and above
24+
implementation "com.clevertap.android:clevertap-android-sdk:7.5.1" // 4.4.0 and above
2525
```
2626

2727
2. Add the following line to your Application class before the `onCreate()`

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ hamcrest = "3.0"
4545
installreferrer = "2.2"
4646

4747
#SDK Versions
48-
clevertap_android_sdk = "7.5.0"
48+
clevertap_android_sdk = "7.5.1"
4949
clevertap_rendermax_sdk = "1.0.3"
5050
clevertap_geofence_sdk = "1.4.0"
5151
clevertap_hms_sdk = "1.5.0"

sample/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ android {
2121
applicationId "com.clevertap.demo"
2222
minSdkVersion 21
2323
targetSdkVersion 35
24-
versionCode 7050000
25-
versionName "7.5.0"
24+
versionCode 7050100
25+
versionName "7.5.1"
2626
multiDexEnabled true
2727
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
2828
}
@@ -172,12 +172,12 @@ dependencies {
172172
implementation "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72"
173173
implementation "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.1.1"*/
174174

175-
remoteImplementation("com.clevertap.android:clevertap-android-sdk:7.5.0")
175+
remoteImplementation("com.clevertap.android:clevertap-android-sdk:7.5.1")
176176
remoteImplementation("com.clevertap.android:clevertap-geofence-sdk:1.4.0")
177177
remoteImplementation("com.clevertap.android:push-templates:2.1.0")
178178
remoteImplementation("com.clevertap.android:clevertap-hms-sdk:1.5.0")
179179

180-
stagingImplementation("com.clevertap.android:clevertap-android-sdk:7.5.0")
180+
stagingImplementation("com.clevertap.android:clevertap-android-sdk:7.5.1")
181181
stagingImplementation("com.clevertap.android:clevertap-geofence-sdk:1.4.0")
182182
stagingImplementation("com.clevertap.android:push-templates:2.1.0")
183183
stagingImplementation("com.clevertap.android:clevertap-hms-sdk:1.5.0")

templates/CTCORECHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
## CleverTap Android SDK CHANGE LOG
2+
### Version 7.5.1 (August 28, 2025)
3+
4+
#### Bug Fixes
5+
* Fixes an `OutOfMemoryError` that occurred when parsing large encrypted cipher text in `AESCrypt.parseCipherText()`. The issue was caused by using `Regex.split()` on large byte array string representations, which created excessive memory allocations. The data is recovered through apis eventually.
6+
27
### Version 7.5.0 (July 11, 2025)
38

49
#### New Features

0 commit comments

Comments
 (0)