Added Proguard configuration information into README.
When proguard is enabled in Espresso tests, some constructors and some methods are missing from RxJava since proguard optimizations remove unused methods. So in our project, we added the following rules.
I think the rules can be more strict but in Espresso tests, they are fine if they are not that strict.
Note: Libraries can include consumerProguardFiles but they are included in production version of the app so I thought I shouldn't add one. Readme seems enough.
Added Proguard configuration information into README.
When proguard is enabled in Espresso tests, some constructors and some methods are missing from RxJava since proguard optimizations remove unused methods. So in our project, we added the following rules.
I think the rules can be more strict but in Espresso tests, they are fine if they are not that strict.
Note: Libraries can include
consumerProguardFiles
but they are included in production version of the app so I thought I shouldn't add one. Readme seems enough.Thanks.