diff --git a/Assets/ConsentManagementProvider/Scripts/json/JsonUnwrapper.cs b/Assets/ConsentManagementProvider/Scripts/json/JsonUnwrapper.cs index 23eb6b3e..9adcaee8 100644 --- a/Assets/ConsentManagementProvider/Scripts/json/JsonUnwrapper.cs +++ b/Assets/ConsentManagementProvider/Scripts/json/JsonUnwrapper.cs @@ -32,14 +32,17 @@ public static SpConsents UnwrapSpConsentsAndroid(string json) } catch (Exception ex) { - throw new ApplicationException("An error occurred during JSON unwrapping.", ex); + throw new ApplicationException("An error occurred during JSON unwrapping." + ex.Message, ex); } } private static SpCcpaConsent UnwrapSpCcpaConsentAndroid(CcpaConsentWrapper wrappedCcpa) { if (wrappedCcpa == null) - throw new ArgumentNullException(nameof(wrappedCcpa), "The CCPA consent wrapper cannot be null."); + { + CmpDebugUtil.LogError("The CCPA consent wrapper cannot be null."); + return null; + } CcpaConsent unwrapped = new CcpaConsent( uuid: wrappedCcpa.uuid, status: wrappedCcpa.status, diff --git a/Assets/ConsentManagementProvider/Scripts/observer/ConsentMessenger.cs b/Assets/ConsentManagementProvider/Scripts/observer/ConsentMessenger.cs index a274ebef..b1543cec 100644 --- a/Assets/ConsentManagementProvider/Scripts/observer/ConsentMessenger.cs +++ b/Assets/ConsentManagementProvider/Scripts/observer/ConsentMessenger.cs @@ -32,6 +32,10 @@ public static void Broadcast(params object[] list) where T : IConsentEventHan break; case nameof(IOnConsentError): Exception exception= (Exception)list[0]; + + CmpDebugUtil.LogError("Error message: " + exception.Message); + CmpDebugUtil.LogError("Stack Trace: " + exception.StackTrace); + BroadcastEventDispatcher.Execute(null, (i, d) => i.OnConsentError(exception)); break; case nameof(IOnConsentUIReady): diff --git a/Assets/ExternalDependencyManager/Editor/SourcepointDependencies.xml b/Assets/ExternalDependencyManager/Editor/SourcepointDependencies.xml index 86a6e984..4f50f725 100644 --- a/Assets/ExternalDependencyManager/Editor/SourcepointDependencies.xml +++ b/Assets/ExternalDependencyManager/Editor/SourcepointDependencies.xml @@ -39,6 +39,6 @@ - + diff --git a/Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.2.7.aar b/Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.2.7.aar deleted file mode 100644 index fe52a90e..00000000 Binary files a/Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.2.7.aar and /dev/null differ diff --git a/Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.6.0.aar b/Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.6.0.aar new file mode 100644 index 00000000..d5fad7b8 Binary files /dev/null and b/Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.6.0.aar differ diff --git a/Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.2.7.aar.meta b/Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.6.0.aar.meta similarity index 93% rename from Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.2.7.aar.meta rename to Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.6.0.aar.meta index 8cd8eae2..42764690 100644 --- a/Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.2.7.aar.meta +++ b/Assets/Plugins/Android/com.sourcepoint.cmplibrary.cmplibrary-7.6.0.aar.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 168e70012d29ba55abf541f6207e72ba +guid: 1913d8a78b6a9a1afbd2a94d750679a8 labels: - gpsr PluginImporter: