agora-appbuilder-core 4.0.0-beta.18 → 4.0.0-beta.20
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 +1 -1
- package/template/.bundle/config +2 -0
- package/template/Gemfile +4 -0
- package/template/_eslintrc.js +3 -3
- package/template/_gitignore +12 -11
- package/template/_package-lock.json +25351 -22828
- package/template/_prettierrc.js +2 -2
- package/template/agora-rn-uikit/src/Rtc/Create.tsx +1 -1
- package/template/agora-rn-uikit/src/Views/MaxVideoView.native.tsx +25 -3
- package/template/agora-rn-uikit/src/Views/MaxVideoView.tsx +11 -1
- package/template/android/app/build.gradle +59 -156
- package/template/android/app/src/debug/AndroidManifest.xml +6 -1
- package/template/android/app/src/debug/java/com/helloworld/ReactNativeFlipper.java +7 -4
- package/template/android/app/src/main/AndroidManifest.xml +2 -2
- package/template/android/app/src/main/assets/fonts/icomoon.ttf +0 -0
- package/template/android/app/src/main/java/com/helloworld/MainActivity.java +17 -0
- package/template/android/app/src/main/java/com/helloworld/MainApplication.java +19 -36
- package/template/android/app/src/release/java/com/helloworld/ReactNativeFlipper.java +20 -0
- package/template/android/build.gradle +9 -33
- package/template/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/template/android/gradle/wrapper/gradle-wrapper.properties +3 -2
- package/template/android/gradle.properties +18 -4
- package/template/android/gradlew +165 -104
- package/template/android/gradlew.bat +12 -23
- package/template/android/settings.gradle +1 -0
- package/template/bridge/rtc/webNg/RtcEngine.ts +58 -8
- package/template/bridge/rtm/web/index.ts +5 -3
- package/template/global.d.ts +1 -0
- package/template/ios/.xcode.env +11 -0
- package/template/ios/HelloWorld/AppDelegate.h +2 -4
- package/template/ios/HelloWorld/AppDelegate.mm +42 -0
- package/template/ios/HelloWorld/Info.plist +1 -1
- package/template/ios/HelloWorld/main.m +2 -1
- package/template/ios/HelloWorld.xcodeproj/project.pbxproj +529 -17
- package/template/ios/HelloWorld.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/template/ios/HelloWorld.xcworkspace/contents.xcworkspacedata +10 -0
- package/template/ios/HelloWorld.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/template/ios/HelloWorldTests/HelloWorldTests.m +14 -13
- package/template/ios/HelloWorldTests/Info.plist +2 -2
- package/template/ios/Podfile +53 -20
- package/template/ios/Podfile.lock +872 -0
- package/template/ios/ScreenSharing/Info.plist +15 -0
- package/template/ios/ScreenSharing/SampleHandler.h +9 -0
- package/template/ios/ScreenSharing/SampleHandler.m +70 -0
- package/template/jest.config.js +4 -0
- package/template/metro.config.js +7 -32
- package/template/package.json +45 -39
- package/template/react-native-toast-message/index.d.ts +1 -0
- package/template/src/assets/font-styles.css +135 -86
- package/template/src/assets/fonts/icomoon.ttf +0 -0
- package/template/src/assets/selection.json +1 -1
- package/template/src/atoms/ActionMenu.tsx +1 -0
- package/template/src/atoms/Carousel.native.tsx +105 -0
- package/template/src/atoms/Carousel.tsx +104 -0
- package/template/src/atoms/Checkbox.tsx +98 -0
- package/template/src/atoms/CustomIcon.tsx +13 -0
- package/template/src/atoms/DropDownMulti.tsx +349 -0
- package/template/src/atoms/ParticipantsCount.tsx +2 -4
- package/template/src/atoms/Popup.tsx +44 -26
- package/template/src/atoms/PrimaryButton.tsx +17 -4
- package/template/src/atoms/RecordingInfo.tsx +1 -1
- package/template/src/auth/AuthProvider.tsx +14 -13
- package/template/src/components/Chat.tsx +3 -0
- package/template/src/components/CommonStyles.ts +9 -2
- package/template/src/components/Controls.tsx +195 -14
- package/template/src/components/DeviceConfigure.tsx +1 -0
- package/template/src/components/EventsConfigure.tsx +31 -8
- package/template/src/components/GridVideo.tsx +7 -2
- package/template/src/components/ParticipantsView.tsx +3 -0
- package/template/src/components/PinnedVideo.tsx +5 -1
- package/template/src/components/RTMConfigure.tsx +19 -13
- package/template/src/components/SdkApiContext.tsx +2 -0
- package/template/src/components/SettingsView.tsx +4 -0
- package/template/src/components/chat-messages/useChatMessages.tsx +166 -152
- package/template/src/components/common/Error.tsx +1 -0
- package/template/src/components/contexts/ScreenShareContext.tsx +14 -1
- package/template/src/components/livestream/LiveStreamContext.tsx +189 -157
- package/template/src/components/participants/UserActionMenuOptions.tsx +1 -0
- package/template/src/components/popups/StartScreenSharePopup.native.tsx +179 -0
- package/template/src/components/popups/StartScreenSharePopup.tsx +6 -0
- package/template/src/components/popups/StopScreenSharePopup.native.tsx +123 -0
- package/template/src/components/popups/StopScreenSharePopup.tsx +6 -0
- package/template/src/components/useVideoCall.tsx +26 -0
- package/template/src/pages/Create.tsx +2 -0
- package/template/src/pages/Join.tsx +1 -0
- package/template/src/pages/VideoCall.tsx +20 -11
- package/template/src/pages/video-call/ActionSheet.native.tsx +39 -5
- package/template/src/pages/video-call/ActionSheet.tsx +43 -8
- package/template/src/pages/video-call/ActionSheetContent.tsx +295 -56
- package/template/src/pages/video-call/ActionSheetHandle.tsx +7 -1
- package/template/src/pages/video-call/NameWithMicIcon.tsx +7 -3
- package/template/src/pages/video-call/PinchableView.tsx +119 -0
- package/template/src/pages/video-call/SidePanelHeader.tsx +159 -1
- package/template/src/pages/video-call/VideoCallMobileView.tsx +128 -74
- package/template/src/pages/video-call/VideoCallScreen.native.tsx +24 -0
- package/template/src/pages/video-call/VideoCallScreen.tsx +20 -5
- package/template/src/pages/video-call/VideoRenderer.tsx +181 -30
- package/template/src/pages/video-call/ZoomableWrapper.native.tsx +34 -0
- package/template/src/pages/video-call/ZoomableWrapper.tsx +5 -0
- package/template/src/rtm/RTMEngine.ts +4 -4
- package/template/src/rtm-events/constants.ts +5 -0
- package/template/src/selection.json +1 -0
- package/template/src/subComponents/EndcallPopup.tsx +68 -6
- package/template/src/subComponents/Loading.tsx +22 -9
- package/template/src/subComponents/LocalEndCall.tsx +32 -4
- package/template/src/subComponents/LocalSwitchCamera.tsx +8 -2
- package/template/src/subComponents/LocalVideoMute.tsx +19 -2
- package/template/src/subComponents/SidePanelEnum.tsx +1 -0
- package/template/src/subComponents/SidePanelHeader.tsx +97 -63
- package/template/src/subComponents/caption/Caption.tsx +128 -0
- package/template/src/subComponents/caption/CaptionContainer.tsx +296 -0
- package/template/src/subComponents/caption/CaptionIcon.tsx +119 -0
- package/template/src/subComponents/caption/CaptionText.tsx +181 -0
- package/template/src/subComponents/caption/DownloadTranscriptBtn.tsx +62 -0
- package/template/src/subComponents/caption/LanguageSelectorPopup.tsx +184 -0
- package/template/src/subComponents/caption/Transcript.tsx +440 -0
- package/template/src/subComponents/caption/TranscriptIcon.tsx +114 -0
- package/template/src/subComponents/caption/TranscriptText.tsx +98 -0
- package/template/src/subComponents/caption/index.ts +3 -0
- package/template/src/subComponents/caption/proto/ptoto.js +91 -0
- package/template/src/subComponents/caption/proto/test.proto +23 -0
- package/template/src/subComponents/caption/useCaption.tsx +116 -0
- package/template/src/subComponents/caption/useCaptionWidth.ts +27 -0
- package/template/src/subComponents/caption/useSTTAPI.tsx +160 -0
- package/template/src/subComponents/caption/useStreamMessageUtils.native.ts +205 -0
- package/template/src/subComponents/caption/useStreamMessageUtils.ts +217 -0
- package/template/src/subComponents/caption/useTranscriptDownload.native.ts +68 -0
- package/template/src/subComponents/caption/useTranscriptDownload.ts +52 -0
- package/template/src/subComponents/caption/utils.ts +118 -0
- package/template/src/subComponents/recording/useRecording.tsx +2 -1
- package/template/src/subComponents/screenshare/ScreenshareButton.tsx +23 -4
- package/template/src/subComponents/screenshare/ScreenshareConfigure.native.tsx +195 -53
- package/template/src/subComponents/screenshare/ScreenshareConfigure.tsx +75 -61
- package/template/src/utils/axiomLogger.ts +117 -0
- package/template/src/utils/common.tsx +37 -0
- package/template/src/utils/useAsyncEffect.ts +138 -0
- package/template/src/utils/useFindActiveSpeaker.native.ts +4 -0
- package/template/src/utils/useFindActiveSpeaker.ts +275 -0
- package/template/src/utils/useIsLocalUserSpeaking.native.ts +4 -0
- package/template/src/utils/useIsLocalUserSpeaking.ts +50 -0
- package/template/src/utils/useMuteToggleLocal.ts +17 -48
- package/template/web/index.html +20 -0
- package/template/_buckconfig +0 -6
- package/template/_gitattributes +0 -1
- package/template/android/app/_BUCK +0 -55
- package/template/android/app/build_defs.bzl +0 -19
- package/template/ios/HelloWorld/AppDelegate.m +0 -74
- package/template/src/subComponents/screenshare/ScreenshareButton.native.tsx +0 -18
package/package.json
CHANGED
package/template/Gemfile
ADDED
package/template/_eslintrc.js
CHANGED
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
module.exports = {
|
|
13
13
|
root: true,
|
|
14
|
-
extends: '@react-native
|
|
14
|
+
extends: '@react-native',
|
|
15
15
|
parser: '@typescript-eslint/parser',
|
|
16
16
|
plugins: ['@typescript-eslint'],
|
|
17
17
|
globals: {
|
|
18
|
-
$config: true
|
|
19
|
-
}
|
|
18
|
+
$config: true,
|
|
19
|
+
},
|
|
20
20
|
};
|
package/template/_gitignore
CHANGED
|
@@ -39,12 +39,6 @@ node_modules/
|
|
|
39
39
|
npm-debug.log
|
|
40
40
|
yarn-error.log
|
|
41
41
|
|
|
42
|
-
# BUCK
|
|
43
|
-
buck-out/
|
|
44
|
-
\.buckd/
|
|
45
|
-
*.keystore
|
|
46
|
-
!debug.keystore
|
|
47
|
-
|
|
48
42
|
# fastlane
|
|
49
43
|
#
|
|
50
44
|
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
|
@@ -52,15 +46,17 @@ buck-out/
|
|
|
52
46
|
# For more information about the recommended setup visit:
|
|
53
47
|
# https://docs.fastlane.tools/best-practices/source-control/
|
|
54
48
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
49
|
+
**/fastlane/report.xml
|
|
50
|
+
**/fastlane/Preview.html
|
|
51
|
+
**/fastlane/screenshots
|
|
52
|
+
**/fastlane/test_output
|
|
58
53
|
|
|
59
54
|
# Bundle artifact
|
|
60
55
|
*.jsbundle
|
|
61
56
|
|
|
62
|
-
# CocoaPods
|
|
57
|
+
# Ruby / CocoaPods
|
|
63
58
|
/ios/Pods/
|
|
59
|
+
/vendor/bundle/
|
|
64
60
|
|
|
65
61
|
#UI Kit
|
|
66
62
|
agora-rn-uikit/
|
|
@@ -74,4 +70,9 @@ dist/
|
|
|
74
70
|
out/
|
|
75
71
|
|
|
76
72
|
#Customization plugin folder
|
|
77
|
-
template/customization/*
|
|
73
|
+
template/customization/*
|
|
74
|
+
|
|
75
|
+
# Temporary files created by Metro to check the health of the file watcher
|
|
76
|
+
.metro-health-check*
|
|
77
|
+
# testing
|
|
78
|
+
/coverage
|