Skip to content

Commit

Permalink
Merge pull request #276 from CleverTap/develop
Browse files Browse the repository at this point in the history
Release 0.9.3
  • Loading branch information
root-ansh-ct authored Nov 1, 2022
2 parents ba58b78 + 54770d0 commit 3a32869
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 15 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Change Log
==========

Version 0.9.3 *(1 November 2022)*
-------------------------------------------
- Supports CleverTap Android Core SDK [v4.6.6](https://github.com/CleverTap/clevertap-android-sdk/blob/master/docs/CTCORECHANGELOG.md) and associated enhancements


Version 0.9.2 *(7 October 2022)*
-------------------------------------------
- Supports [CleverTap iOS SDK v4.1.2](https://github.com/CleverTap/clevertap-ios-sdk/blob/master/CHANGELOG.md#version-412-september-16-2022) and associated enhancements
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 @@ -216,7 +216,7 @@ dependencies {


//clevertap
implementation 'com.clevertap.android:clevertap-android-sdk:4.6.3'
implementation 'com.clevertap.android:clevertap-android-sdk:4.6.6'
implementation "com.clevertap.android:push-templates:1.0.5"
implementation project(':clevertap-react-native')

Expand Down
5 changes: 3 additions & 2 deletions Example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint ."
"lint": "eslint .",
"install": "npm install --f"
},
"dependencies": {
"@react-navigation/drawer": "^5.12.5",
"@react-navigation/native": "^6.0.6",
"@react-navigation/native-stack": "^6.2.5",
"clevertap-react-native": "git+https://github.com/CleverTap/clevertap-react-native#task/SDK-2207-ios-4.1.2",
"clevertap-react-native": "0.9.2",
"react": "17.0.1",
"react-native": "0.64.1",
"react-native-drawer": "^2.5.1",
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 31
versionCode 92
versionName "0.9.2"
versionCode 93
versionName "0.9.3"
}
buildTypes {
release {
Expand All @@ -39,7 +39,7 @@ dependencies {
maven { url "$rootDir/../node_modules/react-native/android" }
}

api 'com.clevertap.android:clevertap-android-sdk:4.6.3'
api 'com.clevertap.android:clevertap-android-sdk:4.6.6'
implementation 'com.android.installreferrer:installreferrer:2.2'
//compile 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.facebook.react:react-native:+'
Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ dependencies {
//clevertap
implementation 'com.clevertap.android:clevertap-android-sdk:4.6.3'
implementation 'com.clevertap.android:clevertap-android-sdk:4.6.6'
// other libs
Expand Down
24 changes: 17 additions & 7 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,25 +276,29 @@
export function profileGetProperty(propertyName: string, callback: Callback): void;

/**
* Deprecated - Since version 0.6.0. Use getCleverTapID(callback) instead
* @deprecated
* Since version 0.6.0. Use `getCleverTapID(callback)` instead.
*
* Get a unique CleverTap identifier suitable for use with install attribution providers.
* calls back with unique CleverTap attribution identifier
* @param {function(err, res)} callback that returns a string res
*/
export function profileGetCleverTapAttributionIdentifier(callback: Callback): void;
export function profileGetCleverTapAttributionIdentifier(callback: CallbackString): void;

/**
* Deprecated - Since version 0.6.0. Use getCleverTapID(callback) instead
* @deprecated
* Since version 0.6.0. Use `getCleverTapID(callback)` instead.
*
* Get User Profile CleverTapID
* calls back with CleverTapID or false
* @param {function(err, res)} callback that returns a string res
*/
export function profileGetCleverTapID(callback: Callback): void;
export function profileGetCleverTapID(callback: CallbackString): void;

/**
* Returns a unique identifier through callback by which CleverTap identifies this user
*
* @param {function(err, res)} non-null callback to retrieve identifier
*/
export function getCleverTapID(callback: Callback): void;
export function getCleverTapID(callback: CallbackString): void;

/**
* Remove the property specified by key from the user profile. Alternatively this method
Expand Down Expand Up @@ -616,3 +620,9 @@
export function setDebugLevel(level: number): void;

type Callback = (err: object, res: object) => void;
type CallbackString = (err: object, res: string) => void;

export const FCM : string;
export const XPS : string;
export const BPS : string;
export const HPS : string;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clevertap-react-native",
"version": "0.9.2",
"version": "0.9.3",
"description": "CleverTap React Native SDK.",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 3a32869

Please sign in to comment.