didomi / react-native

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

Listeners logs #105

Open martinezguillaume opened 6 months ago

martinezguillaume commented 6 months ago

Hi ! I have a small annoying problem when using the app on iOS. Each action on the didomi notice, I'm getting logs like this :

 WARN  Sending `on_show_notice` with no listeners registered.
 WARN  Sending `on_show_notice` with no listeners registered.
 WARN  Sending `on_consent_changed` with no listeners registered.
 WARN  Sending `on_notice_click_disagree` with no listeners registered.
 WARN  Sending `on_hide_notice` with no listeners registered.

I tried to modify the log level with setLogLevel method but without success Do you have any idea on how to mute these ? Thanks !

pmerlet-at-didomi commented 5 months ago

Hello @martinezguillaume , thanks for your feedback. Unfortunately this log is produced by the react-native framework, so changing the Didomi log level will not help. We will try to fix this in a future release.