You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently bumped the SDK version from 6.3.2 to the latest 6.4.4 and started getting R8 errors.
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/vagrant/git/androidApp/build/outputs/mapping/prodRelease/missing_rules.txt.
ERROR: R8: Missing class io.getstream.chat.android.previewdata.PreviewMessageData (referenced from: void io.getstream.chat.android.compose.ui.components.reactionpicker.ComposableSingletons$ReactionsPickerKt$lambda-2$1.invoke(androidx.compose.runtime.Composer, int))
Missing class io.getstream.chat.android.previewdata.PreviewUserData (referenced from: io.getstream.chat.android.compose.state.userreactions.UserReactionItemState io.getstream.chat.android.compose.previewdata.PreviewUserReactionData.user1Reaction(androidx.compose.runtime.Composer, int) and 3 other contexts)
This is the suggested workaround but it's not working, furthermore I can't see that code when browsing the dependencies used by my app:
# Please add these rules to your existing keep rules in order to suppress warnings.
# This is generated automatically by the Android Gradle plugin.
-dontwarn io.getstream.chat.android.previewdata.PreviewMessageData
-dontwarn io.getstream.chat.android.previewdata.PreviewUserData
Thank you!
Unfortunately that's not working, and at this point I'm not sure it will work with the new release too 🧐
The weird thing is that the previewdata module is not showing up in the External Libraries section of Android Studio, that might be the reason why that rule added to my app isn't changing anything.
I think it can be explained by this @skydoves could you check if we need anything else to fix R8/Proguard issues related to the preview data artifact??
Describe the bug
I recently bumped the SDK version from 6.3.2 to the latest 6.4.4 and started getting R8 errors.
This is the suggested workaround but it's not working, furthermore I can't see that code when browsing the dependencies used by my app:
Can you please advise on what to do?
You have the same issue reported by your CI, please don't ignore it.
SDK version
To Reproduce
Steps to reproduce the behavior:
Expected behavior
App is successfully built
Device:
Screenshots
None
The text was updated successfully, but these errors were encountered: