xuqm 1 år sedan
förälder
incheckning
6bf4fc45c2
5 ändrade filer med 20 tillägg och 8 borttagningar
  1. +2
    -2
      app/build.gradle
  2. +12
    -2
      push/build.gradle
  3. +0
    -1
      push/src/main/java/cn/org/bjca/trust/push/db/PushDatabase.kt
  4. +4
    -1
      推送+IM.md
  5. +2
    -2
      程序设计.md

+ 2
- 2
app/build.gradle Visa fil

@@ -42,6 +42,6 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

// implementation 'cn.org.bjca.trus:push:0.0.1.010'
implementation project(path: ':push')
implementation 'cn.org.bjca.trus:push:0.0.1.011'
// implementation project(path: ':push')
}

+ 12
- 2
push/build.gradle Visa fil

@@ -6,8 +6,9 @@ plugins {
}

def versionCode = 1
def versionName = "0.0.1.010"
def versionName = "0.0.1.011"
def mavenUrl = "http://127.0.0.1:1022/repository/maven-releases/"
def mavenUrlN = "https://nexus.51trust.net/repository/android-hosted/"

android {
namespace 'cn.org.bjca.trust.push'
@@ -93,13 +94,22 @@ afterEvaluate {
repositories {
maven {
allowInsecureProtocol(true)
name = "nexus"
name = "xuqm"
url = mavenUrl
credentials {
username(maven.username)
password(maven.password)
}
}
maven {
allowInsecureProtocol(true)
name = "szyx"
url = mavenUrlN
credentials {
username("deployment")
password("deployment123")
}
}
}
}
}

+ 0
- 1
push/src/main/java/cn/org/bjca/trust/push/db/PushDatabase.kt Visa fil

@@ -1,7 +1,6 @@
package cn.org.bjca.trust.push.db

import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import cn.org.bjca.trust.push.db.device.Device
import cn.org.bjca.trust.push.db.device.DeviceDao


+ 4
- 1
推送+IM.md Visa fil

@@ -6,6 +6,8 @@

## 基础结构

> 已读回执

```json
{
"id": "",
@@ -16,6 +18,7 @@
"type": "Type",
"content": {
},
"timestamp": 1675416709033,
"isBackground": false
}
@@ -120,7 +123,7 @@ public enum MsgType {

### 后台运行

> 组织架构类,大数据,后台更新
> 组织架构类,大数据,后台更新,已读回执
>
> 视频通话邀请



+ 2
- 2
程序设计.md Visa fil

@@ -24,7 +24,7 @@
>
> 1.`type`和`uuid`都一样,但是`userId`不同,代表用户同一设备切换了登录用户。重新生成account,之前的account需要废除。
>
> 2.`userId`相同,`type``uuid`不同,代表同一用户,在不同设备登录。这时需要发送异地登录消息。
> 2.`userId`相同,`type``uuid`不同,代表同一用户,在不同设备登录。这时需要发送异地登录消息。

> 移动端注册服务时,需要配置是否需要互踢,(同类型设备互踢、所有设备互踢)-----这个配置放在哪里比较合适?
>
@@ -110,7 +110,7 @@

# 7.UI

> 考虑选择图片、选择问卷、音视频通话,sdk定义一套基础页面,客户端可以选择直接使用,或者自定义UI界面。
> 考虑选择图片、选择文件、音视频通话,sdk定义一套基础页面,客户端可以选择直接使用,或者自定义UI界面。





Laddar…
Avbryt
Spara