@byteplus/react-native-live-pull 1.3.0 → 1.3.3-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,7 @@ if (volcApiEnvVersion) {
42
42
  } else if (rootProject.hasProperty('VOLC_API_ENGINE_VERSION_FOR_LIVE_PULL')) {
43
43
  volc_api_engine_version = rootProject.property('VOLC_API_ENGINE_VERSION_FOR_LIVE_PULL')
44
44
  } else {
45
- volc_api_engine_version = "1.6.4" // Default version
45
+ volc_api_engine_version = "1.6.6" // Default version
46
46
  }
47
47
 
48
48
  println "[LIVE PULL GRADLE INFO]: Using ttsdk_ttlivepull_rtc version: $ttsdk_ttlivepull_rtc_version"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/react-native-live-pull",
3
- "version": "1.3.0",
3
+ "version": "1.3.3-rc.0",
4
4
  "peerDependencies": {
5
5
  "react": "*",
6
6
  "react-native": "*"
@@ -52,10 +52,17 @@ Pod::Spec.new do |s|
52
52
  # Version configuration through environment variables
53
53
  volc_api_engine_version = ENV['VOLC_API_ENGINE_VERSION_FOR_LIVE_PULL'] || '1.6.5'
54
54
  ttsdk_framework_version = ENV['TTSDK_FRAMEWORK_VERSION_FOR_LIVE_PULL'] || (is_bp ? package['nativeVersion']['byteplus']['ios'] : package['nativeVersion']['volc']['ios'])
55
+
56
+ use_rtc = ENV['USE_RTC_FOR_LIVE_PULL'] || 'true'
55
57
 
56
58
  s.dependency 'VolcApiEngine', volc_api_engine_version
57
59
  s.dependency 'TTSDKFramework/Core', ttsdk_framework_version
58
- s.dependency 'TTSDKFramework/LivePull-RTS', ttsdk_framework_version
60
+
61
+ if use_rtc == 'true'
62
+ s.dependency 'TTSDKFramework/LivePull-RTS', ttsdk_framework_version
63
+ else
64
+ s.dependency 'TTSDKFramework/LivePull', ttsdk_framework_version
65
+ end
59
66
 
60
- puts("[LIVE PULL POD INSTALL INFO]: volc_api_engine_version: #{volc_api_engine_version} / ttsdk_framework_version: #{ttsdk_framework_version}")
61
- end
67
+ puts("[LIVE PULL POD INSTALL INFO]: volc_api_engine_version: #{volc_api_engine_version} / ttsdk_framework_version: #{ttsdk_framework_version} / use_rtc: #{use_rtc}")
68
+ end