agora-appbuilder-core 4.1.9 → 4.1.11-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 +2 -2
- package/template/agora-rn-uikit/src/Contexts/PropsContext.tsx +1 -3
- package/template/agora-rn-uikit/src/Contexts/RtcContext.tsx +1 -2
- package/template/agora-rn-uikit/src/Reducer/index.ts +0 -2
- package/template/agora-rn-uikit/src/Rtc/Join.tsx +11 -25
- package/template/agora-rn-uikit/src/RtcConfigure.tsx +1 -14
- package/template/agora-rn-uikit/src/Utils/isBotUser.ts +1 -1
- package/template/android/app/build.gradle +0 -7
- package/template/bridge/rtm/web/Types.ts +0 -183
- package/template/bridge/rtm/web/index.ts +491 -423
- package/template/defaultConfig.js +3 -3
- package/template/ios/Podfile +0 -41
- package/template/package.json +5 -5
- package/template/src/assets/font-styles.css +4 -0
- package/template/src/assets/fonts/icomoon.ttf +0 -0
- package/template/src/assets/selection.json +1 -1
- package/template/src/atoms/ActionMenu.tsx +93 -13
- package/template/src/atoms/CustomIcon.tsx +1 -0
- package/template/src/atoms/DropDownMulti.tsx +80 -29
- package/template/src/atoms/Input.tsx +2 -1
- package/template/src/components/Controls.tsx +148 -143
- package/template/src/components/EventsConfigure.tsx +152 -97
- package/template/src/components/RTMConfigure.tsx +426 -644
- package/template/src/components/precall/joinCallBtn.native.tsx +7 -2
- package/template/src/components/precall/joinCallBtn.tsx +7 -2
- package/template/src/components/precall/joinWaitingRoomBtn.native.tsx +8 -3
- package/template/src/components/precall/joinWaitingRoomBtn.tsx +22 -4
- package/template/src/components/precall/textInput.tsx +45 -22
- package/template/src/components/precall/usePreCall.tsx +7 -0
- package/template/src/components/room-info/useRoomInfo.tsx +5 -0
- package/template/src/language/default-labels/videoCallScreenLabels.ts +27 -4
- package/template/src/pages/video-call/ActionSheetContent.tsx +77 -77
- package/template/src/pages/video-call/SidePanelHeader.tsx +81 -36
- package/template/src/rtm/RTMEngine.ts +33 -130
- package/template/src/rtm-events/constants.ts +6 -0
- package/template/src/rtm-events-api/Events.ts +30 -106
- package/template/src/subComponents/caption/Caption.tsx +48 -7
- package/template/src/subComponents/caption/CaptionContainer.tsx +324 -51
- package/template/src/subComponents/caption/CaptionIcon.tsx +35 -34
- package/template/src/subComponents/caption/CaptionText.tsx +103 -2
- package/template/src/subComponents/caption/LanguageSelectorPopup.tsx +179 -69
- package/template/src/subComponents/caption/Transcript.tsx +46 -11
- package/template/src/subComponents/caption/TranscriptIcon.tsx +27 -35
- package/template/src/subComponents/caption/TranscriptText.tsx +78 -3
- package/template/src/subComponents/caption/proto/ptoto.js +38 -4
- package/template/src/subComponents/caption/proto/test.proto +34 -19
- package/template/src/subComponents/caption/useCaption.tsx +753 -10
- package/template/src/subComponents/caption/useSTTAPI.tsx +118 -205
- package/template/src/subComponents/caption/useStreamMessageUtils.native.ts +152 -33
- package/template/src/subComponents/caption/useStreamMessageUtils.ts +165 -34
- package/template/src/subComponents/caption/utils.ts +171 -3
- package/template/src/utils/SdkEvents.ts +3 -0
- package/template/src/utils/useEndCall.ts +3 -5
- package/template/src/utils/useSpeechToText.ts +31 -20
- package/template/agora-rn-uikit/src/Reducer/Spotlight.ts +0 -11
- package/template/agora-rn-uikit/src/Reducer/UserBanned.ts +0 -11
- package/template/bridge/rtm/web/index-legacy.ts +0 -540
- package/template/src/components/RTMConfigure-legacy.tsx +0 -848
|
@@ -11,7 +11,7 @@ const DefaultConfig = {
|
|
|
11
11
|
PRECALL: true,
|
|
12
12
|
CHAT: true,
|
|
13
13
|
CLOUD_RECORDING: false,
|
|
14
|
-
RECORDING_MODE: '
|
|
14
|
+
RECORDING_MODE: 'WEB',
|
|
15
15
|
SCREEN_SHARING: true,
|
|
16
16
|
LANDING_SUB_HEADING: 'The Real-Time Engagement Platform',
|
|
17
17
|
ENCRYPTION_ENABLED: false,
|
|
@@ -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.
|
|
81
|
-
CORE_VERSION: '4.1.
|
|
80
|
+
CLI_VERSION: '3.1.11-beta.2',
|
|
81
|
+
CORE_VERSION: '4.1.11-beta.2',
|
|
82
82
|
DISABLE_LANDSCAPE_MODE: false,
|
|
83
83
|
STT_AUTO_START: false,
|
|
84
84
|
CLOUD_RECORDING_AUTO_START: false,
|
package/template/ios/Podfile
CHANGED
|
@@ -5,13 +5,6 @@ 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
|
-
|
|
15
8
|
platform :ios, min_ios_version_supported
|
|
16
9
|
prepare_react_native_project!
|
|
17
10
|
|
|
@@ -66,40 +59,6 @@ target 'HelloWorld' do
|
|
|
66
59
|
:mac_catalyst_enabled => false
|
|
67
60
|
)
|
|
68
61
|
__apply_Xcode_12_5_M1_post_install_workaround(installer)
|
|
69
|
-
|
|
70
|
-
# === BEGIN: Bitcode Stripping ===
|
|
71
|
-
bitcode_strip_path = `xcrun --find bitcode_strip`.chomp
|
|
72
|
-
|
|
73
|
-
def strip_bitcode(framework_path, bitcode_strip_path)
|
|
74
|
-
if File.exist?(framework_path)
|
|
75
|
-
puts ":wrench: Stripping bitcode from: #{framework_path}"
|
|
76
|
-
system("#{bitcode_strip_path} #{framework_path} -r -o #{framework_path}")
|
|
77
|
-
else
|
|
78
|
-
puts ":warning: Framework not found: #{framework_path}"
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
|
|
82
|
-
frameworks_to_strip = [
|
|
83
|
-
# Agora RTM - device & simulator
|
|
84
|
-
"Pods/AgoraRtm_iOS/AgoraRtmKit.xcframework/ios-arm64_armv7/AgoraRtmKit.framework/AgoraRtmKit",
|
|
85
|
-
"Pods/AgoraRtm_iOS/AgoraRtmKit.xcframework/ios-arm64_i386_x86_64-simulator/AgoraRtmKit.framework/AgoraRtmKit",
|
|
86
|
-
|
|
87
|
-
# Hermes - device & simulator
|
|
88
|
-
"Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework/ios-arm64/hermes.framework/hermes",
|
|
89
|
-
"Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework/ios-arm64_x86_64-simulator/hermes.framework/hermes"
|
|
90
|
-
]
|
|
91
|
-
|
|
92
|
-
frameworks_to_strip.each do |framework|
|
|
93
|
-
strip_bitcode(framework, bitcode_strip_path)
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
# Disable ENABLE_BITCODE for all Pod targets
|
|
97
|
-
installer.pods_project.targets.each do |target|
|
|
98
|
-
target.build_configurations.each do |config|
|
|
99
|
-
config.build_settings['ENABLE_BITCODE'] = 'NO'
|
|
100
|
-
end
|
|
101
|
-
end
|
|
102
|
-
# === END: Bitcode Stripping ===
|
|
103
62
|
end
|
|
104
63
|
end
|
|
105
64
|
|
package/template/package.json
CHANGED
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"url": "https://github.com/AgoraIO-Community/app-builder-core"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@datadog/browser-logs": "
|
|
52
|
-
"@datadog/mobile-react-native": "2.
|
|
51
|
+
"@datadog/browser-logs": "^5.15.0",
|
|
52
|
+
"@datadog/mobile-react-native": "^2.3.2",
|
|
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": "
|
|
66
|
+
"agora-react-native-rtm": "1.5.1",
|
|
67
67
|
"agora-rtc-sdk-ng": "4.23.4",
|
|
68
|
-
"agora-rtm-sdk": "
|
|
68
|
+
"agora-rtm-sdk": "1.5.1",
|
|
69
69
|
"buffer": "^6.0.3",
|
|
70
70
|
"electron-log": "4.3.5",
|
|
71
71
|
"electron-squirrel-startup": "1.0.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"nosleep.js": "0.12.0",
|
|
82
82
|
"npm": "^9.7.2",
|
|
83
83
|
"p-queue": "^7.3.4",
|
|
84
|
-
"protobufjs": "^7.2.
|
|
84
|
+
"protobufjs": "^7.2.5",
|
|
85
85
|
"react": "18.2.0",
|
|
86
86
|
"react-dom": "18.2.0",
|
|
87
87
|
"react-is": "18.0.0",
|
|
Binary file
|