cordova-plugin-onetrust-cmp 202211.1.0 → 202211.2.0

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,3 +1,21 @@
1
+ # 202211.2.0
2
+ * Adds support for OneTrust 202211.2.0
3
+
4
+ # 202211.1.0
5
+ * Adds support for OneTrust 202211.1.0
6
+
7
+ # 202210.1.0
8
+ * Adds support for OneTrust 202210.1.0
9
+
10
+ # 202209.2.0
11
+ * Adds support for OneTrust 202209.2.0
12
+
13
+ # 202209.1.0
14
+ * Adds support for OneTrust 202209.1.0
15
+
16
+ # 202208.1.0
17
+ * Adds support for OneTrust 202208.1.0
18
+
1
19
  # 6.39.0
2
20
  * Adds support for OneTrust 6.39.0
3
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-onetrust-cmp",
3
- "version": "202211.1.0",
3
+ "version": "202211.2.0",
4
4
  "description": "OneTrust is the leading Consent Management solution provider. This plugin exposes OneTrust's native CMP functionality to Cordova and Ionic environments.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="cordova-plugin-onetrust-cmp" version="202211.1.0"
2
+ <plugin id="cordova-plugin-onetrust-cmp" version="202211.2.0"
3
3
  xmlns="http://apache.org/cordova/ns/plugins/1.0"
4
4
  xmlns:android="http://schemas.android.com/apk/res/android">
5
5
  <name>OneTrust</name>
@@ -18,12 +18,12 @@
18
18
  <config>
19
19
  </config>
20
20
  <pods use-frameworks="true">
21
- <pod name="OneTrust-CMP-XCFramework" spec="~> 202211.1.0.0" />
21
+ <pod name="OneTrust-CMP-XCFramework" spec="~> 202211.2.0.0" />
22
22
  </pods>
23
23
  </podspec>
24
24
  </platform>
25
25
  <platform name="android">
26
- <framework src="com.onetrust.cmp:native-sdk:202211.1.0.0" />
26
+ <framework src="com.onetrust.cmp:native-sdk:202211.2.0.0" />
27
27
  <framework src="androidx.appcompat:appcompat:1.2.0" />
28
28
  <config-file parent="/*" target="res/xml/config.xml">
29
29
  <feature name="OneTrust">
@@ -8,6 +8,7 @@ import android.view.Window;
8
8
 
9
9
  import com.onetrust.otpublishers.headless.Public.OTEventListener;
10
10
  import com.onetrust.otpublishers.headless.Public.OTPublishersHeadlessSDK;
11
+ import com.onetrust.otpublishers.headless.Public.OTUIDisplayReason.OTUIDisplayReason;
11
12
 
12
13
 
13
14
  public class CMPActivity extends AppCompatActivity {
@@ -50,7 +51,8 @@ public class CMPActivity extends AppCompatActivity {
50
51
  String emptyPayload = "{}";
51
52
  ot.addEventListener(new OTEventListener() {
52
53
  @Override
53
- public void onShowBanner() {
54
+ public void onShowBanner(OTUIDisplayReason otuiDisplayReason) {
55
+
54
56
  }
55
57
 
56
58
  @Override
@@ -69,7 +71,7 @@ public class CMPActivity extends AppCompatActivity {
69
71
  }
70
72
 
71
73
  @Override
72
- public void onShowPreferenceCenter() {
74
+ public void onShowPreferenceCenter(OTUIDisplayReason otuiDisplayReason) {
73
75
 
74
76
  }
75
77