Squeaky-Android icon indicating copy to clipboard operation
Squeaky-Android copied to clipboard

ProGuard/R8 rules

Open EddieRingle opened this issue 5 years ago • 1 comments

Adding R8 to our application, it seems there's some reflection being done in Squeaky, so the following rule was necessary to retain what was being accessed:

-keep class co.jasonwyatt.squeaky.DatabaseHelper { *; }

It'd be a handy improvement if rules could be bundled with the library.

EddieRingle avatar Apr 08 '19 19:04 EddieRingle

Thanks! Ultimately I'd like to remove the reflection all-together and use annotation processing. Hopefully I'll have some time to devote to that in the next few months.

jasonwyatt avatar Apr 10 '19 16:04 jasonwyatt