Closed svantepolk closed 4 months ago
We recently encountered a crash-on-boot in our release builds after updating Android Gradle Plugin from an older version. AGP 8 turns on full mode for R8 by default.
Adding this line to the proguard-rules.pro file fixed the issue in our app:
-keep,allowobfuscation,allowshrinking class * extends androidx.navigation.Navigator
I think this can be fixed here by adding something similar to proguard-consumer-rules.pro
Here's a similar issue in retrofit: https://github.com/square/retrofit/issues/3880
We recently encountered a crash-on-boot in our release builds after updating Android Gradle Plugin from an older version. AGP 8 turns on full mode for R8 by default.
Adding this line to the proguard-rules.pro file fixed the issue in our app:
I think this can be fixed here by adding something similar to proguard-consumer-rules.pro
Here's a similar issue in retrofit: https://github.com/square/retrofit/issues/3880