From fbbfd430f289f3c0cc0f826b2207944ef7205c9d Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期二, 10 十二月 2019 10:17:50 +0800 Subject: [PATCH] 2019.12.10 --- ZigbeeApp/Home.Ios/AppDelegate.cs | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Home.Ios/AppDelegate.cs b/ZigbeeApp/Home.Ios/AppDelegate.cs old mode 100755 new mode 100644 index d9396e2..35edd52 --- a/ZigbeeApp/Home.Ios/AppDelegate.cs +++ b/ZigbeeApp/Home.Ios/AppDelegate.cs @@ -34,6 +34,8 @@ Shared.IOS.TBL.WXApi.RegisterApp("wx2ec8f53f6fa36e82", "https://hdlcontrol.com/ZigbeeApp/"); + Shared.IOS.TBL.WXApi.RegisterApp("wx2ec8f53f6fa36e82", "https://hdlcontrol.com/ZigbeeApp/"); + DeviceTokenAction += (deviceToken) => { Shared.Common.Config.Instance.RegistrationID = deviceToken; @@ -171,7 +173,7 @@ public override void OnResignActivation(UIApplication application) { // Invoked when the application is about to move from active to inactive state. - // This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) + // This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) // or when the user quits the application and it begins the transition to the background state. // Games should use this method to pause the game. base.OnResignActivation(application); @@ -197,7 +199,7 @@ public override void OnActivated(UIApplication application) { - // Restart any tasks that were paused (or not yet started) while the application was inactive. + // Restart any tasks that were paused (or not yet started) while the application was inactive. // If the application was previously in the background, optionally refresh the user interface. base.OnActivated(application); @@ -311,4 +313,4 @@ return resultBytes; } } -} \ No newline at end of file +} -- Gitblit v1.8.0