Commit 099ccbc5e10604407df6f21852907cbf08af1798

Authored by niudaojian
1 parent c1abba68

添加客服判断

CNLiveNewIMAManagerKit.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveNewIMAManagerKit'
11   - s.version = '0.7.9'
  11 + s.version = '0.8.0'
12 12 s.summary = 'A short description of CNLiveNewIMAManagerKit.'
13 13  
14 14 #s.description = <<-DESC
... ...
CNLiveNewIMAManagerKit/Classes/TIMCategory/IMAConversation+ShowAPIs.m
... ... @@ -130,6 +130,11 @@
130 130 {
131 131 return @"网家家餐厅";
132 132 }
  133 + else if ([recerive isEqualToString:[BHConfig get:@"CNCustomerServiceId"]])
  134 + {
  135 + return @"客服";
  136 + }
  137 +
133 138 CNUserProfile *obj = [[CNUserProfileFMDBManager manager] searchProfile:recerive];
134 139  
135 140 if ([recerive isEqualToString:[IMAPlatform sharedInstance].host.userId]) {
... ...
Example/Podfile
... ... @@ -13,3 +13,20 @@ target &#39;CNLiveNewIMAManagerKit_Example&#39; do
13 13  
14 14 end
15 15 end
  16 +
  17 +post_install do |installer|
  18 + installer.pods_project.targets.each do |target|
  19 + target.build_configurations.each do |config|
  20 + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
  21 + end
  22 + end
  23 +
  24 +# installer.generated_projects.each do |project|
  25 +# project.targets.each do |target|
  26 +# target.build_configurations.each do |config|
  27 +# config.build_settings["DEVELOPMENT_TEAM"] = "94X49GG3ZW"
  28 +# end
  29 +# end
  30 +# end
  31 +
  32 +end
... ...