clevertap-react-native 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/android/build.gradle +3 -3
- package/docs/install.md +1 -1
- package/index.d.ts +17 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
==========
|
|
3
3
|
|
|
4
|
+
Version 0.9.3 *(1 November 2022)*
|
|
5
|
+
-------------------------------------------
|
|
6
|
+
- Supports CleverTap Android Core SDK [v4.6.6](https://github.com/CleverTap/clevertap-android-sdk/blob/master/docs/CTCORECHANGELOG.md) and associated enhancements
|
|
7
|
+
|
|
8
|
+
|
|
4
9
|
Version 0.9.2 *(7 October 2022)*
|
|
5
10
|
-------------------------------------------
|
|
6
11
|
- 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
|
package/android/build.gradle
CHANGED
|
@@ -21,8 +21,8 @@ android {
|
|
|
21
21
|
defaultConfig {
|
|
22
22
|
minSdkVersion 16
|
|
23
23
|
targetSdkVersion 31
|
|
24
|
-
versionCode
|
|
25
|
-
versionName "0.9.
|
|
24
|
+
versionCode 93
|
|
25
|
+
versionName "0.9.3"
|
|
26
26
|
}
|
|
27
27
|
buildTypes {
|
|
28
28
|
release {
|
|
@@ -39,7 +39,7 @@ dependencies {
|
|
|
39
39
|
maven { url "$rootDir/../node_modules/react-native/android" }
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
api 'com.clevertap.android:clevertap-android-sdk:4.6.
|
|
42
|
+
api 'com.clevertap.android:clevertap-android-sdk:4.6.6'
|
|
43
43
|
implementation 'com.android.installreferrer:installreferrer:2.2'
|
|
44
44
|
//compile 'com.android.support:appcompat-v7:28.0.0'
|
|
45
45
|
implementation 'com.facebook.react:react-native:+'
|
package/docs/install.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -276,25 +276,29 @@
|
|
|
276
276
|
export function profileGetProperty(propertyName: string, callback: Callback): void;
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
|
-
*
|
|
279
|
+
* @deprecated
|
|
280
|
+
* Since version 0.6.0. Use `getCleverTapID(callback)` instead.
|
|
281
|
+
*
|
|
280
282
|
* Get a unique CleverTap identifier suitable for use with install attribution providers.
|
|
281
|
-
*
|
|
283
|
+
* @param {function(err, res)} callback that returns a string res
|
|
282
284
|
*/
|
|
283
|
-
export function profileGetCleverTapAttributionIdentifier(callback:
|
|
285
|
+
export function profileGetCleverTapAttributionIdentifier(callback: CallbackString): void;
|
|
284
286
|
|
|
285
287
|
/**
|
|
286
|
-
*
|
|
288
|
+
* @deprecated
|
|
289
|
+
* Since version 0.6.0. Use `getCleverTapID(callback)` instead.
|
|
290
|
+
*
|
|
287
291
|
* Get User Profile CleverTapID
|
|
288
|
-
*
|
|
292
|
+
* @param {function(err, res)} callback that returns a string res
|
|
289
293
|
*/
|
|
290
|
-
export function profileGetCleverTapID(callback:
|
|
294
|
+
export function profileGetCleverTapID(callback: CallbackString): void;
|
|
291
295
|
|
|
292
296
|
/**
|
|
293
297
|
* Returns a unique identifier through callback by which CleverTap identifies this user
|
|
294
298
|
*
|
|
295
299
|
* @param {function(err, res)} non-null callback to retrieve identifier
|
|
296
300
|
*/
|
|
297
|
-
export function getCleverTapID(callback:
|
|
301
|
+
export function getCleverTapID(callback: CallbackString): void;
|
|
298
302
|
|
|
299
303
|
/**
|
|
300
304
|
* Remove the property specified by key from the user profile. Alternatively this method
|
|
@@ -616,3 +620,9 @@
|
|
|
616
620
|
export function setDebugLevel(level: number): void;
|
|
617
621
|
|
|
618
622
|
type Callback = (err: object, res: object) => void;
|
|
623
|
+
type CallbackString = (err: object, res: string) => void;
|
|
624
|
+
|
|
625
|
+
export const FCM : string;
|
|
626
|
+
export const XPS : string;
|
|
627
|
+
export const BPS : string;
|
|
628
|
+
export const HPS : string;
|