sdk-for-android icon indicating copy to clipboard operation
sdk-for-android copied to clipboard

🚀 Feature: Add proguard/R8 rules

Open JoyMajumdar2001 opened this issue 1 year ago • 3 comments

🔖 Feature description

Add proguard/R8 rules

🎤 Pitch

Add proguard/R8 rules for minify & shrinkResources

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

JoyMajumdar2001 avatar May 06 '23 19:05 JoyMajumdar2001

@JoyMajumdar2001 this is a welcome change. Are you interested in taking up this issue ?

christyjacob4 avatar May 19 '23 17:05 christyjacob4

@christyjacob4 Is this problem resolved? Because of this I'm getting issue in Account class. Or is there any idea to keep appwrite module outside of minifyenabled? Since my project will use isMinifyEnabled = true.

prateekcode avatar May 14 '24 15:05 prateekcode

I had the same issue and got this error only on the release build: b2.a: Invalid query method: W at y1.b$c.b(SourceFile:149) W at j5.e$a.run(SourceFile:52)

fixed by adding this line to proguard-rules file: -keep class io.appwrite.** { *; }

thawri1 avatar Jun 11 '24 14:06 thawri1