提交 5b148f8c 编写于 作者: 囧jt's avatar 囧jt

modify:

[Android]-release v3.4.1
上级 980b881c
......@@ -3,7 +3,7 @@
## DoKit Android 最新版本
**由于jcenter事件的影响,我们需要将DoKit For Android迁移到mavenCentral(),但是需要更改groupId.所以大家要注意一下,具体的更新信息如下:**
**lastversion:3.4.0**
**lastversion:3.4.1**
|DoKit|最新版本|描述|
|-|-|-|
......@@ -46,10 +46,8 @@ v3.3.5以后的版本需要添加mavenCentral()仓库**
```groovy
dependencies {
debugImplementation 'io.github.didi.dokit:dokitx:${lastversion}'
releaseImplementation 'io.github.didi.dokit:dokitx-no-op:${lastversion}'
}
```
......@@ -73,14 +71,11 @@ debugImplementation 'io.github.didi.dokit:dokitx-rpc-mc:${lastversion}'
在 App 启动的时候进行初始化。
```Java
@Override
public void onCreate() {
```kotlin
overide fun onCreate() {
DoKit.Builder(this)
.productId("需要使用平台功能的话,需要到dokit.cn平台申请id")
.build()
}
```
......@@ -98,9 +93,7 @@ AOP包括以下几个功能:
```groovy
buildscript {
dependencies {
classpath 'io.github.didi.dokit:dokitx-plugin:${lastversion}'
}
}
```
......@@ -187,7 +180,7 @@ DOKIT_METHOD_STRATEGY=0
以代驾乘客端为例,实现环境切换组件如下。
```Java
```kotlin
class DemoKit : AbstractKit() {
override val category: Int
get() = Category.BIZ
......@@ -209,20 +202,18 @@ class DemoKit : AbstractKit() {
在初始化的时候注册自定义组件。
```Java
@Override
```kotlin
override fun onCreate() {
DoKit.Builder(this)
.productId("需要使用平台功能的话,需要到dokit.cn平台申请id")
.customKits(mapKits)
.build()
}
```
**DoKit入口api**
```
public class DoKit private constructor() {
```kotlin
class DoKit private constructor() {
companion object {
......
......@@ -11,7 +11,7 @@ ext {
// group_id : 'com.didichuxing.doraemonkit',
group_id : 'io.github.didi.dokit',
// version : '3.4.0-SNAPSHOT'
version : '3.4.0'
version : '3.4.1'
]
android = [compileSdkVersion : 29,
......
package com.didichuxing.doraemonkit.kit.core
import android.R
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.didichuxing.doraemonkit.R
import java.util.*
/**
......
DoraemonKit-Android releases
===
## 3.4.1(dokitx 对应androidx,dokit对应Android Support)
1、升级DoKit For Android Kotlin 编译插件为1.4.32
2、一机多控新增数据录制功能,主要解决页面一致性的问题
3、一机多控新增自定义事件接口和Client端统一回调,主要解决特殊控件手势等自定义长连接事件。
4、Bug Fixed
## 3.4.0-alpha03(dokitx 对应androidx,dokit对应Android Support)
1、去掉kotlin-android-exensions插件
......
......@@ -26,7 +26,7 @@
<div align="center">
<img src="https://pt-starimg.didistatic.com/static/starimg/img/J0WO7tUi9U1616143930629.png" width = "250" alt="DoraemonKit" align=left />
<img src="https://img.shields.io/github/license/didi/DoraemonKit.svg" align=left />
<img src="https://img.shields.io/badge/Android-3.4.0-blue.svg" align=left />
<img src="https://img.shields.io/badge/Android-3.4.1-blue.svg" align=left />
<img src="https://img.shields.io/badge/iOS-3.0.7-yellow.svg" align=left />
<img src="https://img.shields.io/badge/Flutter-0.6.0-blue.svg" align=left />
<img src="https://img.shields.io/badge/miniapp-0.0.1-red.svg" align=left />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册