What are the ProGuard rules for Firebase?

2019-03-12 16:05发布

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'

1条回答
Luminary・发光体
2楼-- · 2019-03-12 16:35

Firebase uses the consumerProguardFiles feature to automatically include the appropriate ProGuard if you're using Gradle, meaning you don't need to manually include anything.

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

查看更多
登录 后发表回答