agora-appbuilder-core 4.0.12-beta.1 → 4.0.13

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