mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Fix ai.bot.android → ai.hanzo.bot.android across 16 files (73 occurrences). Also add explicit StateFlow type annotations to MainViewModel for chatMessages, chatPendingToolCalls, and chatSessions to fix Kotlin type inference errors with collectAsState(). Co-authored-by: Hanzo Dev <[email protected]>
29 lines
1.6 KiB
Prolog
29 lines
1.6 KiB
Prolog
# ── App classes ───────────────────────────────────────────────────
|
|
-keep class ai.hanzo.bot.android.** { *; }
|
|
|
|
# ── Bouncy Castle ─────────────────────────────────────────────────
|
|
-keep class org.bouncycastle.** { *; }
|
|
-dontwarn org.bouncycastle.**
|
|
|
|
# ── CameraX ───────────────────────────────────────────────────────
|
|
-keep class androidx.camera.** { *; }
|
|
|
|
# ── kotlinx.serialization ────────────────────────────────────────
|
|
-keep class kotlinx.serialization.** { *; }
|
|
-keepclassmembers class * {
|
|
@kotlinx.serialization.Serializable *;
|
|
}
|
|
-keepattributes *Annotation*, InnerClasses
|
|
|
|
# ── OkHttp ────────────────────────────────────────────────────────
|
|
-dontwarn okhttp3.**
|
|
-dontwarn okio.**
|
|
-keep class okhttp3.internal.platform.** { *; }
|
|
|
|
# ── Misc suppressions ────────────────────────────────────────────
|
|
-dontwarn com.sun.jna.**
|
|
-dontwarn javax.naming.**
|
|
-dontwarn lombok.Generated
|
|
-dontwarn org.slf4j.impl.StaticLoggerBinder
|
|
-dontwarn sun.net.spi.nameservice.NameServiceDescriptor
|