feat: 增加Google支付及优化UI与性能
- **支付功能**: - 在应用启动时初始化Google Play Billing Client,为应用内购买做准备。 - 添加了`billing-ktx`依赖。 - **动态和个人主页**: - 动态推荐页:用户头像和昵称区域支持点击跳转到对应的个人资料页。 - 个人资料页:优化了用户资料加载逻辑,使其同时支持通过用户ID和OpenID加载。 - 评论功能:优化了评论交互,评论成功后才更新评论数。 - 数据模型:调整动态图片,优先使用`smallDirectUrl`以优化加载速度。 - **AI智能体页面**: - 移除API请求中的`random`参数,以改善数据缓存和一致性。 - 优化了导航到AI智能体主页的逻辑,直接传递`openId`,简化了数据请求。 - 清理了部分未使用的代码和布局。 - **群聊列表UI**: - 调整了群聊列表项的布局、字体大小和颜色,优化了视觉样式。 - 移除了列表项之间的分割线。
This commit is contained in:
@@ -17,8 +17,8 @@ android {
|
||||
applicationId = "com.aiosman.ravenow"
|
||||
minSdk = 24
|
||||
targetSdk = 35
|
||||
versionCode = 1000019
|
||||
versionName = "1.0.000.19"
|
||||
versionCode = 1000021
|
||||
versionName = "1.0.000.21"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
@@ -140,5 +140,8 @@ dependencies {
|
||||
implementation(libs.androidx.room.ktx)
|
||||
ksp(libs.androidx.room.compiler)
|
||||
|
||||
// Google Play Billing
|
||||
implementation(libs.billing.ktx)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user