Commit 6f8d88a18ae14c4420bedca01a80e24d76fc68ab

Authored by 王军波
1 parent 4f4aa8ce

Apply appId bundle Id 更改

CNLiveChatSDKDemo/CNLiveChatSDKDemo.xcodeproj/project.pbxproj
@@ -347,7 +347,7 @@ @@ -347,7 +347,7 @@
347 GCC_PREFIX_HEADER = "$(SRCROOT)/CNLiveChatSDKDemo/PrefixHeader.pch"; 347 GCC_PREFIX_HEADER = "$(SRCROOT)/CNLiveChatSDKDemo/PrefixHeader.pch";
348 INFOPLIST_FILE = CNLiveChatSDKDemo/Info.plist; 348 INFOPLIST_FILE = CNLiveChatSDKDemo/Info.plist;
349 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 349 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
350 - PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.libs.CNLiveChatSDKDemo; 350 + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.chat;
351 PRODUCT_NAME = "$(TARGET_NAME)"; 351 PRODUCT_NAME = "$(TARGET_NAME)";
352 }; 352 };
353 name = Debug; 353 name = Debug;
@@ -364,7 +364,7 @@ @@ -364,7 +364,7 @@
364 GCC_PREFIX_HEADER = "$(SRCROOT)/CNLiveChatSDKDemo/PrefixHeader.pch"; 364 GCC_PREFIX_HEADER = "$(SRCROOT)/CNLiveChatSDKDemo/PrefixHeader.pch";
365 INFOPLIST_FILE = CNLiveChatSDKDemo/Info.plist; 365 INFOPLIST_FILE = CNLiveChatSDKDemo/Info.plist;
366 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 366 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
367 - PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.libs.CNLiveChatSDKDemo; 367 + PRODUCT_BUNDLE_IDENTIFIER = com.cnlive.chat;
368 PRODUCT_NAME = "$(TARGET_NAME)"; 368 PRODUCT_NAME = "$(TARGET_NAME)";
369 }; 369 };
370 name = Release; 370 name = Release;
CNLiveChatSDKDemo/CNLiveChatSDKDemo/AppDelegate.m
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
19 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
20 20
21 // 不要重复初始化 21 // 不要重复初始化
22 - [[CNLiveChatManager sharedCNLiveChatManager] initWithAppKey:@"69fe70bda67e059286ad509d9f5377f815955645b52f94" appId:@"60_irn9edco29"]; 22 + [[CNLiveChatManager sharedCNLiveChatManager] initWithAppKey:@"a425987ebc86e352b3373c25d5bd082d0cc248b4043028" appId:@"60_irn9cdak77"];
23 23
24 CNLiveChatUserInfo *userInfo = [[CNLiveChatUserInfo alloc] initWithUserId:@"20170312" name:@"20170312" portrait:@""]; 24 CNLiveChatUserInfo *userInfo = [[CNLiveChatUserInfo alloc] initWithUserId:@"20170312" name:@"20170312" portrait:@""];
25 25
CNLiveChatSDKDemo/CNLiveChatSDKDemo/Info.plist
@@ -20,6 +20,15 @@ @@ -20,6 +20,15 @@
20 <string>1</string> 20 <string>1</string>
21 <key>LSRequiresIPhoneOS</key> 21 <key>LSRequiresIPhoneOS</key>
22 <true/> 22 <true/>
  23 + <key>NSAppTransportSecurity</key>
  24 + <dict>
  25 + <key>NSAllowsArbitraryLoads</key>
  26 + <true/>
  27 + </dict>
  28 + <key>NSCameraUsageDescription</key>
  29 + <string></string>
  30 + <key>NSMicrophoneUsageDescription</key>
  31 + <string></string>
23 <key>UILaunchStoryboardName</key> 32 <key>UILaunchStoryboardName</key>
24 <string>LaunchScreen</string> 33 <string>LaunchScreen</string>
25 <key>UIMainStoryboardFile</key> 34 <key>UIMainStoryboardFile</key>
@@ -41,15 +50,5 @@ @@ -41,15 +50,5 @@
41 <string>UIInterfaceOrientationLandscapeLeft</string> 50 <string>UIInterfaceOrientationLandscapeLeft</string>
42 <string>UIInterfaceOrientationLandscapeRight</string> 51 <string>UIInterfaceOrientationLandscapeRight</string>
43 </array> 52 </array>
44 - <key>NSAppTransportSecurity</key>  
45 - <dict>  
46 - <key>NSAllowsArbitraryLoads</key>  
47 - <true/>  
48 - </dict>  
49 - <key>NSCameraUsageDescription</key>  
50 - <string></string>  
51 - <key>NSMicrophoneUsageDescription</key>  
52 - <string></string>  
53 -  
54 </dict> 53 </dict>
55 </plist> 54 </plist>