@usercentrics/react-native-sdk 2.7.2 → 2.7.4
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 +17 -0
- package/android/build.gradle +1 -1
- package/ios/RNUsercentricsModule.swift +5 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
[Release Notes](https://docs.usercentrics.com/cmp_in_app_sdk/latest/about/history/)
|
|
2
|
+
# 2.7.4
|
|
3
|
+
|
|
4
|
+
## Features
|
|
5
|
+
|
|
6
|
+
* **[A/B Testing]** With this release, you will now be able to create your own A/B Testing when showing the banner to your users. Check our [exclusive page](https://docs.usercentrics.com/cmp_in_app_sdk/latest/features/ab-testing) on how to achieve this.
|
|
7
|
+
|
|
8
|
+
## Improvements
|
|
9
|
+
|
|
10
|
+
* General bug fixes.
|
|
11
|
+
* [iOS] Support dynamic colors.
|
|
12
|
+
|
|
13
|
+
# 2.7.3
|
|
14
|
+
|
|
15
|
+
## Improvements
|
|
16
|
+
|
|
17
|
+
* General bug fixes.
|
|
18
|
+
* Huge performance improvement.
|
|
2
19
|
|
|
3
20
|
# 2.7.2
|
|
4
21
|
|
package/android/build.gradle
CHANGED
|
@@ -205,6 +205,10 @@ class RNUsercentricsModule: NSObject, RCTBridgeModule {
|
|
|
205
205
|
} else {
|
|
206
206
|
window = UIApplication.shared.windows.first { $0.isKeyWindow }
|
|
207
207
|
}
|
|
208
|
-
|
|
208
|
+
var viewController = window?.rootViewController
|
|
209
|
+
while viewController?.presentedViewController != nil {
|
|
210
|
+
viewController = viewController?.presentedViewController
|
|
211
|
+
}
|
|
212
|
+
return viewController
|
|
209
213
|
}
|
|
210
214
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usercentrics/react-native-sdk",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.4",
|
|
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.7.
|
|
10
|
+
"iosPackageVersion": "2.7.4",
|
|
11
11
|
"license": "SEE LICENSE IN LICENSE",
|
|
12
12
|
"files": [
|
|
13
13
|
"android",
|