docs(android-sdk): 添加 Android SDK 完整文档与模块配置
- 新增 Android SDK 主文档,包含模块结构、集成方式、快速开始指南 - 添加 sdk-core、sdk-im、sdk-push、sdk-update、sdk-webview 各模块详细说明 - 配置各模块的 build.gradle.kts 文件,设置依赖和发布选项 - 更新 gradle.properties 版本配置和编译参数 - 重构 XWebViewView 组件,增加相机权限、文件选择、下载拦截功能 - 添加 XWebViewTypes.kt 定义配置类和控制器接口 - 集成 Flutter WebView 桥接代码,实现跨平台功能对齐
这个提交包含在:
父节点
8f27adfe06
当前提交
041456805e
@ -28,10 +28,10 @@ dependencyResolutionManagement {
|
|||||||
```kotlin
|
```kotlin
|
||||||
// app/build.gradle.kts
|
// app/build.gradle.kts
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.xuqm:sdk-core:0.4.0")
|
implementation("com.xuqm:sdk-core:0.4.2")
|
||||||
implementation("com.xuqm:sdk-im:0.4.0")
|
implementation("com.xuqm:sdk-im:0.4.2")
|
||||||
implementation("com.xuqm:sdk-push:0.4.0") // 按需
|
implementation("com.xuqm:sdk-push:0.4.2") // 按需
|
||||||
implementation("com.xuqm:sdk-update:0.4.0") // 按需
|
implementation("com.xuqm:sdk-update:0.4.2") // 按需
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ SDK 在 `XuqmSDK.login()` 成功后会自动检测手机厂商、初始化对应
|
|||||||
```kotlin
|
```kotlin
|
||||||
// app/build.gradle.kts
|
// app/build.gradle.kts
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.xuqm:sdk-push:0.4.0")
|
implementation("com.xuqm:sdk-push:0.4.2")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -33,10 +33,10 @@ dependencyResolutionManagement {
|
|||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.xuqm:sdk-core:0.4.0")
|
implementation("com.xuqm:sdk-core:0.4.2")
|
||||||
implementation("com.xuqm:sdk-im:0.4.0")
|
implementation("com.xuqm:sdk-im:0.4.2")
|
||||||
implementation("com.xuqm:sdk-push:0.4.0") // 按需
|
implementation("com.xuqm:sdk-push:0.4.2") // 按需
|
||||||
implementation("com.xuqm:sdk-update:0.4.0") // 按需
|
implementation("com.xuqm:sdk-update:0.4.2") // 按需
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
```kotlin
|
```kotlin
|
||||||
// app/build.gradle.kts
|
// app/build.gradle.kts
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("com.xuqm:sdk-update:0.4.0")
|
implementation("com.xuqm:sdk-update:0.4.2")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户