agora-appbuilder-core 4.0.0-beta.78 → 4.0.0-beta.79

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 (74) hide show
  1. package/package.json +2 -2
  2. package/template/_package-lock.json +5857 -4847
  3. package/template/agora-rn-uikit/.eslintrc.js +5 -0
  4. package/template/agora-rn-uikit/package.json +14 -14
  5. package/template/agora-rn-uikit/src/Contexts/PropsContext.tsx +40 -25
  6. package/template/agora-rn-uikit/src/Contexts/RtcContext.tsx +2 -2
  7. package/template/agora-rn-uikit/src/Rtc/Create.tsx +90 -61
  8. package/template/agora-rn-uikit/src/Rtc/Join.tsx +20 -16
  9. package/template/agora-rn-uikit/src/RtcConfigure.tsx +20 -12
  10. package/template/agora-rn-uikit/src/Utils/isBotUser.ts +15 -0
  11. package/template/agora-rn-uikit/src/Views/MaxVideoView.native.tsx +32 -16
  12. package/template/agora-rn-uikit/src/Views/MaxVideoView.tsx +25 -14
  13. package/template/agora-rn-uikit/src/Views/MinVideoView.tsx +15 -9
  14. package/template/agora-rn-uikit/src/index.ts +1 -1
  15. package/template/bridge/rtc/webNg/RtcEngine.ts +99 -57
  16. package/template/bridge/rtc/webNg/{SurfaceView.tsx → RtcSurfaceView.tsx} +20 -26
  17. package/template/bridge/rtc/webNg/Types.ts +20 -5
  18. package/template/bridge/rtc/webNg/index.ts +9 -13
  19. package/template/index.js +1 -0
  20. package/template/ios/Podfile +1 -1
  21. package/template/ios/Podfile.lock +46 -137
  22. package/template/package.json +3 -2
  23. package/template/src/App.tsx +30 -1
  24. package/template/src/AppRoutes.tsx +16 -3
  25. package/template/src/AppWrapper.tsx +21 -19
  26. package/template/src/components/Chat.tsx +17 -8
  27. package/template/src/components/Controls.tsx +5 -5
  28. package/template/src/components/Controls1.native.tsx +7 -3
  29. package/template/src/components/DeviceConfigure.native.tsx +2 -2
  30. package/template/src/components/DeviceConfigure.tsx +2 -2
  31. package/template/src/components/GraphQLProvider.tsx +47 -30
  32. package/template/src/components/GridVideo.tsx +6 -2
  33. package/template/src/components/NetworkQualityContext.tsx +11 -5
  34. package/template/src/components/ParticipantsView.tsx +3 -3
  35. package/template/src/components/Precall.native.tsx +9 -6
  36. package/template/src/components/Precall.tsx +9 -6
  37. package/template/src/components/StorageContext.tsx +1 -1
  38. package/template/src/components/ToastComponent.tsx +7 -1
  39. package/template/src/components/contexts/LiveStreamDataContext.tsx +3 -3
  40. package/template/src/components/livestream/LiveStreamContext.tsx +42 -33
  41. package/template/src/components/livestream/Types.ts +2 -2
  42. package/template/src/components/participants/Participant.tsx +1 -1
  43. package/template/src/components/participants/UserActionMenuOptions.tsx +7 -2
  44. package/template/src/components/recording-bot/RecordingBotRoute.tsx +42 -0
  45. package/template/src/components/virtual-background/useVB.native.tsx +11 -13
  46. package/template/src/components/virtual-background/useVB.tsx +1 -1
  47. package/template/src/language/default-labels/precallScreenLabels.ts +5 -3
  48. package/template/src/language/default-labels/videoCallScreenLabels.ts +87 -41
  49. package/template/src/pages/VideoCall.tsx +32 -17
  50. package/template/src/pages/video-call/ActionSheetContent.tsx +4 -3
  51. package/template/src/pages/video-call/VideoCallScreen.tsx +32 -12
  52. package/template/src/pages/video-call/VideoCallScreenWrapper.tsx +41 -0
  53. package/template/src/pages/video-call/VideoComponent.tsx +5 -2
  54. package/template/src/pages/video-call/VideoRenderer.tsx +7 -10
  55. package/template/src/subComponents/LocalAudioMute.tsx +6 -5
  56. package/template/src/subComponents/LocalSwitchCamera.tsx +3 -3
  57. package/template/src/subComponents/LocalVideoMute.tsx +6 -5
  58. package/template/src/subComponents/SelectDevice.tsx +5 -2
  59. package/template/src/subComponents/SelectDeviceSettings.backup.tsx +9 -6
  60. package/template/src/subComponents/caption/Caption.tsx +12 -10
  61. package/template/src/subComponents/caption/Transcript.tsx +13 -10
  62. package/template/src/subComponents/livestream/ApprovedLiveStreamControlsView.tsx +2 -2
  63. package/template/src/subComponents/livestream/CurrentLiveStreamRequestsView.tsx +3 -2
  64. package/template/src/subComponents/livestream/controls/LocalRaiseHand.tsx +1 -1
  65. package/template/src/subComponents/recording/useIsRecordingBot.tsx +38 -0
  66. package/template/src/subComponents/recording/useRecording.tsx +129 -91
  67. package/template/src/subComponents/screenshare/ScreenshareButton.tsx +3 -3
  68. package/template/src/subComponents/screenshare/ScreenshareConfigure.tsx +1 -22
  69. package/template/src/utils/index.tsx +16 -5
  70. package/template/src/utils/useIsLocalUserSpeaking.ts +6 -1
  71. package/template/src/utils/useMuteToggleLocal.ts +2 -2
  72. package/template/src/utils/useSearchParams.tsx +18 -0
  73. package/template/src/wasms/agora-virtual-background.wasm +0 -0
  74. package/template/bridge/rtc/webNg/LocalView.tsx +0 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-appbuilder-core",
3
- "version": "4.0.0-beta.78",
3
+ "version": "4.0.0-beta.79",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "scripts": {
11
11
  "vercel-build": "npm run dev-setup && cd template && npm run web:build && cd .. && npm run copy-vercel",
12
- "uikit": "rm -rf template/agora-rn-uikit && git clone https://github.com/AgoraIO-Community/ReactNative-UIKit.git template/agora-rn-uikit && cd template/agora-rn-uikit && git checkout v3-release-geo-fencing",
12
+ "uikit": "rm -rf template/agora-rn-uikit && git clone https://github.com/AgoraIO-Community/ReactNative-UIKit.git template/agora-rn-uikit && cd template/agora-rn-uikit && git checkout feature/react-native-sdk-uikit-update",
13
13
  "deps": "cd template && npm i --force",
14
14
  "dev-setup": "npm run uikit && npm run deps && node devSetup.js",
15
15
  "web-build": "cd template && npm run web:build && cd .. && npm run copy-vercel",