From 11dd165e30722dce8ec2adf0b1f72289056781cb Mon Sep 17 00:00:00 2001 From: donghongyu Date: Fri, 20 Sep 2024 18:01:26 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=8CUpdate=E3=80=8D=201=E3=80=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E7=BD=91=E7=BB=9C=E8=AF=B7=E6=B1=82=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E6=97=B6=E9=97=B4=20const=20val=20READ=5FTIMEOUT=20=3D=2010000?= =?UTF-8?q?L=20const=20val=20WRITE=5FTIMEOUT=20=3D=2010000L=202=E3=80=81?= =?UTF-8?q?=E5=8D=87=E7=BA=A7retrofit=E7=89=88=E6=9C=AC=E5=88=B02.6.4=203?= =?UTF-8?q?=E3=80=81=E5=A2=9E=E5=8A=A0OkHttp=E7=BA=BF=E7=A8=8B=E6=B1=A0?= =?UTF-8?q?=E7=AE=A1=E7=90=86=204=E3=80=81=E4=B8=8A=E4=BC=A01.4.7.40?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/mogo/cloud/MoGoApplication.java | 4 +++- config.gradle | 4 ++-- gradle.properties | 22 +++++++++---------- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/app/src/main/java/com/mogo/cloud/MoGoApplication.java b/app/src/main/java/com/mogo/cloud/MoGoApplication.java index 23e3bb8..3510f86 100644 --- a/app/src/main/java/com/mogo/cloud/MoGoApplication.java +++ b/app/src/main/java/com/mogo/cloud/MoGoApplication.java @@ -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"); // 设置是否属于高精定位设备 diff --git a/config.gradle b/config.gradle index 73cfdf5..1e91525 100644 --- a/config.gradle +++ b/config.gradle @@ -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', diff --git a/gradle.properties b/gradle.properties index 034ec3c..6cd7da7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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