Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: Add proguard/R8 rules #34

Open
2 tasks done
JoyMajumdar2001 opened this issue May 6, 2023 · 3 comments
Open
2 tasks done

🚀 Feature: Add proguard/R8 rules #34

JoyMajumdar2001 opened this issue May 6, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@JoyMajumdar2001
Copy link

🔖 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@joeyouss joeyouss added the enhancement New feature or request label May 9, 2023
@christyjacob4
Copy link
Member

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

@prateekcode
Copy link

@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.

@thawri1
Copy link

thawri1 commented Jun 11, 2024

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.** { *; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants