Commit 9d8b3365f119e2d01a5f546a2037eb31c5fff429
1 parent
ffd4ed52
no message
Showing
2 changed files
with
2 additions
and
1 deletions
CNLiveMineModule.podspec
Example/CNLiveMineModule/CNLIVEAppDelegate.m
| ... | ... | @@ -20,7 +20,7 @@ |
| 20 | 20 | // Override point for customization after application launch. |
| 21 | 21 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; |
| 22 | 22 | [CNLiveEnvironmentManager setEnvironment:CNLiveProductionAppStore]; |
| 23 | - [CNLiveUserSystemCenter setAppId:AppId appKey:APPKey appSecret:AppSecret isTestEnvironment:NO]; | |
| 23 | + [CNLiveUserSystemCenter setAppId:AppId appKey:APPKey appSecret:AppSecret isTestEnvironment:TestEnvironment]; | |
| 24 | 24 | if ([CNUserShareManager isLogin]) { |
| 25 | 25 | [CNLiveUserSystemCenter setUserId:CNUserShareModel.uid]; |
| 26 | 26 | } | ... | ... |