Since upgrading to React Native 0.70.2, the onReady method does not return a value. Meaning the Didomi UI will never be rendered. Issue occurs on Android 11, 13 & iOS 16.
await Didomi.onReady(); <-- will never be ready
console.log("This log will never be shown");
Didomi.initialize(
'xxxx',
undefined,
remoteUrl,
undefined,
false,
undefined,
);
Didomi.setupUI();
....
Since upgrading to React Native 0.70.2, the onReady method does not return a value. Meaning the Didomi UI will never be rendered. Issue occurs on Android 11, 13 & iOS 16.
Followed docs: https://developers.didomi.io/cmp/mobile-sdk/react-native/setup
The code gets executed after the app has started