wxr
2023-06-16 e43704188506f9f5e37fe7797c883fefa7b0f8cf
Bugly加上账号显示
6个文件已修改
80 ■■■■■ 已修改文件
HDL-ON_Android/Properties/AndroidManifest.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL-ON_Android/SplashActivity.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL-ON_iOS/Resources/Language.ini 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/Common/ApiUtlis.cs 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/MainPage.cs 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL-ON_Android/Properties/AndroidManifest.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.8.0" package="com.hdl.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202306151">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.8.0" package="com.hdl.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202306161">
    <uses-sdk android:minSdkVersion="26" android:targetSdkVersion="29" />
    <uses-permission android:name="android.permission.RECEIVE_SMS" />
    <!--友盟-->
HDL-ON_Android/SplashActivity.cs
@@ -126,7 +126,7 @@
            JPushInterface.Init(this);
            Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "316a8f5d83");
            BaseActivity.OnCreateActoin += (activity, application) =>
            {
HDL-ON_iOS/Resources/Language.ini
@@ -614,6 +614,13 @@
627=The set time needs to be later than the current time.
628=Temporary password validity period cannot be greater than 24 hours.
629=Successfully unbound the residence.
630=Colorful function
631=Starting color
632=End color
633=Working hours
634=Recommen
635=Current Color
636=Color value number is 6 digits (composed of pure numbers/numbers+letters)
@@ -1900,6 +1907,15 @@
627=设置的时间需要晚于当前时间
628=临时密码有效期不能大于24小时。
629=住宅解绑成功。
630=炫彩功能
631=起始颜色
632=结束颜色
633=工作时长
634=推荐
635=当前颜色
636=色值号为6位(由纯数字/数字+字母组合)
2532=访客邀请记录
2533=访客管理
@@ -3184,6 +3200,13 @@
627=The set time needs to be later than the current time.
628=Temporary password validity period cannot be greater than 24 hours.
629=Successfully unbound the residence.
630=Colorful function
631=Starting color
632=End color
633=Working hours
634=Recommen
635=Current Color
636=Color value number is 6 digits (composed of pure numbers/numbers+letters)
@@ -4464,7 +4487,13 @@
627=The set time needs to be later than the current time.
628=Temporary password validity period cannot be greater than 24 hours.
629=Successfully unbound the residence.
630=Colorful function
631=Starting color
632=End color
633=Working hours
634=Recommen
635=Current Color
636=Color value number is 6 digits (composed of pure numbers/numbers+letters)
@@ -5734,6 +5763,13 @@
627=The set time needs to be later than the current time.
628=Temporary password validity period cannot be greater than 24 hours.
629=Successfully unbound the residence.
630=Colorful function
631=Starting color
632=End color
633=Working hours
634=Recommen
635=Current Color
636=Color value number is 6 digits (composed of pure numbers/numbers+letters)
HDL_ON/Common/ApiUtlis.cs
@@ -257,8 +257,10 @@
                                    string videoList = videoInfo.Data.ToString();
                                    FunctionList.List.videoIntercom = JsonConvert.DeserializeObject<List<UI.UI2.FuntionControlView.Video.Video>>(videoList);
                                    foreach (var video in FunctionList.List.videoIntercom)
                                    for(int i =0;i< FunctionList.List.videoIntercom.Count;i++)
                                    {
                                        var video = FunctionList.List.videoIntercom[i];
                                        if (video.interphoneType == InterphoneType.IMOUVISIAL.ToString())
                                        {
                                            UI.UI2.PersonalCenter.PirDevice.PirSend.LcSubAccessToken = video.subAccountToken;
@@ -272,11 +274,23 @@
                                        }
                                        else if (video.interphoneType == InterphoneType.FREEVIEW.ToString())
                                        {
#if __IOS__
                                            try
                                            {
                                                FunctionList.List.videoIntercom.Remove(video);
                                                --i;
                                            }catch(Exception ex)
                                            {
                                                MainPage.Log($"ios 全视通异常 : {ex.Message}");
                                            }
#else
                                            //为全视通可视对讲
                                            //DB_ResidenceData.Instance.SupportFacePass = true;
                                            //Entity.DB_ResidenceData.Instance.SupportVisitorManage = true;
                                            //Entity.DB_ResidenceData.Instance.SupportFVDevice = true;
                                            //isInterphoneType_FREEVIEW = true;
                                            DB_ResidenceData.Instance.SupportFacePass = true;
                                            Entity.DB_ResidenceData.Instance.SupportVisitorManage = true;
                                            Entity.DB_ResidenceData.Instance.SupportFVDevice = true;
                                            isInterphoneType_FREEVIEW = true;
#endif
                                        }
                                    }
                                }
HDL_ON/UI/MainPage.cs
@@ -505,6 +505,19 @@
                }
            }).Start();
            try
            {
#if __ANDROID__
                Com.Chteam.Agent.BuglyAgentHelper.SetUserId(UserInfo.Current.AccountString);
#else
                Bugly.Bugly.SetUserIdentifier(UserInfo.Current.AccountString);
#endif
            }
            catch (Exception ex)
            {
                MainPage.Log("Bugly error");
            }
        }
        /// <summary>
HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs
@@ -321,6 +321,7 @@
        {
            btnChangeFunction.MouseUpEventHandler = (sender, e) =>
            {
                btnChangeFunction.IsSelected = true;
                btnChangeFunction.TextSize = CSS.CSS_FontSize.HeadlineFontSize;
                btnChangeFunction.IsBold = true;