HDL Home App 第二版本 旧平台金堂用 正在使用
chenqiyang
2022-03-11 83f5dcf34d961ac18cf393a21687bf5aca199181
ZigbeeApp/Home.Ios/AppDelegate.cs
@@ -7,7 +7,6 @@
using Shared.Common;
using Shared.IOS.TBL;
using UIKit;
namespace Home.IOS
{
    [Register("AppDelegate")]
@@ -25,6 +24,8 @@
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            //Shared.IOS.HDLFVSDK.Video.FVapplication(application, launchOptions);
            Shared.IOS.HDLFVSDK.Video.ShowVideo();
            Shared.Application.IsGpsEnable = false;
            Shared.Application.IsMusicEnable = false;
            base.FinishedLaunching(application, launchOptions);
@@ -39,7 +40,11 @@
            DeviceTokenAction += (deviceToken) =>
            {
                Shared.Common.Config.Instance.RegistrationID = deviceToken;
                if (!string.IsNullOrEmpty(deviceToken))
                {
                    Shared.Common.Config.Instance.RegistrationID = deviceToken;
                    Shared.Common.Config.Instance.Save();
                }
            };
            haveToSignOut = false;
            if (launchOptions != null)
@@ -95,7 +100,7 @@
                }
            }
            AppCenter.Start("0ca801a2-742b-42fb-ba10-7ba4391371aa", typeof(Analytics), typeof(Crashes));
            GDMapKit.setGDApiKey("866fae25f336bc8d9a79b1d19267fffb");//高德地图key
            GDMapKit.setGDApiKey("3889cdfa4ef10c0d43348ffa2c1017c8");//高德地图key
            return true;
        }