「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:
donghongyu
2024-09-20 18:01:26 +08:00
parent d9a9008432
commit 11dd165e30
3 changed files with 16 additions and 14 deletions

View File

@@ -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");
// 设置是否属于高精定位设备