2023-12-19 14:23:45 +01:00
|
|
|
# It's important that we preserve initializer names, given they are used in the AndroidManifest.xml.
|
|
|
|
-keepnames class * extends androidx.startup.Initializer
|
2023-11-27 20:36:02 +01:00
|
|
|
|
2023-12-19 14:23:45 +01:00
|
|
|
# These Proguard rules ensures that ComponentInitializers are are neither shrunk nor obfuscated,
|
|
|
|
# and are a part of the primary dex file. This is because they are discovered and instantiated
|
|
|
|
# during application startup.
|
|
|
|
-keep class * extends androidx.startup.Initializer {
|
|
|
|
# Keep the public no-argument constructor while allowing other methods to be optimized.
|
|
|
|
<init>();
|
2023-11-27 20:36:02 +01:00
|
|
|
}
|
2023-12-19 14:23:45 +01:00
|
|
|
|
|
|
|
-assumenosideeffects class androidx.startup.StartupLogger { public static <methods>; }
|