realm-browser icon indicating copy to clipboard operation
realm-browser copied to clipboard

Proguard issue

Open CallumCoombes opened this issue 6 years ago • 1 comments

I get the following error when trying to build with minify enabled

Warning: de.jonasrottmann.realmbrowser.models.view.ModelsActivity: can't find referenced class de.jonasrottmann.realmbrowser.models.ModelsContract$SortMode

I have the rules in my proguard file as instructed

# Realm Browser -keep class de.jonasrottmann.realmbrowser.* { *; } -keep class android.support.v7.widget.SearchView { *; } -keep class android.support.v7.view.** { *; }

What am I doing wrong?

CallumCoombes avatar Aug 28 '18 12:08 CallumCoombes

This issue does not occur if I use the no-op version of Realm Browser.

CallumCoombes avatar Aug 28 '18 12:08 CallumCoombes