agora-appbuilder-core 4.1.11 → 4.1.12-beta-1

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.
@@ -11,7 +11,7 @@ const DefaultConfig = {
11
11
  PRECALL: true,
12
12
  CHAT: true,
13
13
  CLOUD_RECORDING: false,
14
- RECORDING_MODE: 'WEB',
14
+ RECORDING_MODE: 'MIX',
15
15
  SCREEN_SHARING: true,
16
16
  LANDING_SUB_HEADING: 'The Real-Time Engagement Platform',
17
17
  ENCRYPTION_ENABLED: false,
@@ -5,9 +5,38 @@ require Pod::Executable.execute_command('node', ['-p',
5
5
  {paths: [process.argv[1]]},
6
6
  )', __dir__]).strip
7
7
 
8
+ require 'cocoapods'
9
+ class Pod::Installer::Xcode::TargetValidator
10
+ def verify_no_duplicate_framework_and_library_names(*)
11
+ # Do nothing - allows duplicate frameworks
12
+ end
13
+ end
14
+
8
15
  platform :ios, min_ios_version_supported
9
16
  prepare_react_native_project!
10
17
 
18
+ # ======================================
19
+ # BOOST PODSPEC CHECKSUM FIX
20
+ # This ensures all developers use the patched Boost source URL:
21
+ # https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2
22
+ # ======================================
23
+ require 'fileutils'
24
+
25
+ boost_src = File.join(__dir__, 'podspec-patches', 'boost.podspec')
26
+ boost_dst = File.join(__dir__, '..', 'node_modules', 'react-native',
27
+ 'third-party-podspecs', 'boost.podspec')
28
+
29
+ if File.exist?(boost_src)
30
+ puts "➡️ Applying patched Boost podspec (checksum fix)"
31
+ FileUtils.cp(boost_src, boost_dst)
32
+ else
33
+ puts "⚠️ No patched Boost podspec found at #{boost_src}"
34
+ end
35
+ # ======================================
36
+ # BOOST PODSPEC CHECKSUM FIX
37
+ # ======================================
38
+
39
+
11
40
  # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
12
41
  # because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
13
42
  #
@@ -59,6 +88,40 @@ target 'HelloWorld' do
59
88
  :mac_catalyst_enabled => false
60
89
  )
61
90
  __apply_Xcode_12_5_M1_post_install_workaround(installer)
91
+
92
+ # === BEGIN: Bitcode Stripping ===
93
+ bitcode_strip_path = `xcrun --find bitcode_strip`.chomp
94
+
95
+ def strip_bitcode(framework_path, bitcode_strip_path)
96
+ if File.exist?(framework_path)
97
+ puts ":wrench: Stripping bitcode from: #{framework_path}"
98
+ system("#{bitcode_strip_path} #{framework_path} -r -o #{framework_path}")
99
+ else
100
+ puts ":warning: Framework not found: #{framework_path}"
101
+ end
102
+ end
103
+
104
+ frameworks_to_strip = [
105
+ # Agora RTM - device & simulator
106
+ "Pods/AgoraRtm_iOS/AgoraRtmKit.xcframework/ios-arm64_armv7/AgoraRtmKit.framework/AgoraRtmKit",
107
+ "Pods/AgoraRtm_iOS/AgoraRtmKit.xcframework/ios-arm64_i386_x86_64-simulator/AgoraRtmKit.framework/AgoraRtmKit",
108
+
109
+ # Hermes - device & simulator
110
+ "Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework/ios-arm64/hermes.framework/hermes",
111
+ "Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework/ios-arm64_x86_64-simulator/hermes.framework/hermes"
112
+ ]
113
+
114
+ frameworks_to_strip.each do |framework|
115
+ strip_bitcode(framework, bitcode_strip_path)
116
+ end
117
+
118
+ # Disable ENABLE_BITCODE for all Pod targets
119
+ installer.pods_project.targets.each do |target|
120
+ target.build_configurations.each do |config|
121
+ config.build_settings['ENABLE_BITCODE'] = 'NO'
122
+ end
123
+ end
124
+ # === END: Bitcode Stripping ===
62
125
  end
63
126
  end
64
127
 
@@ -0,0 +1,23 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ #
3
+ # This source code is licensed under the MIT license found in the
4
+ # LICENSE file in the root directory of this source tree.
5
+
6
+ Pod::Spec.new do |spec|
7
+ spec.name = 'boost'
8
+ spec.version = '1.76.0'
9
+ spec.license = { :type => 'Boost Software License', :file => "LICENSE_1_0.txt" }
10
+ spec.homepage = 'http://www.boost.org'
11
+ spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
12
+ spec.authors = 'Rene Rivera'
13
+ spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2',
14
+ :sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
15
+
16
+ # Pinning to the same version as React.podspec.
17
+ spec.platforms = { :ios => '11.0' }
18
+ spec.requires_arc = false
19
+
20
+ spec.module_name = 'boost'
21
+ spec.header_dir = 'boost'
22
+ spec.preserve_path = 'boost'
23
+ end
@@ -48,8 +48,8 @@
48
48
  "url": "https://github.com/AgoraIO-Community/app-builder-core"
49
49
  },
50
50
  "dependencies": {
51
- "@datadog/browser-logs": "^5.15.0",
52
- "@datadog/mobile-react-native": "^2.3.2",
51
+ "@datadog/browser-logs": "6.17.0",
52
+ "@datadog/mobile-react-native": "2.11.0",
53
53
  "@gorhom/bottom-sheet": "4.4.7",
54
54
  "@netless/react-native-whiteboard": "^0.0.14",
55
55
  "@openspacelabs/react-native-zoomable-view": "^2.1.1",
@@ -63,9 +63,9 @@
63
63
  "agora-extension-ai-denoiser": "1.1.0",
64
64
  "agora-extension-beauty-effect": "^1.0.2-beta",
65
65
  "agora-extension-virtual-background": "^1.1.3",
66
- "agora-react-native-rtm": "1.5.1",
66
+ "agora-react-native-rtm": "2.2.4",
67
67
  "agora-rtc-sdk-ng": "4.23.4",
68
- "agora-rtm-sdk": "1.5.1",
68
+ "agora-rtm-sdk": "2.2.2",
69
69
  "buffer": "^6.0.3",
70
70
  "electron-log": "4.3.5",
71
71
  "electron-squirrel-startup": "1.0.0",