Closed lorenc-tomasz closed 1 year ago
On native code the error response looks like:
error Error? (error = <parent failed to evaluate: Unable to determine byte size.>) some
The same on Android
same
@lorenc-tomasz any update? getting same thing as you.
@jkraus-wyn Yes. The SDK version used in app has to be the same as in the OneTrust dashboard. Basically in OneTrust dashboard you can set the SDK version and if it matches the sdk version in the app, it works. I was not aware of this, as I had no access to OneTrust dashboard.
From docs (https://www.npmjs.com/package/react-native-onetrust-cmp):
Versioning
The SDK version used must match the version of the JSON published from your OneTrust instance. For example, if you've published version 6.10.0 of the JSON in your OneTrust environment, you must use npm package version 6.10.0 as well. It is recommended to specify a version to avoid automatic updates, as a OneTrust publish is required when you update your SDK version.
Hi, I couldn't find the place to write about this issue but after updating the React Native SDK to version higher after
202209.1.1
causes theOneTrust download failed with error Error: Optional(OTPublishersHeadlessSDK.ManagerError.invalidDownloadData)
issue.