What are the ProGuard rules for Firebase?

What are the ProGuard rules for these dependencies?

compile 'com.google.firebase:firebase-core:10.0.1' compile 'com.google.firebase:firebase-crash:10.0.1' compile 'com.google.firebase:firebase-messaging:10.0.1' compile 'com.google.firebase:firebase-ads:10.0.1' 
+6
source share
1 answer

Firebase uses the consumerProguardFiles function to automatically enable the corresponding ProGuard if you use Gradle, which means you donโ€™t have to manually enable anything.

If you need to manually apply proguard rules, you can extract the proguard.txt file from each AAR file.

+17
source

Source: https://habr.com/ru/post/1013889/


All Articles