Reputation: 412
I want to be able to find a mention on the internet on whether we should add some particular new ProguardRules after having migrated to AndroidX
Upvotes: 0
Views: 1069
Reputation: 1217
That depends on the library which are being used by your apps.Recently I had to add the following config to my progaurd file to fix the progaurd error.
-keep public class * extends androidx.core.app.ActivityCompat
-dontnote androidx.renderscript.**
-dontwarn androidx.renderscript.**
-dontwarn androidx.core.app.ActivityCompat
Upvotes: 1
Reputation: 9047
Nope, no particular rule is need for AndroidX unless you're getting errors upon building with proguard.
Upvotes: 3