From 3db5c3218f405795dc9a2d0f6afdde8ab8ac9e73 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 23 十一月 2021 09:11:30 +0800
Subject: [PATCH] Merge branch 'WJC' of http://172.16.1.23:6688/r/~wxr/HDL_APP_Project into WJC

---
 HDL-ON_iOS/AppDelegate.cs |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs
index 99caa0e..e2fb0ec 100644
--- a/HDL-ON_iOS/AppDelegate.cs
+++ b/HDL-ON_iOS/AppDelegate.cs
@@ -245,6 +245,7 @@
 
         public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
         {
+            Console.WriteLine("111111111111");
             SetCurrentLanguage();
             //Shared.Application.FontSize = 12;
             //Bugly.Bugly.StartWithAppId("b58fb35436");
@@ -274,8 +275,8 @@
             //{
             //    //RemoteInfo.Current.ReadMsgList(true);
             //}
-            //涓枃鍥藉唴key銆佽嫳鏂囨捣澶杒ey
-            EZSDK.IOS.EZSDK.InitLibWithAppKey("1aa98a90489b4838b966b57018b4b04b", "1aa98a90489b4838b966b57018b4b04b");
+            //楂樺痉key
+            GDMapKit.setGDApiKey("f0635ea15c5d579c6e93d9f07a06da69");
             Console.WriteLine("FinishedLaunching");
             return true;
         }
@@ -296,6 +297,7 @@
                     var expandData = "";
                     var messageType = "";
                     var expantContent = "";
+                    var homeId = "";
                     if (userInfo.ContainsKey(new NSString("expandData")))
                     {
                         var expandDataStr = userInfo["expandData"] as NSString;
@@ -316,6 +318,12 @@
                                     Utlis.WriteLine("expantContent: " + expantContent);
                                 }
 
+                                if (expandDataNSD.ContainsKey(new NSString("homeId")))
+                                {
+                                    homeId = expandDataNSD["homeId"].ToString();
+                                    Utlis.WriteLine("homeId: " + homeId);
+                                }
+
                             }
                         }
                         else
@@ -326,6 +334,7 @@
                     }
                     var pushMes = new JPushMessageInfo()
                     {
+                        HomeId = homeId,
                         Title = title,
                         Content = body,
                         Extras = expandData,

--
Gitblit v1.8.0