From 3f52028f3ca6513f89933ed76e513376fec0962a Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期四, 02 一月 2020 17:55:07 +0800
Subject: [PATCH] 2020-01-02-2
---
ZigbeeApp/GateWay.Ios/AppDelegate.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ZigbeeApp/GateWay.Ios/AppDelegate.cs b/ZigbeeApp/GateWay.Ios/AppDelegate.cs
old mode 100755
new mode 100644
index 21a52c7..566871a
--- a/ZigbeeApp/GateWay.Ios/AppDelegate.cs
+++ b/ZigbeeApp/GateWay.Ios/AppDelegate.cs
@@ -4,7 +4,7 @@
using System;
using ObjCRuntime;
using UserNotifications;
-using Shared.Common;
+//using Shared.Common;
using Microsoft.AppCenter;
using Microsoft.AppCenter.Analytics;
using Microsoft.AppCenter.Crashes;
@@ -36,6 +36,7 @@
DeviceTokenAction += (deviceToken) =>
{
+
Shared.Common.Config.Instance.RegistrationID = deviceToken;
};
haveToSignOut = false;
@@ -76,6 +77,7 @@
}
}
AppCenter.Start("0ca801a2-742b-42fb-ba10-7ba4391371aa", typeof(Analytics), typeof(Crashes));
+ GDMapKit.setGDApiKey("866fae25f336bc8d9a79b1d19267fffb");//楂樺痉鍦板浘key
return true;
}
--
Gitblit v1.8.0