7 Commits

Author SHA1 Message Date
xfy
ce64526125 build: 移除 Compose runtime 的 ProGuard keep 规则
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 15:53:50 +08:00
xfy
c1e8653941 feat: 引入 152 张 GIF 素材,按选中日期随机展示
- 移除单张 puppy_1.gif,替换为 001.gif~152.gif 的 GIF 素材池
- 新增 getGifUri expect/actual 函数,Android 通过 assets 加载、iOS 通过 compose 资源加载
- AnimatedGif 接收 seed 参数,随选中日期变化重新随机选取
- BottomCard 在底部信息下方展示 140dp 高度的随机 GIF

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 14:49:50 +08:00
xfy
fae6e3eb72 feat: 支持系统深色主题切换
新增 values/values-night 主题资源 Theme.YaYa,AndroidManifest 切换为该主题;
Compose 端根据 isSystemInDarkTheme 切换 light/dark ColorScheme。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 13:52:41 +08:00
xfy
22464d9ca6 build: 优化 APK 打包与 AAB 分包配置
排除冗余的 META-INF 许可证与 Kotlin 元数据资源,挑选首次出现的 INDEX.LIST,避免合并冲突;启用按语言、密度、ABI 拆分的 App Bundle。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 13:41:51 +08:00
xfy
ba742f1597 build: 启用 R8 压缩与资源优化,添加 ProGuard 规则
- androidApp: 启用 isMinifyEnabled 和 isShrinkResources
- androidApp: ABI 过滤(arm64-v8a, armeabi-v7a),关闭 buildConfig
- gradle.properties: 启用并行构建、守护进程、R8 fullMode
- 新建 proguard-rules.pro 保留 KMP/Compose/kotlinx.datetime 规则

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 07:42:29 +08:00
xfy
73d42902ea Update targetSdk to 37, Gradle to 9.5.1, coroutines-test to 1.11.0, and move launcher icon out of drawable-v24
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 16:07:48 +08:00
xfy
07f6b779c6 Refactor KMP project structure for AGP 9.0 compatibility
Split composeApp into shared (KMP library) and androidApp (Android application)
modules to resolve KMP + AGP 9.0 incompatibility. Remove deprecated gradle
properties and add performance optimization settings.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 11:47:26 +08:00