From 38a11bcfaf3cf703e38201c9c6cd6631354ea243 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 30 十一月 2021 09:55:09 +0800 Subject: [PATCH] Siri功能完成 --- HDL-ON_iOS/AppDelegate.cs | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs index 851ed2e..db00116 100644 --- a/HDL-ON_iOS/AppDelegate.cs +++ b/HDL-ON_iOS/AppDelegate.cs @@ -9,6 +9,7 @@ using Microsoft.AppCenter.Crashes; using HDL_ON.UI; using HDL_ON.DAL.Server; +using Intents; namespace SharedMethod { @@ -59,7 +60,7 @@ // // If not required for your application you can safely delete this method // return true; //} - internal static UINavigationController rootViewController; + public static UINavigationController rootViewController; public static void CleanApplicationIconBadgeNumber() { @@ -245,6 +246,7 @@ public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { + Console.WriteLine("111111111111"); SetCurrentLanguage(); //Shared.Application.FontSize = 12; //Bugly.Bugly.StartWithAppId("b58fb35436"); @@ -274,7 +276,10 @@ //{ // //RemoteInfo.Current.ReadMsgList(true); //} - + + //楂樺痉key + GDMapKit.setGDApiKey("f0635ea15c5d579c6e93d9f07a06da69"); + Console.WriteLine("FinishedLaunching"); return true; } @@ -295,6 +300,7 @@ var expandData = ""; var messageType = ""; var expantContent = ""; + var homeId = ""; if (userInfo.ContainsKey(new NSString("expandData"))) { var expandDataStr = userInfo["expandData"] as NSString; @@ -315,6 +321,12 @@ Utlis.WriteLine("expantContent: " + expantContent); } + if (expandDataNSD.ContainsKey(new NSString("homeId"))) + { + homeId = expandDataNSD["homeId"].ToString(); + Utlis.WriteLine("homeId: " + homeId); + } + } } else @@ -325,6 +337,7 @@ } var pushMes = new JPushMessageInfo() { + HomeId = homeId, Title = title, Content = body, Extras = expandData, @@ -436,6 +449,7 @@ HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway(); } + } } -- Gitblit v1.8.0