cordova-plugin-onetrust-cmp 202510.2.2 → 202510.2.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 CHANGED
@@ -1,3 +1,6 @@
1
+ ## 202510.2.4
2
+ * Adds support for OneTrust 202510.2.4
3
+
1
4
  ## 202510.2.2
2
5
  * Adds support for OneTrust 202510.2.2
3
6
  * Adds support to build cordova/ionic sdk using cmp android and ios SDK
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-onetrust-cmp",
3
- "version": "202510.2.2",
3
+ "version": "202510.2.4",
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="202510.2.2"
2
+ <plugin id="cordova-plugin-onetrust-cmp" version="202510.2.4"
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="~> 202510.2.2.0" />
21
+ <pod name="OneTrust-CMP-XCFramework" spec="~> 202510.2.4.0" />
22
22
  </pods>
23
23
  </podspec>
24
24
  </platform>
25
25
  <platform name="android">
26
- <framework src="com.onetrust.cmp:native-sdk:202510.2.2.0" />
26
+ <framework src="com.onetrust.cmp:native-sdk:202510.2.4.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">
@@ -193,9 +193,7 @@ public class OneTrust extends CordovaPlugin{
193
193
  }
194
194
 
195
195
  private void showPreferenceCenterUI(){
196
- if(ot.getPreferenceCenterData() != null){ ////null check prevents starting blank activity if no PC data present
197
- startCMPActivity(1);
198
- }
196
+ startCMPActivity(1);
199
197
  }
200
198
 
201
199
  private void shouldShowBanner(CallbackContext callbackContext){