0.2.45 - Advanced analytics, logout old versions

This commit is contained in:
ponzischeme89
2026-08-10 20:24:22 +12:00
parent 63f0768507
commit 56c1167382
32 changed files with 1125 additions and 452 deletions
+11 -5
View File
@@ -34,15 +34,21 @@
-keep,allowobfuscation interface com.ponzischeme89.memby.data.remote.GatewayApi
-keepattributes Exceptions
# --- Room (WorkManager's database) ---------------------------------------------------
# Room instantiates its generated `<Name>_Impl` with getDeclaredConstructor(), so the
# constructor is reachable only by reflection. R8 from AGP 9 removes it while keeping the
# class, and the failure is total: WorkManager builds its database from androidx.startup's
# ContentProvider, so the app dies in handleBindApplication with
# `NoSuchMethodException: androidx.work.impl.WorkDatabase_Impl.<init> []` before any Memby
# code runs a launcher icon that does nothing, with no Memby frame ever drawn. Room's own
# consumer rules do not cover this on AGP 9. Written as `extends RoomDatabase` rather than
# naming WorkDatabase so a future Room database here is covered too.
-keep class * extends androidx.room.RoomDatabase { <init>(); }
# --- Media3 / coroutines -------------------------------------------------------------
-dontwarn androidx.media3.**
-dontwarn kotlinx.coroutines.**
# --- libmpv JNI ----------------------------------------------------------------------
# The published wrapper has no consumer rules. Its native bridge looks these classes and
# callbacks up by their compiled names, so a release build must not rename either side.
-keep class is.xyz.mpv.** { *; }
# --- Crash readability ---------------------------------------------------------------
# Releases are self-hosted with no crash reporter, so a stack trace read off a TV over
# adb is the only diagnostic there is. Line numbers cost a little dex size and are worth