Closed rtorrente closed 7 months ago
Hello @rtorrente , thanks for your feedback. Please note that we do not officially support Expo, as we did not test our plugin on this framework.
The library declares some proguard rules, but we don't have the rule -dontwarn kotlinx.parcelize.Parcelize
. Can you add it to your app? I am not sure it is possible to directly modify android/app/proguard-rules.pro
in expo, but you can try these instructions: https://gist.github.com/esinanturan/3e510444c602796694dee5943470c742
Hello @pmerlet-at-didomi yes it works well when I add the proguard rules
I opened the issue because I think it's better to update the lib in long term. But yes my issue is not blocking right now
OK, thanks for explaining. Yes, we can certainly add this proguard rule in a future release.
@rtorrente The proguard rule was added in the new version https://github.com/didomi/react-native/releases/tag/2.2.0 , can you check if this fixes your issue? Thanks!
Hello @pmerlet-at-didomi, i can confirm that 2.2.0 fixes the issue :)
Thanks !
Summary
When compiling with minifyEnabled, the task minifyReleaseWithR8 prints error, such as:
The file missing_rules.txt say
To reproduce
Maybe the lib don't declare their consumer proguard rules ?
Versions