Skip to content

Instantly share code, notes, and snippets.

@ra9r
Created July 4, 2019 20:32
Show Gist options
  • Save ra9r/275f23de3453047d1f0878dc474c323f to your computer and use it in GitHub Desktop.
Save ra9r/275f23de3453047d1f0878dc474c323f to your computer and use it in GitHub Desktop.
Proguard Properties for Flutter and Firebase #flutter #firebase #android
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
-keep class io.flutter.util.** { *; }
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
# Basic ProGuard rules for Firebase Android SDK 2.0.0+
-keep class com.firebase.** { *; }
-keep class org.apache.** { *; }
-keepnames class com.shaded.fasterxml.** { *; }
-keepnames class com.fasterxml.jackson.** { *; }
-keepnames class javax.servlet.** { *; }
-keepnames class org.ietf.jgss.** { *; }
-dontwarn org.apache.**
-dontwarn org.w3c.dom.**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment