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
@zuhriddinjon@hamza-mughal5593 since you have minifyEnabled true, that can be caused because code obfuscation changed the field names. I've experienced the same field getting different obfuscated names in subsequent builds.
If you notice how the data is stored in the table file, you'll see that the field names are written there. Thus an unexpected change in the field name will make it impossible to deserialize data.
Besides the rule indicated here https://github.com/pilgr/Paper#proguard-config , I would recommend also considering keeping enums unless your data models don't use them : -keep enum your.app.data.model.** { *; }
Update: I've just submitted this PR #204 with all my suggested proguard rules.
minifyEnabled true
shrinkResources true
The text was updated successfully, but these errors were encountered: