agora-appbuilder-core 4.0.19 → 4.0.20-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.
Files changed (83) hide show
  1. package/package.json +1 -1
  2. package/template/Gulpfile.js +0 -1
  3. package/template/_package-lock.json +1364 -1576
  4. package/template/android/app/src/main/assets/fonts/icomoon.ttf +0 -0
  5. package/template/bridge/rtc/webNg/RtcSurfaceView.tsx +1 -1
  6. package/template/customization-api/sub-components.ts +0 -10
  7. package/template/customization-api/types.ts +0 -6
  8. package/template/defaultConfig.js +1 -3
  9. package/template/global.d.ts +1 -3
  10. package/template/ios/Podfile.lock +0 -10
  11. package/template/package-lock.json +1364 -1576
  12. package/template/package.json +0 -4
  13. package/template/src/SDKAppWrapper.tsx +2 -8
  14. package/template/src/app-state/useMessages.ts +9 -49
  15. package/template/src/assets/font-styles.css +128 -288
  16. package/template/src/assets/fonts/icomoon.ttf +0 -0
  17. package/template/src/assets/selection.json +1 -1
  18. package/template/src/atoms/ActionMenu.tsx +2 -5
  19. package/template/src/atoms/CustomIcon.tsx +2 -17
  20. package/template/src/atoms/ImageIcon.tsx +3 -19
  21. package/template/src/atoms/Popup.tsx +4 -13
  22. package/template/src/atoms/ToolbarPreset.tsx +6 -57
  23. package/template/src/auth/AuthProvider.tsx +2 -7
  24. package/template/src/auth/config.ts +3 -12
  25. package/template/src/components/Chat.tsx +1 -7
  26. package/template/src/components/ChatContext.ts +0 -12
  27. package/template/src/components/CommonStyles.ts +2 -2
  28. package/template/src/components/Controls.tsx +29 -57
  29. package/template/src/components/DeviceConfigure.tsx +5 -5
  30. package/template/src/components/Leftbar.tsx +4 -4
  31. package/template/src/components/Navbar.tsx +29 -54
  32. package/template/src/components/NavbarMobile.tsx +33 -23
  33. package/template/src/components/PinnedVideo.tsx +1 -1
  34. package/template/src/components/RTMConfigure.tsx +3 -4
  35. package/template/src/components/SdkApiContext.tsx +1 -4
  36. package/template/src/components/chat-messages/useChatMessages.tsx +607 -411
  37. package/template/src/components/chat-ui/useChatUIControls.tsx +0 -53
  38. package/template/src/components/meeting-info-invite/MeetingInfoGridTile.tsx +1 -4
  39. package/template/src/components/participants/Participant.tsx +1 -0
  40. package/template/src/components/precall/joinWaitingRoomBtn.native.tsx +1 -6
  41. package/template/src/components/precall/joinWaitingRoomBtn.tsx +1 -6
  42. package/template/src/components/recordings/recording-table.tsx +165 -69
  43. package/template/src/components/recordings/style.ts +55 -0
  44. package/template/src/components/recordings/utils.ts +46 -4
  45. package/template/src/components/room-info/useRoomInfo.tsx +0 -10
  46. package/template/src/components/whiteboard/WhiteboardConfigure.tsx +0 -6
  47. package/template/src/language/default-labels/videoCallScreenLabels.ts +6 -86
  48. package/template/src/pages/VideoCall.tsx +27 -27
  49. package/template/src/pages/video-call/ActionSheetContent.tsx +3 -32
  50. package/template/src/pages/video-call/VideoCallScreenWrapper.tsx +12 -22
  51. package/template/src/pages/video-call/VideoComponent.tsx +5 -11
  52. package/template/src/pages/video-call/index.ts +0 -8
  53. package/template/src/rtm-events/constants.ts +4 -0
  54. package/template/src/subComponents/ChatBubble.tsx +32 -252
  55. package/template/src/subComponents/ChatContainer.tsx +4 -14
  56. package/template/src/subComponents/ChatInput.ios.tsx +184 -0
  57. package/template/src/subComponents/ChatInput.tsx +100 -276
  58. package/template/src/subComponents/RemoteMutePopup.tsx +131 -12
  59. package/template/src/subComponents/caption/CaptionContainer.tsx +2 -6
  60. package/template/src/subComponents/recording/useIsRecordingBot.tsx +2 -1
  61. package/template/src/subComponents/recording/useRecording.tsx +261 -114
  62. package/template/src/subComponents/screenshare/ScreenshareConfigure.tsx +22 -1
  63. package/template/src/utils/SdkMethodEvents.ts +0 -1
  64. package/template/src/utils/common.tsx +0 -17
  65. package/template/src/utils/fetch-retry.ts +23 -0
  66. package/template/src/utils/index.tsx +0 -30
  67. package/template/src/utils/useEndCall.ts +0 -7
  68. package/template/src/utils/useFindActiveSpeaker.ts +12 -0
  69. package/template/src/utils/useJoinRoom.ts +1 -39
  70. package/template/android/link-assets-manifest.json +0 -13
  71. package/template/ios/link-assets-manifest.json +0 -13
  72. package/template/src/atoms/InlinePopup.tsx +0 -185
  73. package/template/src/components/chat/chatConfigure.native.tsx +0 -488
  74. package/template/src/components/chat/chatConfigure.tsx +0 -473
  75. package/template/src/subComponents/ChatInput.native.tsx +0 -269
  76. package/template/src/subComponents/chat/ChatActionMenu.tsx +0 -224
  77. package/template/src/subComponents/chat/ChatAttachment.native.tsx +0 -237
  78. package/template/src/subComponents/chat/ChatAttachment.tsx +0 -149
  79. package/template/src/subComponents/chat/ChatEmoji.native.tsx +0 -75
  80. package/template/src/subComponents/chat/ChatEmoji.tsx +0 -181
  81. package/template/src/subComponents/chat/ChatSendButton.tsx +0 -141
  82. package/template/src/subComponents/chat/ChatUploadStatus.tsx +0 -65
  83. package/template/src/subComponents/chat/ImagePopup.tsx +0 -400
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-appbuilder-core",
3
- "version": "4.0.19",
3
+ "version": "4.0.20-beta.2",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -258,7 +258,6 @@ const reactSdk = {
258
258
  bundleSdkTypedefs: () => {
259
259
  return src(['../Builds/customization-api.d.ts', '../Builds/reactSdk.d.ts'])
260
260
  .pipe(concat('index.d.ts'))
261
- .pipe(replace(`${config.PRODUCT_ID}/`, ''))
262
261
  .pipe(
263
262
  replace(
264
263
  'declare module "index.rsdk"',