@usercentrics/react-native-sdk 2.8.2 → 2.8.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
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
[Release Notes](https://docs.usercentrics.com/cmp_in_app_sdk/latest/about/history/)
|
|
2
2
|
|
|
3
|
+
### 2.8.3 - September 4, 2023
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
* [Unity]
|
|
8
|
+
* :warning: Breaking change :warning: New App Tracking Transparency Framework (ATT) API, check out the new documentation on how to support it on your game [here](att.md)
|
|
9
|
+
* Beta: Static Linkage support for iOS
|
|
10
|
+
|
|
11
|
+
* [React-Native]
|
|
12
|
+
* Fixes iOS guard syntax, that was breaking the build
|
|
13
|
+
|
|
14
|
+
## Improvements
|
|
15
|
+
|
|
16
|
+
* [Unity]
|
|
17
|
+
* Exposing User Location, check out the documentation [here](core-api.md#get-cmp-data) :tada:
|
|
18
|
+
|
|
19
|
+
## Resolved Issues
|
|
20
|
+
|
|
21
|
+
* UI small issues on iOS (labels being cut, when they have long values)
|
|
22
|
+
* Fixed Deprecated DPS being shown
|
|
23
|
+
* Solved general issues
|
|
24
|
+
|
|
3
25
|
### 2.8.2 - July 12, 2023
|
|
4
26
|
|
|
5
27
|
## Features
|
package/android/build.gradle
CHANGED
|
@@ -2,9 +2,10 @@ import Usercentrics
|
|
|
2
2
|
|
|
3
3
|
public extension UsercentricsAnalyticsEventType {
|
|
4
4
|
|
|
5
|
-
static func initialize(from value: Int) -> UsercentricsAnalyticsEventType {
|
|
5
|
+
static func initialize(from value: Int) -> UsercentricsAnalyticsEventType? {
|
|
6
6
|
guard let eventType = UsercentricsAnalyticsEventType.values().get(index: Int32(value)) else {
|
|
7
7
|
assert(false)
|
|
8
|
+
return nil
|
|
8
9
|
}
|
|
9
10
|
return eventType
|
|
10
11
|
}
|
|
@@ -188,7 +188,8 @@ class RNUsercentricsModule: NSObject, RCTBridgeModule {
|
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
@objc func track(_ event: Int) -> Void {
|
|
191
|
-
|
|
191
|
+
guard let usercentricsAnalyticsEventType = UsercentricsAnalyticsEventType.initialize(from: event) else { return }
|
|
192
|
+
usercentricsManager.track(event: usercentricsAnalyticsEventType)
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
@objc func reset() -> Void {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usercentrics/react-native-sdk",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.3",
|
|
4
4
|
"description": "Usercentrics SDK",
|
|
5
5
|
"homepage": "https://usercentrics.com",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
8
8
|
"author": "Usercentrics <developer@usercentrics.com>",
|
|
9
9
|
"iosPackageName": "react-native-usercentrics",
|
|
10
|
-
"iosPackageVersion": "2.8.
|
|
10
|
+
"iosPackageVersion": "2.8.3",
|
|
11
11
|
"license": "SEE LICENSE IN LICENSE",
|
|
12
12
|
"files": [
|
|
13
13
|
"android",
|