Commit c48202d21b110c7d64cb3202edabc6cd388a42fa
1 parent
a8649279
no message
Showing
2 changed files
with
18 additions
and
1 deletions
CNLiveEnvironmentConfiguration.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveEnvironmentConfiguration' | 10 | s.name = 'CNLiveEnvironmentConfiguration' |
| 11 | - s.version = '0.0.4' | 11 | + s.version = '0.0.5' |
| 12 | s.summary = '网家家环境配置' | 12 | s.summary = '网家家环境配置' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveEnvironmentConfiguration/Classes/CNEnvironmentHeader.h
| @@ -80,6 +80,10 @@ | @@ -80,6 +80,10 @@ | ||
| 80 | // #define IPA_APPSTORE 0 ////0: App Store版 1:企业版 | 80 | // #define IPA_APPSTORE 0 ////0: App Store版 1:企业版 |
| 81 | 81 | ||
| 82 | #ifdef IPA_APPSTORE //主工程中只导入该头文件之前,如果定义IPA_APPSTORE(无论值是0或者1)就是企业版,否则就是App Store版 | 82 | #ifdef IPA_APPSTORE //主工程中只导入该头文件之前,如果定义IPA_APPSTORE(无论值是0或者1)就是企业版,否则就是App Store版 |
| 83 | +// 平台环境配置描述 | ||
| 84 | +#define AppEnvironmentDesc @"正式企业版" | ||
| 85 | +#define AppEnvironmentBundleId @"com.cnlive.CNLiveNetAddInHouse" | ||
| 86 | + | ||
| 83 | // 正式企业版 | 87 | // 正式企业版 |
| 84 | // 企业版 com.cnlive.CNLiveNetAddInHouse | 88 | // 企业版 com.cnlive.CNLiveNetAddInHouse |
| 85 | #ifndef AppId | 89 | #ifndef AppId |
| @@ -121,6 +125,10 @@ | @@ -121,6 +125,10 @@ | ||
| 121 | static NSString *const CNLiveTingYunAppKey = @"782d9a70547a4e3f91cb328b122bb85c"; | 125 | static NSString *const CNLiveTingYunAppKey = @"782d9a70547a4e3f91cb328b122bb85c"; |
| 122 | 126 | ||
| 123 | #else | 127 | #else |
| 128 | + | ||
| 129 | +#define AppEnvironmentDesc @"正式个人版" | ||
| 130 | +#define AppEnvironmentBundleId @"com.cnlive.CNLiveNetAdd" | ||
| 131 | + | ||
| 124 | // 正式个人版 | 132 | // 正式个人版 |
| 125 | // 正式版 com.cnlive.CNLiveNetAdd | 133 | // 正式版 com.cnlive.CNLiveNetAdd |
| 126 | #ifndef AppId | 134 | #ifndef AppId |
| @@ -184,6 +192,7 @@ static NSString *const CNLiveShareSDKAppSecret_Share = @"da94a6f881d404092c9a710 | @@ -184,6 +192,7 @@ static NSString *const CNLiveShareSDKAppSecret_Share = @"da94a6f881d404092c9a710 | ||
| 184 | #else | 192 | #else |
| 185 | 193 | ||
| 186 | #pragma mark - 测试环境 | 194 | #pragma mark - 测试环境 |
| 195 | + | ||
| 187 | // 测试环境平台配置 | 196 | // 测试环境平台配置 |
| 188 | // IMSDK相关的配置 | 197 | // IMSDK相关的配置 |
| 189 | #define kWXAccount @"wjj_app_test" | 198 | #define kWXAccount @"wjj_app_test" |
| @@ -238,6 +247,10 @@ static NSString *const CNLiveShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a71 | @@ -238,6 +247,10 @@ static NSString *const CNLiveShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a71 | ||
| 238 | //#define IPA_APPSTORE 1 ////0: 个人版 1:企业版 | 247 | //#define IPA_APPSTORE 1 ////0: 个人版 1:企业版 |
| 239 | 248 | ||
| 240 | #ifdef IPA_APPSTORE | 249 | #ifdef IPA_APPSTORE |
| 250 | +// 平台环境配置描述 | ||
| 251 | +#define AppEnvironmentDesc @"测试企业版" | ||
| 252 | +#define AppEnvironmentBundleId @"com.cnlive.CNLiveNetAddInHouse.debug" | ||
| 253 | + | ||
| 241 | // 测试企业版 | 254 | // 测试企业版 |
| 242 | // 企业版 com.cnlive.CNLiveNetAddInHouse.debug | 255 | // 企业版 com.cnlive.CNLiveNetAddInHouse.debug |
| 243 | #ifndef AppId | 256 | #ifndef AppId |
| @@ -280,6 +293,10 @@ static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352" | @@ -280,6 +293,10 @@ static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352" | ||
| 280 | 293 | ||
| 281 | #else | 294 | #else |
| 282 | 295 | ||
| 296 | +// 平台环境配置描述 | ||
| 297 | +#define AppEnvironmentDesc @"测试个人版" | ||
| 298 | +#define AppEnvironmentBundleId @"com.cnlive.CNLiveNetAdd.debug" | ||
| 299 | + | ||
| 283 | // 测试个人版 | 300 | // 测试个人版 |
| 284 | // 个人版 com.cnlive.CNLiveNetAdd.debug | 301 | // 个人版 com.cnlive.CNLiveNetAdd.debug |
| 285 | #ifndef AppId | 302 | #ifndef AppId |