From 83f5dcf34d961ac18cf393a21687bf5aca199181 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期五, 11 三月 2022 09:26:50 +0800 Subject: [PATCH] 引入全视通dll库 --- ZigbeeApp/Home.Ios/AppDelegate.cs | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Home.Ios/AppDelegate.cs b/ZigbeeApp/Home.Ios/AppDelegate.cs index 8fad469..58c9d0b 100644 --- a/ZigbeeApp/Home.Ios/AppDelegate.cs +++ b/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; } -- Gitblit v1.8.0