Commit 8b27b81dd04e36505b85a46b60f97fa05462b4bb
1 parent
cbbed502
0.4.9添加DESKey
Showing
4 changed files
with
9 additions
and
2 deletions
CNLiveEnvironment.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 = 'CNLiveEnvironment' | 10 | s.name = 'CNLiveEnvironment' |
| 11 | - s.version = '0.4.8' | 11 | + s.version = '0.4.9' |
| 12 | s.summary = 'CNLiveEnvironment' | 12 | s.summary = 'CNLiveEnvironment' |
| 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. |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.h
| @@ -58,6 +58,7 @@ typedef NS_ENUM(NSInteger, CNLiveAppType) { | @@ -58,6 +58,7 @@ typedef NS_ENUM(NSInteger, CNLiveAppType) { | ||
| 58 | @property (nonatomic, copy, readonly) NSString *appId; // AppID | 58 | @property (nonatomic, copy, readonly) NSString *appId; // AppID |
| 59 | @property (nonatomic, copy, readonly) NSString *appKey; // AppKey | 59 | @property (nonatomic, copy, readonly) NSString *appKey; // AppKey |
| 60 | @property (nonatomic, copy, readonly) NSString *appSecret; // AppSecret | 60 | @property (nonatomic, copy, readonly) NSString *appSecret; // AppSecret |
| 61 | +@property (nonatomic, copy, readonly)NSString *DESKey;//DESKey | ||
| 61 | 62 | ||
| 62 | @property (nonatomic, copy, readonly) NSString *displayName; // 展示名字/App名字 | 63 | @property (nonatomic, copy, readonly) NSString *displayName; // 展示名字/App名字 |
| 63 | 64 |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.m
| @@ -41,6 +41,7 @@ | @@ -41,6 +41,7 @@ | ||
| 41 | @property (nonatomic, copy, readwrite) NSString *appId; //AppID | 41 | @property (nonatomic, copy, readwrite) NSString *appId; //AppID |
| 42 | @property (nonatomic, copy, readwrite) NSString *appKey; //AppKey | 42 | @property (nonatomic, copy, readwrite) NSString *appKey; //AppKey |
| 43 | @property (nonatomic, copy, readwrite) NSString *appSecret; //AppSecret | 43 | @property (nonatomic, copy, readwrite) NSString *appSecret; //AppSecret |
| 44 | +@property (nonatomic, copy, readwrite)NSString *DESKey; | ||
| 44 | 45 | ||
| 45 | @property (nonatomic, copy, readwrite) NSString *displayName; //App展示名字 | 46 | @property (nonatomic, copy, readwrite) NSString *displayName; //App展示名字 |
| 46 | 47 | ||
| @@ -212,6 +213,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -212,6 +213,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 212 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse.debug"; | 213 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse.debug"; |
| 213 | 214 | ||
| 214 | manager.appId = @"802_jhbqccxw08"; | 215 | manager.appId = @"802_jhbqccxw08"; |
| 216 | + manager.DESKey = @"jtOV4Rcb"; | ||
| 215 | manager.appKey = @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f"; | 217 | manager.appKey = @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f"; |
| 216 | manager.appSecret = @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea"; | 218 | manager.appSecret = @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea"; |
| 217 | 219 | ||
| @@ -297,6 +299,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -297,6 +299,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 297 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse"; | 299 | manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse"; |
| 298 | 300 | ||
| 299 | manager.appId = @"769_jetja50p18"; | 301 | manager.appId = @"769_jetja50p18"; |
| 302 | + manager.DESKey = @"4raPGVKW"; | ||
| 300 | manager.appKey = @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba"; | 303 | manager.appKey = @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba"; |
| 301 | manager.appSecret = @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83"; | 304 | manager.appSecret = @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83"; |
| 302 | 305 | ||
| @@ -382,6 +385,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -382,6 +385,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 382 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; | 385 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; |
| 383 | 386 | ||
| 384 | manager.appId = @"802_jhlqbq4475"; | 387 | manager.appId = @"802_jhlqbq4475"; |
| 388 | + manager.DESKey = @"JH2Jkg12"; | ||
| 385 | manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"; | 389 | manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"; |
| 386 | manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"; | 390 | manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"; |
| 387 | 391 | ||
| @@ -469,6 +473,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -469,6 +473,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 469 | manager.bundleId = @"com.cnlive.CNLiveNetAdd"; | 473 | manager.bundleId = @"com.cnlive.CNLiveNetAdd"; |
| 470 | 474 | ||
| 471 | manager.appId = @"769_jetj7bq525"; | 475 | manager.appId = @"769_jetj7bq525"; |
| 476 | + manager.DESKey = @"IuSstKh2"; | ||
| 472 | manager.appKey = @"0d57b045ec0c3988a682d94c644e66b9b8e0d2b8ef937d"; | 477 | manager.appKey = @"0d57b045ec0c3988a682d94c644e66b9b8e0d2b8ef937d"; |
| 473 | manager.appSecret = @"275e8dc29274a1186d82f65bc607c231d02bcb3bfd8976"; | 478 | manager.appSecret = @"275e8dc29274a1186d82f65bc607c231d02bcb3bfd8976"; |
| 474 | 479 | ||
| @@ -555,6 +560,7 @@ static CNLiveEnvironmentManager *_instance = nil; | @@ -555,6 +560,7 @@ static CNLiveEnvironmentManager *_instance = nil; | ||
| 555 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; | 560 | manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; |
| 556 | 561 | ||
| 557 | manager.appId = @"802_jhlqbq4475"; | 562 | manager.appId = @"802_jhlqbq4475"; |
| 563 | + manager.DESKey = @"JH2Jkg12"; | ||
| 558 | manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"; | 564 | manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"; |
| 559 | manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"; | 565 | manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"; |
| 560 | 566 |
Example/Podfile
| @@ -2,7 +2,7 @@ use_frameworks! | @@ -2,7 +2,7 @@ use_frameworks! | ||
| 2 | source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git' | 2 | source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git' |
| 3 | source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git' | 3 | source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git' |
| 4 | 4 | ||
| 5 | -platform :ios, '9.0' | 5 | +platform :ios, '10.0' |
| 6 | 6 | ||
| 7 | target 'CNLiveEnvironment_Example' do | 7 | target 'CNLiveEnvironment_Example' do |
| 8 | pod 'CNLiveEnvironment', :path => '../' | 8 | pod 'CNLiveEnvironment', :path => '../' |