-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minify = True, Doesnt allow rxPaperBook.write? #13
Comments
I'm not a regular user of the library, maybe someone else knows better and can help in this thread. I'd start by updating paperdb, maybe applying the instructions they suggest in their readme: https://github.com/pilgr/Paper#proguard-config |
I've run through their readme instructions a couple dozen times, to no avail, the same issue occurs. Ill also mentioned after some investigation, occasionally the write seems to go through but then the rxPaperbook.read() function is what's actually throwing the paperdbexception: couldn't read/deserialize file, even though the key exists, it doesn't want to deserialize what's saved |
At the end of the day, RxPaper is a thin layer over paper itself. I'd test without it and see if the problem persists. Have you decompiled your binary and assured that the names are truly being kept? |
What rules are you including in proguard? @charberSPP |
Howdy all! Im seeing a reoccuring issue, where after updating gradle (7.0), and creating a release build with minify & Obfuscation set to true, the write(key,object) function consistently throws an error: paperdbexception: couldn't read/deserialize file
Im seeing suggestions to add a -keep the proguard rules, but no keep seems to work. I was hoping someone might have some insight or suggestions?
The text was updated successfully, but these errors were encountered: