Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs/release v7.2.0 #725

Merged
merged 6 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## CHANGE LOG.

### January 6, 2025
* [CleverTap Android SDK v7.2.0](docs/CTCORECHANGELOG.md)

### December 24, 2024
* [CleverTap Android SDK v7.1.0](docs/CTCORECHANGELOG.md)

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ We publish the SDK to `mavenCentral` as an `AAR` file. Just declare it as depend

```groovy
dependencies {
implementation "com.clevertap.android:clevertap-android-sdk:7.1.0"
implementation "com.clevertap.android:clevertap-android-sdk:7.2.0"
}
```

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:

```groovy
dependencies {
implementation (name: "clevertap-android-sdk-7.1.0", ext: 'aar')
implementation (name: "clevertap-android-sdk-7.2.0", ext: 'aar')
}
```

Expand All @@ -46,9 +46,9 @@ Add the Firebase Messaging library and Android Support Library v4 as dependencie

```groovy
dependencies {
implementation "com.clevertap.android:clevertap-android-sdk:7.1.0"
implementation "androidx.core:core:1.9.0"
implementation "com.google.firebase:firebase-messaging:23.0.6"
implementation "com.clevertap.android:clevertap-android-sdk:7.2.0"
implementation "androidx.core:core:1.13.0"
implementation "com.google.firebase:firebase-messaging:24.0.0"
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).
}
```
Expand All @@ -70,8 +70,8 @@ Also be sure to include the `google-services.json` classpath in your Project lev

}
dependencies {
classpath "com.android.tools.build:gradle:8.7.0"
classpath "com.google.gms:google-services:4.4.0"
classpath "com.android.tools.build:gradle:8.6.0"
classpath "com.google.gms:google-services:4.4.2"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
10 changes: 10 additions & 0 deletions docs/CTCORECHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
## CleverTap Android SDK CHANGE LOG

### Version 7.2.0 (January 6, 2025)
> ⚠️ **NOTE**
After upgrading the SDK to v7.2.0, don't downgrade in subsequent app releases. If you encounter any issues, please contact the CleverTap support team for assistance.

#### New Features

* Adds support for Android 15, making it compliant with Android 15 requirements. Details [here](https://developer.android.com/about/versions/15/summary)
* Upgrades the algorithm used for [encryption of PII data](EXAMPLES.md#encryption-of-pii-data-), making it compliant with [OWASP](https://mas.owasp.org/MASTG/0x04g-Testing-Cryptography/).

### Version 7.1.0 (December 24, 2024)

#### New Features
Expand All @@ -11,6 +20,7 @@
* `getUserLastVisitTs()`: Get timestamp of user's last app visit
* `getUserAppLaunchCount()`: Get total number of times user has launched the app
* `getUserEventLogHistory()`: Get full event history for current user
* Adds support to hide large icon in android notification by sending wzrk_hide_large_icon key in notification payload.

#### API Changes

Expand Down
10 changes: 5 additions & 5 deletions docs/CTGEOFENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ CleverTap Android Geofence SDK provides **Geofencing capabilities** to CleverTap
Add the following dependencies to the `build.gradle`

```Groovy
implementation "com.clevertap.android:clevertap-geofence-sdk:1.3.0"
implementation "com.clevertap.android:clevertap-android-sdk:7.1.0" // 3.9.0 and above
implementation "com.google.android.gms:play-services-location:21.0.0"
implementation "androidx.work:work-runtime:2.7.1" // required for FETCH_LAST_LOCATION_PERIODIC
implementation "androidx.concurrent:concurrent-futures:1.1.0" // required for FETCH_LAST_LOCATION_PERIODIC
implementation "com.clevertap.android:clevertap-geofence-sdk:1.4.0"
implementation "com.clevertap.android:clevertap-android-sdk:7.2.0" // 3.9.0 and above
implementation "com.google.android.gms:play-services-location:21.3.0"
implementation "androidx.work:work-runtime:2.9.1" // required for FETCH_LAST_LOCATION_PERIODIC
implementation "androidx.concurrent:concurrent-futures:1.2.0" // required for FETCH_LAST_LOCATION_PERIODIC
```
## 🔒 Permissions
[(Back to top)](#-table-of-contents)
Expand Down
3 changes: 3 additions & 0 deletions docs/CTGEOFENCECHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## CleverTap Geofence SDK CHANGE LOG

### Version 1.4.0 (January 6, 2025)
* Adds support for Android 15, making it compliant with Android 15 requirements. Details [here](https://developer.android.com/about/versions/15/summary)

### Version 1.3.0 (February 21, 2024)
* Supports Android 14, made it compliant with Android 14 requirements. Details [here](https://developer.android.com/about/versions/14/summary)
* Upgrades AGP to 8.2.2 for building the SDK and adds related consumer proguard rules
Expand Down
4 changes: 2 additions & 2 deletions docs/CTHUAWEIPUSH.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ buildscript {
}
dependencies {
// FOR HUAWEI ADD THIS
classpath "com.huawei.agconnect:agcp:1.9.1.300"
classpath "com.huawei.agconnect:agcp:1.9.1.301"
}
}

Expand All @@ -52,7 +52,7 @@ allprojects {
* Add the following to your app’s `build.gradle` file

```groovy
implementation "com.clevertap.android:clevertap-hms-sdk:1.3.4"
implementation "com.clevertap.android:clevertap-hms-sdk:1.4.0"
implementation "com.huawei.hms:push:6.11.0.300"

//At the bottom of the file add this
Expand Down
3 changes: 3 additions & 0 deletions docs/CTHUAWEIPUSHCHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## CleverTap Huawei Push SDK CHANGE LOG

### Version 1.4.0 (January 6, 2025)
* Adds support for Android 15, making it compliant with Android 15 requirements. Details [here](https://developer.android.com/about/versions/15/summary)

### Version 1.3.4 (February 21, 2024)
* Supports Android 14, made it compliant with Android 14 requirements. Details [here](https://developer.android.com/about/versions/14/summary)
* Upgrades AGP to 8.2.2 for building the SDK and adds related consumer proguard rules
Expand Down
4 changes: 2 additions & 2 deletions docs/CTPUSHTEMPLATES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ CleverTap Push Templates SDK helps you engage with your users using fancy push n
1. Add the dependencies to the `build.gradle`

```groovy
implementation "com.clevertap.android:push-templates:1.2.4"
implementation "com.clevertap.android:clevertap-android-sdk:7.1.0" // 4.4.0 and above
implementation "com.clevertap.android:push-templates:1.3.0"
implementation "com.clevertap.android:clevertap-android-sdk:7.2.0" // 4.4.0 and above
```

2. Add the following line to your Application class before the `onCreate()`
Expand Down
5 changes: 5 additions & 0 deletions docs/CTPUSHTEMPLATESCHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## CleverTap Push Templates SDK CHANGE LOG

### Version 1.3.0 (January 6, 2025)

#### New features
* Adds support for Android 15, making it compliant with Android 15 requirements. Details [here](https://developer.android.com/about/versions/15/summary)

### Version 1.2.4 (August 5, 2024)

#### New features
Expand Down
12 changes: 6 additions & 6 deletions docs/EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ CleverTapAPI.changeCredentials(
Add the following dependencies in your app's `build.gradle`

```groovy
implementation "androidx.appcompat:appcompat:1.6.0-rc01"//MANDATORY for App Inbox
implementation "androidx.recyclerview:recyclerview:1.2.1"//MANDATORY for App Inbox
implementation "androidx.appcompat:appcompat:1.7.0"//MANDATORY for App Inbox
implementation "androidx.recyclerview:recyclerview:1.3.2"//MANDATORY for App Inbox
implementation "androidx.viewpager:viewpager:1.0.0"//MANDATORY for App Inbox
implementation "com.google.android.material:material:1.4.0"//MANDATORY for App Inbox
implementation "com.google.android.material:material:1.12.0"//MANDATORY for App Inbox
implementation "com.github.bumptech.glide:glide:4.12.0"//MANDATORY for App Inbox

//Optional ExoPlayer Libraries for Audio/Video Inbox Messages. Audio/Video messages will be dropped without these dependencies
Expand All @@ -219,9 +219,9 @@ Clevertap supports `AndroidX Media3` from `v7.0.0+` to replace the deprecated `E

| Old Dependency | New Dependency |
|-----------------------:|:--------------------|
| `com.google.android.exoplayer:exoplayer:2.19.1` | `androidx.media3:media3-exoplayer:1.1.1` |
| `com.google.android.exoplayer:exoplayer-hls:2.19.1` | `androidx.media3:media3-exoplayer-hls:1.1.1` |
| `com.google.android.exoplayer:exoplayer-ui:2.19.1` | `androidx.media3:media3-ui:1.1.1` |
| `com.google.android.exoplayer:exoplayer:2.19.1` | `androidx.media3:media3-exoplayer:1.4.0` |
| `com.google.android.exoplayer:exoplayer-hls:2.19.1` | `androidx.media3:media3-exoplayer-hls:1.4.0` |
| `com.google.android.exoplayer:exoplayer-ui:2.19.1` | `androidx.media3:media3-ui:1.4.0` |

#### Initializing the Inbox

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ coroutines_test = "1.7.3"
installreferrer = "2.2"

#SDK Versions
clevertap_android_sdk = "7.1.0"
clevertap_android_sdk = "7.2.0"
clevertap_rendermax_sdk = "1.0.3"
clevertap_geofence_sdk = "1.4.0"
clevertap_hms_sdk = "1.4.0"
Expand Down
8 changes: 4 additions & 4 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ android {
applicationId "com.clevertap.demo"
minSdkVersion 21
targetSdkVersion 35
versionCode 7000010
versionName "7.1.0"
versionCode 7000020
versionName "7.2.0"
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
Expand Down Expand Up @@ -159,12 +159,12 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72"
implementation "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.1.1"*/

remoteImplementation("com.clevertap.android:clevertap-android-sdk:7.1.0")
remoteImplementation("com.clevertap.android:clevertap-android-sdk:7.2.0")
remoteImplementation("com.clevertap.android:clevertap-geofence-sdk:1.3.0")
remoteImplementation("com.clevertap.android:push-templates:1.2.4")
remoteImplementation("com.clevertap.android:clevertap-hms-sdk:1.3.4")

stagingImplementation("com.clevertap.android:clevertap-android-sdk:7.1.0")
stagingImplementation("com.clevertap.android:clevertap-android-sdk:7.2.0")
stagingImplementation("com.clevertap.android:clevertap-geofence-sdk:1.3.0")
stagingImplementation("com.clevertap.android:push-templates:1.2.4")
stagingImplementation("com.clevertap.android:clevertap-hms-sdk:1.3.4")
Expand Down
9 changes: 9 additions & 0 deletions templates/CTCORECHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
## CleverTap Android SDK CHANGE LOG

### Version 7.2.0 (January 6, 2025)
> ⚠️ **NOTE**
After upgrading the SDK to v7.2.0, don't downgrade in subsequent app releases. If you encounter any issues, please contact the CleverTap support team for assistance.

#### New Features

* Adds support for Android 15, making it compliant with Android 15 requirements. Details [here](https://developer.android.com/about/versions/15/summary)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also mention minSDK level bump

* Upgrades the algorithm used for [encryption of PII data](EXAMPLES.md#encryption-of-pii-data-), making it compliant with [OWASP](https://mas.owasp.org/MASTG/0x04g-Testing-Cryptography/).

### Version 7.1.0 (December 24, 2024)

#### New Features
Expand Down
3 changes: 3 additions & 0 deletions templates/CTGEOFENCECHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## CleverTap Geofence SDK CHANGE LOG

### Version 1.4.0 (January 6, 2025)
* Adds support for Android 15, making it compliant with Android 15 requirements. Details [here](https://developer.android.com/about/versions/15/summary)

### Version 1.3.0 (February 21, 2024)
* Supports Android 14, made it compliant with Android 14 requirements. Details [here](https://developer.android.com/about/versions/14/summary)
* Upgrades AGP to 8.2.2 for building the SDK and adds related consumer proguard rules
Expand Down
3 changes: 3 additions & 0 deletions templates/CTHUAWEIPUSHCHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## CleverTap Huawei Push SDK CHANGE LOG

### Version 1.4.0 (January 6, 2025)
* Adds support for Android 15, making it compliant with Android 15 requirements. Details [here](https://developer.android.com/about/versions/15/summary)

### Version 1.3.4 (February 21, 2024)
* Supports Android 14, made it compliant with Android 14 requirements. Details [here](https://developer.android.com/about/versions/14/summary)
* Upgrades AGP to 8.2.2 for building the SDK and adds related consumer proguard rules
Expand Down
5 changes: 5 additions & 0 deletions templates/CTPUSHTEMPLATESCHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## CleverTap Push Templates SDK CHANGE LOG

### Version 1.3.0 (January 6, 2025)

#### New features
* Adds support for Android 15, making it compliant with Android 15 requirements. Details [here](https://developer.android.com/about/versions/15/summary)

### Version 1.2.4 (August 5, 2024)

#### New features
Expand Down