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 | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Home.Ios/AppDelegate.cs b/ZigbeeApp/Home.Ios/AppDelegate.cs index 36df79c..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) -- Gitblit v1.8.0