Home Features Docs Blog Support GitHub

Actionsheetpicker error with proguard='all'


(Raphael) #1

I am using proguard='all' to reduce my app size. Since I use it I get a crash using the ActionSheetPicker library.

I get “unrecognized selector sent to instance” error.

I tried adding my java-bindings from this pod to my proguard.append.cfg but this did not help. How can I prevent proguard from reducing this pod?

Edit: Is there a way to completely prevent proguard from touching a specific pod?


(Raphael) #2

Altough I don’t know why it did not work when I had all classes/interfaces explicit in my cfg, adding this to my proguard.append.cfg made it work:

-keep class org.moe.binding.actionSheetPicker.** { *; }

where in this package are my generated bindings for this pod.