From e1a8f2f7e4d850beedeb1469610b878c1427e976 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 15 十二月 2021 09:01:53 +0800 Subject: [PATCH] 更新 --- HDL-ON_iOS/AppDelegate.cs | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs index 99caa0e..4dba627 100644 --- a/HDL-ON_iOS/AppDelegate.cs +++ b/HDL-ON_iOS/AppDelegate.cs @@ -1,4 +1,4 @@ -锘縰sing System; +锘縰sing System; using Foundation; using HDL_ON; using Shared; @@ -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,8 +276,12 @@ //{ // //RemoteInfo.Current.ReadMsgList(true); //} - //涓枃鍥藉唴key銆佽嫳鏂囨捣澶杒ey - EZSDK.IOS.EZSDK.InitLibWithAppKey("1aa98a90489b4838b966b57018b4b04b", "1aa98a90489b4838b966b57018b4b04b"); + + //楂樺痉key + GDMapKit.setGDApiKey("f0635ea15c5d579c6e93d9f07a06da69"); + + //楂樺痉key + GDMapKit.setGDApiKey("f0635ea15c5d579c6e93d9f07a06da69"); Console.WriteLine("FinishedLaunching"); return true; } @@ -296,6 +302,7 @@ var expandData = ""; var messageType = ""; var expantContent = ""; + var homeId = ""; if (userInfo.ContainsKey(new NSString("expandData"))) { var expandDataStr = userInfo["expandData"] as NSString; @@ -316,6 +323,12 @@ Utlis.WriteLine("expantContent: " + expantContent); } + if (expandDataNSD.ContainsKey(new NSString("homeId"))) + { + homeId = expandDataNSD["homeId"].ToString(); + Utlis.WriteLine("homeId: " + homeId); + } + } } else @@ -326,6 +339,7 @@ } var pushMes = new JPushMessageInfo() { + HomeId = homeId, Title = title, Content = body, Extras = expandData, @@ -437,6 +451,7 @@ HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway(); } + } } -- Gitblit v1.8.0