feat: 集成服务端驱动 UI 演示
新增 Remote Compose 播放端与服务端生成逻辑,支持按页面拉取并渲染二进制 UI 文档。
This commit is contained in:
@@ -13,7 +13,7 @@ android {
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.ttstd.composeremote"
|
||||
minSdk 24
|
||||
minSdk 29
|
||||
targetSdk 36
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
@@ -52,4 +52,12 @@ dependencies {
|
||||
androidTestImplementation libs.androidx.junit
|
||||
debugImplementation libs.androidx.compose.ui.test.manifest
|
||||
debugImplementation libs.androidx.compose.ui.tooling
|
||||
|
||||
// Remote Compose Player(view 版,参考 remotecompose-android 的集成方式)
|
||||
implementation("androidx.compose.remote:remote-core:1.0.0-alpha17")
|
||||
implementation("androidx.compose.remote:remote-player-core:1.0.0-alpha17")
|
||||
implementation("androidx.compose.remote:remote-player-view:1.0.0-alpha17")
|
||||
|
||||
// OkHttp 用于请求二进制 payload
|
||||
implementation("com.squareup.okhttp3:okhttp:4.12.0")
|
||||
}
|
||||
Reference in New Issue
Block a user