From 31c2cebbccba45a00a755981dd6d0cdd0a0459e9 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 14 八月 2018 17:28:38 +0800
Subject: [PATCH] Merge branch 'master' into leonard

---
 Assets/Editor/XCodeProjectMod.cs |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/Assets/Editor/XCodeProjectMod.cs b/Assets/Editor/XCodeProjectMod.cs
index cc1bb78..d978fa9 100644
--- a/Assets/Editor/XCodeProjectMod.cs
+++ b/Assets/Editor/XCodeProjectMod.cs
@@ -98,8 +98,8 @@
         _rootDict.SetString("NSMicrophoneUsageDescription", "浣跨敤楹﹀厠椋庢潈闄�");
         _rootDict.SetString("NSPhotoLibraryAddUsageDescription", "浣跨敤鐩稿唽鏉冮檺");
 
-        _rootDict.SetString("YLChannelId", "00000");
-        _rootDict.SetString("YLPlatformId", "00001");
+        _rootDict.SetString("YLChannelId", "1000");
+        _rootDict.SetString("YLPlatformId", "1000");
 
         File.WriteAllText(_plistPath, _plist.WriteToString());
     }
@@ -115,17 +115,14 @@
 
         string newCode = "\n" +
                          "extern \"C\" void IOSMessageHandle(const char* jsonString) {\n" +
-                         "    [GetAppController().universalSDK MessageHandler:[NSString stringWithUTF8String:jsonString]];\n" +
+                         "    [GetAppController().universalSDK HandleUnityMessage:[NSString stringWithUTF8String:jsonString]];\n" +
                          "}";
         _xclass.WriteBelow("extern \"C\" ScreenOrientation    UnityCurrentOrientation()   { return GetAppController().unityView.contentOrientation; }",
                            newCode);
 
         newCode = "\n" +
                    "    _universalSDK = [[UniversalSDK alloc] init];\n" +
-                   "    [_universalSDK JPushInit:launchOptions];\n" +
-                   "    [_universalSDK GetUniqueID];\n" +
-                   "    [_universalSDK GetDeviceInfo];" +
-                   "";
+                   "    [_universalSDK JPushInit:launchOptions];";
 
         //鍦ㄦ寚瀹氫唬鐮佸悗闈㈠鍔犱竴澶ц浠g爜
         _xclass.WriteBelow("[KeyboardDelegate Initialize];", newCode);

--
Gitblit v1.8.0