Commit 020b2aceb3ef157205b7e98d109a49c93ea0f7e4

Authored by “张旭”
1 parent 5f31e58f

0.5.5

CNLiveEnvironment.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveEnvironment'
11   - s.version = '0.5.4'
  11 + s.version = '0.5.5'
12 12 s.summary = 'CNLiveEnvironment'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.h
... ... @@ -161,6 +161,16 @@ typedef NS_ENUM(NSInteger, CNLiveAppType) {
161 161 + (void)setEnvironment:(CNLiveEnvironmentType)environmentType isNewHomePage:(BOOL)isNewHomePage;
162 162  
163 163 /**
  164 + * @abstract 初始化元码配置
  165 + * @param environmentType 环境
  166 + * @warning 必传参数
  167 + * 在默认DEBUG环境下为测试商店版,建议使用如下方法初始化.
  168 + * 在 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; 方法中调用
  169 + */
  170 ++ (void)setMetaCodeEnvironment:(CNLiveEnvironmentType)environmentType;
  171 +
  172 +
  173 +/**
164 174 * @abstract 初始化企业端直播配置
165 175 * @param environmentType 环境
166 176 * @warning 必传参数
... ...