Closed rohanmahale closed 8 years ago
@rohanmahale your BitmapLoader class are getting obfuscated, can you confirm this works for you?:
-keepnames class com.bumptech.glide.Glide
-keepnames class com.squareup.picasso.Picasso
@eveliotc Are these the only lines I need to add to proguard?
I tried it and I get an error
Error:proguard.ParseException: Unexpected keyword 'com.bumptech.glide.Glide' in line 110 of file '/Users/rohanmahale/AndroidStudioProjects/Prism/app/proguard-rules.pro'
@eveliotc - Any idea what I'm missing here?
EDIT :
I added this line in proguard which seems to have made it work
-keep class com.bumptech.glide.*{ ; }
@rohanmahale you also need class
keyword before classname, I've updated snippet, please let me know
@eveliotc Works perfectly now. Thanks! Could we have a proguard setup section in the README?
@rohanmahale I added those rules on #17 once it's deployed build process should pick up scissors' proguard rules :)
:+1:
@eveliotc .
The debug version of my app works fine. I created a release build for my app, and on selecting a picture to be cropped the app crashes stating the following.
Can we have an updated read me with the proguard setup?