From 43110ef19b9e69d5afd7ce0a978565786baa87b5 Mon Sep 17 00:00:00 2001 From: lss <lsc@hdlchina.com.cn> Date: 星期三, 27 四月 2022 14:13:53 +0800 Subject: [PATCH] 修复红米手机闪退问题 --- ZigbeeApp/SPhoneLib/Jars/sphonelibs-release.aar | 0 ZigbeeApp/GateWay.Droid/GateWay.Droid.csproj | 1 + ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs | 7 +++++++ 3 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/GateWay.Droid/GateWay.Droid.csproj b/ZigbeeApp/GateWay.Droid/GateWay.Droid.csproj index 4e028a1..6af3c8c 100644 --- a/ZigbeeApp/GateWay.Droid/GateWay.Droid.csproj +++ b/ZigbeeApp/GateWay.Droid/GateWay.Droid.csproj @@ -44,6 +44,7 @@ <AndroidEnableProfiledAot>false</AndroidEnableProfiledAot> <BundleAssemblies>false</BundleAssemblies> <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> + <AndroidKeyStore></AndroidKeyStore> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugSymbols>true</DebugSymbols> diff --git a/ZigbeeApp/SPhoneLib/Jars/sphonelibs-release.aar b/ZigbeeApp/SPhoneLib/Jars/sphonelibs-release.aar index 577546d..0e40846 100644 --- a/ZigbeeApp/SPhoneLib/Jars/sphonelibs-release.aar +++ b/ZigbeeApp/SPhoneLib/Jars/sphonelibs-release.aar Binary files differ diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs index 6b992c9..68a3f11 100644 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs @@ -115,6 +115,13 @@ //閲嶆柊鐧诲綍鍏ㄨ閫� Shared.IOS.HDLFVSDK.Video.Init("", residenceId); #endif +#if Android + string userName = residenceId; + string uuid = "10F908BA-CA5A-4041-9D1A-382E6A004F74"; + string code = "T0001"; + string httpServer = "120.24.41.192"; + Com.Evoyohome.Sphonelibs.Global.Global.Login(Application.Activity, userName, uuid, code, httpServer, null); +#endif return result; -- Gitblit v1.8.0