Files
foto-duplicate-finder-free/app/proguard-rules.pro
T

21 lines
922 B
Prolog

# ProGuard/R8 rules for the release build.
#
# The app relies on reflection only indirectly (Compose, Coil, AndroidX ship their
# own consumer rules), so we keep this list intentionally short.
# Keep line numbers so crash reports stay readable without the original class names.
-keepattributes SourceFile,LineNumberTable
-renamesourcefileattribute SourceFile
# Coroutines: keep the internal classes R8 sometimes struggles to strip correctly.
-dontwarn kotlinx.coroutines.**
# WorkManager 2.7.0 arrives transitively through play-services-ads and creates
# androidx.work.impl.WorkDatabase_Impl through Room's reflection. R8 removes the
# generated no-arg constructor because nothing calls it directly, which makes the
# app crash in androidx.startup.InitializationProvider with:
# Failed to create an instance of androidx.work.impl.WorkDatabase
-keep class androidx.work.impl.WorkDatabase_Impl {
public <init>();
}