「Update」
1、修改网络请求超时时间 const val READ_TIMEOUT = 10000L const val WRITE_TIMEOUT = 10000L 2、升级retrofit版本到2.6.4 3、增加OkHttp线程池管理 4、上传1.4.7.40
This commit is contained in:
@@ -58,7 +58,9 @@ public class MoGoApplication extends MultiDexApplication {
|
||||
// 设置AI云平台分配给三方应用的签名密钥,需要从AI云平台申请
|
||||
// 设置车机设备的唯一标识(这些表识必须是通过后台录入的设备)
|
||||
// TODO 这里使用的是测试的sn
|
||||
clientConfig.setThirdPartyDeviceId("12345678998765432169");
|
||||
clientConfig.setThirdPartyDeviceId("2502a9a72cb281b8");
|
||||
// 设置令牌url
|
||||
clientConfig.setPassportUrl("https://mogogo-driver.zhidaozhixing.com/arch/passport/");
|
||||
// 设置应用服务AppId 长链、鉴权 //todo 需要卸载智慧驾驶、行车记录仪
|
||||
clientConfig.setServiceAppId("com.mogo.launcher");
|
||||
// 设置是否属于高精定位设备
|
||||
|
||||
@@ -6,7 +6,7 @@ ext {
|
||||
compileSdkVersion: 29,
|
||||
buildToolsVersion: "29.0.2",
|
||||
minSdkVersion : 19,
|
||||
targetSdkVersion : 29,
|
||||
targetSdkVersion : 28,
|
||||
]
|
||||
dependencies = [
|
||||
kotlinstdlibjdk7 : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${kotlin_version}",
|
||||
@@ -37,7 +37,7 @@ ext {
|
||||
retrofit : "com.squareup.retrofit2:retrofit:2.6.4",
|
||||
retrofitadapter : "com.squareup.retrofit2:adapter-rxjava2:2.6.4",
|
||||
retrofitconvertergson : "com.squareup.retrofit2:converter-gson:2.6.4",
|
||||
retrofitconverterscalars : "com.squareup.retrofit2:converter-scalars:2.1.0",
|
||||
retrofitconverterscalars : "com.squareup.retrofit2:converter-scalars:2.6.4",
|
||||
|
||||
// leakcanary
|
||||
leakcanary : 'com.squareup.leakcanary:leakcanary-android:1.5.4',
|
||||
|
||||
@@ -36,24 +36,24 @@ PASSWORD=xintai2018
|
||||
RELEASE=true
|
||||
# AI CLOUD 云平台
|
||||
# 工具类
|
||||
MOGO_UTILS_VERSION=1.4.7.38
|
||||
MOGO_UTILS_VERSION=1.4.7.40
|
||||
# 网络请求
|
||||
MOGO_NETWORK_VERSION=1.4.7.38
|
||||
MOGO_NETWORK_VERSION=1.4.7.40
|
||||
# 鉴权
|
||||
MOGO_PASSPORT_VERSION=1.4.7.38
|
||||
MOGO_PASSPORT_VERSION=1.4.7.40
|
||||
# 常链接
|
||||
MOGO_SOCKET_VERSION=1.4.7.38
|
||||
MOGO_SOCKET_VERSION=1.4.7.40
|
||||
# 数据采集
|
||||
MOGO_REALTIME_VERSION=1.4.7.38
|
||||
MOGO_REALTIME_VERSION=1.4.7.40
|
||||
# 探路,道路事件发布,获取
|
||||
MOGO_TANLU_VERSION=1.4.7.38
|
||||
MOGO_TANLU_VERSION=1.4.7.40
|
||||
# 直播推流
|
||||
MOGO_LIVE_VERSION=1.4.7.38
|
||||
MOGO_LIVE_VERSION=1.4.7.40
|
||||
# 直播拉流
|
||||
MOGO_TRAFFICLIVE_VERSION=1.4.7.38
|
||||
MOGO_TRAFFICLIVE_VERSION=1.4.7.40
|
||||
# 定位服务
|
||||
MOGO_LOCATION_VERSION=1.4.7.38
|
||||
MOGO_LOCATION_VERSION=1.4.7.40
|
||||
# 远程通讯模块
|
||||
MOGO_TELEMATIC_VERSION=1.4.7.38
|
||||
MOGO_TELEMATIC_VERSION=1.4.7.40
|
||||
# v2x
|
||||
MOGO_V2X_VERSION=1.4.7.38
|
||||
MOGO_V2X_VERSION=1.4.7.40
|
||||
|
||||
Reference in New Issue
Block a user