didomi / react-native

Didomi SDK for React Native
Other
9 stars 2 forks source link

Didomi initialization on iOS #63

Closed Minishlink closed 1 year ago

Minishlink commented 2 years ago

Hello,

Is there a specific reason why here, onReady/onError is called before initialization and not after. It seems weird, and on Android it's not the same workflow (onReady/onError is called after initialization).

Thanks, Louis

nicolas-chaix-didomi commented 1 year ago

Thanks for your feedback @Minishlink. The name of those events were not explicit. Those function were registering onReady and onError event listeners.

Those functions will be deleted among other fixes.

Regards

Minishlink commented 1 year ago

Does this mean we will be able to call setupUI/shouldConsentBeCollected at app startup at any time and the sdk will be ready to handle these without unexpected behavior ?