add new func of ezhou airport and upgrade the aiSdkVersion to fit demo server

This commit is contained in:
zhongchao
2021-08-05 10:50:05 +08:00
parent 78e869a3b4
commit ea4e380b35
73 changed files with 2634 additions and 829 deletions

View File

@@ -200,10 +200,6 @@ public class MogoApplication extends AbsMogoApplication {
// 第三方平台的sn是由AI云SDK中服务调用通过服务端生成的
preparePassportEnvironment();
prepareSocketAndLocationServices(apis);
//无延迟
// UiThreadHandler.postDelayed(() -> {
//
// }, delay);
}
private void preparePassportEnvironment() {
@@ -245,14 +241,16 @@ public class MogoApplication extends AbsMogoApplication {
break;
}
// 设置应用服务AppId 长链、鉴权
clientConfig.setServiceAppId("com_mogo_launcher");
if (DebugConfig.getNetMode() == DebugConfig.NET_MODE_RELEASE || DebugConfig.getNetMode() == DebugConfig.NET_MODE_DEMO) {
clientConfig.setServiceAppId("com_mogo_launcher");
} else {
clientConfig.setServiceAppId("com.mogo.launcher");
}
// 设置AI云平台分配给三方应用的签名密钥需要从AI云平台申请
// 设置车机设备的唯一标识(这些表识必须是通过后台录入的设备)
clientConfig.setThirdPartyDeviceId(Utils.getSn());
// 设置循环检测间隔时间
clientConfig.setLoopCheckDelay(15 * 1000);
// 设置是否使用MoGoAiCloud SDK内部定位进行实时数据上报
clientConfig.setIsUseExternalLocation(true);
// 设置DNS经纬度位置
clientConfig.setIHttpDnsCurrentLocation(new IHttpDnsCurrentLocation() {