agora-appbuilder-core 4.1.30-beta.1 → 4.1.30-beta.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-appbuilder-core",
3
- "version": "4.1.30-beta.1",
3
+ "version": "4.1.30-beta.2",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -77,8 +77,8 @@ const DefaultConfig = {
77
77
  CHAT_ORG_NAME: "",
78
78
  CHAT_APP_NAME: "",
79
79
  CHAT_URL: "",
80
- CLI_VERSION: "3.1.30-beta.1",
81
- CORE_VERSION: "4.1.30-beta.1",
80
+ CLI_VERSION: "3.1.30-beta.2",
81
+ CORE_VERSION: "4.1.30-beta.2",
82
82
  DISABLE_LANDSCAPE_MODE: false,
83
83
  STT_AUTO_START: false,
84
84
  CLOUD_RECORDING_AUTO_START: false,
@@ -942,7 +942,7 @@
942
942
  "$(inherited)",
943
943
  );
944
944
  INFOPLIST_FILE = HelloWorldTests/Info.plist;
945
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
945
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
946
946
  LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
947
947
  OTHER_LDFLAGS = (
948
948
  "-ObjC",
@@ -963,7 +963,7 @@
963
963
  BUNDLE_LOADER = "$(TEST_HOST)";
964
964
  COPY_PHASE_STRIP = NO;
965
965
  INFOPLIST_FILE = HelloWorldTests/Info.plist;
966
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
966
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
967
967
  LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
968
968
  OTHER_LDFLAGS = (
969
969
  "-ObjC",
@@ -989,7 +989,7 @@
989
989
  DEVELOPMENT_TEAM = "";
990
990
  ENABLE_BITCODE = NO;
991
991
  INFOPLIST_FILE = HelloWorld/Info.plist;
992
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
992
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
993
993
  LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
994
994
  OTHER_LDFLAGS = (
995
995
  "$(inherited)",
@@ -1020,7 +1020,7 @@
1020
1020
  CURRENT_PROJECT_VERSION = 1;
1021
1021
  DEVELOPMENT_TEAM = "";
1022
1022
  INFOPLIST_FILE = HelloWorld/Info.plist;
1023
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
1023
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
1024
1024
  LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1025
1025
  OTHER_LDFLAGS = (
1026
1026
  "$(inherited)",
@@ -1258,7 +1258,7 @@
1258
1258
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1259
1259
  GCC_WARN_UNUSED_FUNCTION = YES;
1260
1260
  GCC_WARN_UNUSED_VARIABLE = YES;
1261
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
1261
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
1262
1262
  LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
1263
1263
  LIBRARY_SEARCH_PATHS = (
1264
1264
  "$(SDKROOT)/usr/lib/swift",
@@ -1315,7 +1315,7 @@
1315
1315
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
1316
1316
  GCC_WARN_UNUSED_FUNCTION = YES;
1317
1317
  GCC_WARN_UNUSED_VARIABLE = YES;
1318
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
1318
+ IPHONEOS_DEPLOYMENT_TARGET = 15.1;
1319
1319
  LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
1320
1320
  LIBRARY_SEARCH_PATHS = (
1321
1321
  "$(SDKROOT)/usr/lib/swift",
@@ -12,42 +12,12 @@ class Pod::Installer::Xcode::TargetValidator
12
12
  end
13
13
  end
14
14
 
15
+ # Keep the legacy architecture used by the app and its Android configuration.
16
+ ENV['RCT_NEW_ARCH_ENABLED'] ||= '0'
17
+
15
18
  platform :ios, min_ios_version_supported
16
19
  prepare_react_native_project!
17
20
 
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
-
40
- # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
41
- # because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
42
- #
43
- # To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
44
- # ```js
45
- # module.exports = {
46
- # dependencies: {
47
- # ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
48
- # ```
49
- flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
50
-
51
21
  linkage = ENV['USE_FRAMEWORKS']
52
22
  if linkage != nil
53
23
  Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
@@ -58,19 +28,8 @@ target 'HelloWorld' do
58
28
  config = use_native_modules!
59
29
  pod 'TrustKit'
60
30
 
61
- # Flags change depending on the env values.
62
- flags = get_default_flags()
63
-
64
31
  use_react_native!(
65
32
  :path => config[:reactNativePath],
66
- # Hermes is now enabled by default. Disable by setting this flag to false.
67
- :hermes_enabled => flags[:hermes_enabled],
68
- :fabric_enabled => flags[:fabric_enabled],
69
- # Enables Flipper.
70
- #
71
- # Note that if you have use_frameworks! enabled, Flipper will not work and
72
- # you should disable the next line.
73
- :flipper_configuration => flipper_config,
74
33
  # An absolute path to your application root.
75
34
  :app_path => "#{Pod::Config.instance.installation_root}/.."
76
35
  )
@@ -87,7 +46,6 @@ target 'HelloWorld' do
87
46
  config[:reactNativePath],
88
47
  :mac_catalyst_enabled => false
89
48
  )
90
- __apply_Xcode_12_5_M1_post_install_workaround(installer)
91
49
 
92
50
  # === BEGIN: Bitcode Stripping ===
93
51
  bitcode_strip_path = `xcrun --find bitcode_strip`.chomp