didomi / react-native

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

"Empty" popup when translations are missing #53

Closed Minishlink closed 2 years ago

Minishlink commented 2 years ago

Hello,

On an Android emulator API level 33, I get an "empty" popup

image

Shouldn't the popup not open in that case? Can this happen only on emulators?

Logcat shows

Cache file is not readable (/data/user/0/com.myapp/files/didomi_config_cache_xxx.json)
Cache file is not readable (/data/user/0/com.myapp/files/didomi_iab_config_v2)
felipe-saez commented 2 years ago

Hello Louis,

Could you please send these details to support@didomi.io including your API Key and notice ID?

Thanks,

Felipe

Minishlink commented 2 years ago

Hello, thanks. I updated the issue title to better reflect the problem : when translations for the language of the device are missing, an empty popup appears. Expected behaviour would be either an error thrown or a fallback to the primary language.

felipe-saez commented 2 years ago

Hello Louis,

Thanks for doing that. Considering this subject concerns the Didomi Android SDK and not only the Didomi React Native SDK, I think the best way to communicate this feedback is through the support email address support@didomi.io, that way you can ask for updates on the topic later on. In any case I’ll make sure to pass this feedback to the product team.

Have a great day,

Felipe