# AdMob transitively uses Room 2.2.5 through WorkManager 2.7. Its consumer # rule preserves database class names, but R8 full mode also needs the public # constructor used by Room.getGeneratedImplementation(). Keep this one entry # point rather than disabling shrinking for the dependency or whole app. -keepclassmembers class * extends androidx.room.RoomDatabase { public (); }