agora-appbuilder-core 4.0.27 → 4.0.28-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 +2 -2
  2. package/template/_package-lock.json +10 -7
  3. package/template/agora-rn-uikit/src/Reducer/UserOffline.ts +9 -0
  4. package/template/bridge/rtm/web/index.ts +44 -26
  5. package/template/customization-api/app-state.ts +1 -0
  6. package/template/customization-api/atoms.ts +8 -0
  7. package/template/customization-api/index.ts +1 -0
  8. package/template/customization-api/sub-components.ts +4 -1
  9. package/template/customization-api/temp.ts +1 -2
  10. package/template/customization-api/typeDefinition.ts +8 -0
  11. package/template/customization-api/types.ts +3 -0
  12. package/template/customization-api/utils.ts +10 -1
  13. package/template/defaultConfig.js +2 -2
  14. package/template/ios/HelloWorld.xcodeproj/project.pbxproj +102 -50
  15. package/template/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/ScreenSharing.xcscheme +95 -0
  16. package/template/ios/Podfile +1 -1
  17. package/template/ios/Podfile.lock +200 -44
  18. package/template/ios/ScreenSharing/SampleHandler.h +2 -6
  19. package/template/ios/ScreenSharing/SampleHandler.m +17 -48
  20. package/template/package-lock.json +10 -7
  21. package/template/package.json +1 -1
  22. package/template/src/AppWrapper.tsx +2 -2
  23. package/template/src/assets/selection.json +3491 -1
  24. package/template/src/atoms/ActionMenu.tsx +96 -113
  25. package/template/src/atoms/LinkButton.tsx +4 -3
  26. package/template/src/atoms/ToolbarItem.tsx +36 -22
  27. package/template/src/atoms/ToolbarPreset.tsx +18 -3
  28. package/template/src/components/Controls.tsx +72 -49
  29. package/template/src/components/CustomSidePanel.tsx +82 -0
  30. package/template/src/components/EventsConfigure.tsx +11 -27
  31. package/template/src/components/Navbar.tsx +51 -86
  32. package/template/src/components/NavbarMobile.tsx +27 -3
  33. package/template/src/components/PinnedVideo.tsx +9 -0
  34. package/template/src/components/RTMConfigure.tsx +69 -1
  35. package/template/src/components/Settings.tsx +6 -29
  36. package/template/src/components/chat/chatConfigure.native.tsx +123 -119
  37. package/template/src/components/chat/chatConfigure.tsx +59 -46
  38. package/template/src/components/chat-messages/useChatMessages.tsx +5 -4
  39. package/template/src/components/chat-ui/useChatUIControls.tsx +4 -1
  40. package/template/src/components/livestream/views/LiveStreamControls.tsx +2 -1
  41. package/template/src/components/participants/UserActionMenuOptions.tsx +10 -10
  42. package/template/src/components/virtual-background/VBButton.tsx +5 -7
  43. package/template/src/language/default-labels/videoCallScreenLabels.ts +9 -2
  44. package/template/src/language/i18nTypes.ts +1 -1
  45. package/template/src/pages/video-call/ActionSheet.native.tsx +110 -34
  46. package/template/src/pages/video-call/ActionSheet.tsx +109 -27
  47. package/template/src/pages/video-call/ActionSheetContent.tsx +67 -49
  48. package/template/src/pages/video-call/ActionSheetHandle.tsx +12 -2
  49. package/template/src/pages/video-call/SidePanelHeader.tsx +28 -2
  50. package/template/src/pages/video-call/VideoCallScreen.tsx +70 -16
  51. package/template/src/pages/video-call/VideoRenderer.tsx +1 -0
  52. package/template/src/rtm-events-api/Events.ts +37 -3
  53. package/template/src/rtm-events-api/LocalEvents.ts +1 -0
  54. package/template/src/rtm-events-api/types.ts +5 -0
  55. package/template/src/subComponents/ChatBubble.tsx +15 -1
  56. package/template/src/subComponents/ChatInput.tsx +18 -7
  57. package/template/src/subComponents/CopyJoinInfo.tsx +5 -13
  58. package/template/src/subComponents/LayoutIconButton.tsx +6 -14
  59. package/template/src/subComponents/LocalAudioMute.tsx +7 -11
  60. package/template/src/subComponents/LocalEndCall.tsx +6 -4
  61. package/template/src/subComponents/LocalSwitchCamera.tsx +5 -4
  62. package/template/src/subComponents/LocalVideoMute.tsx +10 -36
  63. package/template/src/subComponents/Recording.tsx +4 -10
  64. package/template/src/subComponents/ScreenShareNotice.tsx +3 -0
  65. package/template/src/subComponents/SidePanelEnum.tsx +6 -6
  66. package/template/src/subComponents/caption/CaptionContainer.tsx +2 -2
  67. package/template/src/subComponents/caption/CaptionIcon.tsx +21 -17
  68. package/template/src/subComponents/caption/TranscriptIcon.tsx +6 -3
  69. package/template/src/subComponents/chat/ChatActionMenu.tsx +3 -3
  70. package/template/src/subComponents/chat/ChatAttachment.tsx +107 -51
  71. package/template/src/subComponents/chat/ChatEmoji.tsx +8 -4
  72. package/template/src/subComponents/chat/ChatSendButton.tsx +52 -30
  73. package/template/src/subComponents/chat/ChatUploadStatus.tsx +22 -3
  74. package/template/src/subComponents/chat/ImagePopup.tsx +4 -4
  75. package/template/src/subComponents/livestream/controls/LocalRaiseHand.tsx +14 -25
  76. package/template/src/subComponents/screenshare/ScreenshareButton.tsx +8 -7
  77. package/template/src/subComponents/screenshare/ScreenshareConfigure.native.tsx +333 -163
  78. package/template/src/utils/common.tsx +22 -9
  79. package/template/src/utils/useEndCall.ts +6 -4
  80. package/template/src/utils/useFullScreen.native.ts +12 -0
  81. package/template/src/utils/useOrientation.tsx +46 -46
  82. package/template/src/utils/useSidePanel.tsx +2 -2
  83. package/template/src/utils/useString.ts +6 -4
@@ -0,0 +1,95 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "1500"
4
+ wasCreatedForAppExtension = "YES"
5
+ version = "2.0">
6
+ <BuildAction
7
+ parallelizeBuildables = "YES"
8
+ buildImplicitDependencies = "YES">
9
+ <BuildActionEntries>
10
+ <BuildActionEntry
11
+ buildForTesting = "YES"
12
+ buildForRunning = "YES"
13
+ buildForProfiling = "YES"
14
+ buildForArchiving = "YES"
15
+ buildForAnalyzing = "YES">
16
+ <BuildableReference
17
+ BuildableIdentifier = "primary"
18
+ BlueprintIdentifier = "7E7BB95D2A5BEDFC00B07618"
19
+ BuildableName = "ScreenSharing.appex"
20
+ BlueprintName = "ScreenSharing"
21
+ ReferencedContainer = "container:HelloWorld.xcodeproj">
22
+ </BuildableReference>
23
+ </BuildActionEntry>
24
+ <BuildActionEntry
25
+ buildForTesting = "YES"
26
+ buildForRunning = "YES"
27
+ buildForProfiling = "YES"
28
+ buildForArchiving = "YES"
29
+ buildForAnalyzing = "YES">
30
+ <BuildableReference
31
+ BuildableIdentifier = "primary"
32
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
33
+ BuildableName = "HelloWorld.app"
34
+ BlueprintName = "HelloWorld"
35
+ ReferencedContainer = "container:HelloWorld.xcodeproj">
36
+ </BuildableReference>
37
+ </BuildActionEntry>
38
+ </BuildActionEntries>
39
+ </BuildAction>
40
+ <TestAction
41
+ buildConfiguration = "Debug"
42
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
43
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
44
+ shouldUseLaunchSchemeArgsEnv = "YES"
45
+ shouldAutocreateTestPlan = "YES">
46
+ </TestAction>
47
+ <LaunchAction
48
+ buildConfiguration = "Debug"
49
+ selectedDebuggerIdentifier = ""
50
+ selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
51
+ launchStyle = "0"
52
+ askForAppToLaunch = "Yes"
53
+ useCustomWorkingDirectory = "NO"
54
+ ignoresPersistentStateOnLaunch = "NO"
55
+ debugDocumentVersioning = "YES"
56
+ debugServiceExtension = "internal"
57
+ allowLocationSimulation = "YES"
58
+ launchAutomaticallySubstyle = "2">
59
+ <BuildableProductRunnable
60
+ runnableDebuggingMode = "0">
61
+ <BuildableReference
62
+ BuildableIdentifier = "primary"
63
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
64
+ BuildableName = "HelloWorld.app"
65
+ BlueprintName = "HelloWorld"
66
+ ReferencedContainer = "container:HelloWorld.xcodeproj">
67
+ </BuildableReference>
68
+ </BuildableProductRunnable>
69
+ </LaunchAction>
70
+ <ProfileAction
71
+ buildConfiguration = "Release"
72
+ shouldUseLaunchSchemeArgsEnv = "YES"
73
+ savedToolIdentifier = ""
74
+ useCustomWorkingDirectory = "NO"
75
+ debugDocumentVersioning = "YES"
76
+ launchAutomaticallySubstyle = "2">
77
+ <BuildableProductRunnable
78
+ runnableDebuggingMode = "0">
79
+ <BuildableReference
80
+ BuildableIdentifier = "primary"
81
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
82
+ BuildableName = "HelloWorld.app"
83
+ BlueprintName = "HelloWorld"
84
+ ReferencedContainer = "container:HelloWorld.xcodeproj">
85
+ </BuildableReference>
86
+ </BuildableProductRunnable>
87
+ </ProfileAction>
88
+ <AnalyzeAction
89
+ buildConfiguration = "Debug">
90
+ </AnalyzeAction>
91
+ <ArchiveAction
92
+ buildConfiguration = "Release"
93
+ revealArchiveInOrganizer = "YES">
94
+ </ArchiveAction>
95
+ </Scheme>
@@ -63,5 +63,5 @@ target 'HelloWorld' do
63
63
  end
64
64
 
65
65
  target 'ScreenSharing' do
66
- pod 'AgoraRtcEngine_iOS', '4.3.0'
66
+ pod 'AgoraRtcEngine_iOS', '4.3.2'
67
67
  end
@@ -2,42 +2,68 @@ PODS:
2
2
  - agora-react-native-rtm (1.5.1):
3
3
  - AgoraRtm_iOS (= 1.5.1)
4
4
  - React-Core
5
- - AgoraIrisRTC_iOS (4.2.6.3-build.1)
6
- - AgoraRtcEngine_iOS (4.3.0):
7
- - AgoraRtcEngine_iOS/AIAEC (= 4.3.0)
8
- - AgoraRtcEngine_iOS/AINS (= 4.3.0)
9
- - AgoraRtcEngine_iOS/AudioBeauty (= 4.3.0)
10
- - AgoraRtcEngine_iOS/ClearVision (= 4.3.0)
11
- - AgoraRtcEngine_iOS/ContentInspect (= 4.3.0)
12
- - AgoraRtcEngine_iOS/FaceCapture (= 4.3.0)
13
- - AgoraRtcEngine_iOS/FaceDetection (= 4.3.0)
14
- - AgoraRtcEngine_iOS/ReplayKit (= 4.3.0)
15
- - AgoraRtcEngine_iOS/RtcBasic (= 4.3.0)
16
- - AgoraRtcEngine_iOS/SpatialAudio (= 4.3.0)
17
- - AgoraRtcEngine_iOS/VideoAv1CodecDec (= 4.3.0)
18
- - AgoraRtcEngine_iOS/VideoCodecDec (= 4.3.0)
19
- - AgoraRtcEngine_iOS/VideoCodecEnc (= 4.3.0)
20
- - AgoraRtcEngine_iOS/VirtualBackground (= 4.3.0)
21
- - AgoraRtcEngine_iOS/VQA (= 4.3.0)
22
- - AgoraRtcEngine_iOS/AIAEC (4.3.0)
23
- - AgoraRtcEngine_iOS/AINS (4.3.0)
24
- - AgoraRtcEngine_iOS/AudioBeauty (4.3.0)
25
- - AgoraRtcEngine_iOS/ClearVision (4.3.0)
26
- - AgoraRtcEngine_iOS/ContentInspect (4.3.0)
27
- - AgoraRtcEngine_iOS/FaceCapture (4.3.0)
28
- - AgoraRtcEngine_iOS/FaceDetection (4.3.0)
29
- - AgoraRtcEngine_iOS/ReplayKit (4.3.0)
30
- - AgoraRtcEngine_iOS/RtcBasic (4.3.0)
31
- - AgoraRtcEngine_iOS/SpatialAudio (4.3.0)
32
- - AgoraRtcEngine_iOS/VideoAv1CodecDec (4.3.0)
33
- - AgoraRtcEngine_iOS/VideoCodecDec (4.3.0)
34
- - AgoraRtcEngine_iOS/VideoCodecEnc (4.3.0)
35
- - AgoraRtcEngine_iOS/VirtualBackground (4.3.0)
36
- - AgoraRtcEngine_iOS/VQA (4.3.0)
37
- - AgoraRtcEngine_Special_iOS (4.2.6.3)
5
+ - AgoraIrisRTC_iOS (4.3.2-build.1)
6
+ - AgoraRtcEngine_iOS (4.3.2):
7
+ - AgoraRtcEngine_iOS/AIAEC (= 4.3.2)
8
+ - AgoraRtcEngine_iOS/AINS (= 4.3.2)
9
+ - AgoraRtcEngine_iOS/AudioBeauty (= 4.3.2)
10
+ - AgoraRtcEngine_iOS/ClearVision (= 4.3.2)
11
+ - AgoraRtcEngine_iOS/ContentInspect (= 4.3.2)
12
+ - AgoraRtcEngine_iOS/FaceCapture (= 4.3.2)
13
+ - AgoraRtcEngine_iOS/FaceDetection (= 4.3.2)
14
+ - AgoraRtcEngine_iOS/LipSync (= 4.3.2)
15
+ - AgoraRtcEngine_iOS/ReplayKit (= 4.3.2)
16
+ - AgoraRtcEngine_iOS/RtcBasic (= 4.3.2)
17
+ - AgoraRtcEngine_iOS/SpatialAudio (= 4.3.2)
18
+ - AgoraRtcEngine_iOS/VideoAv1CodecDec (= 4.3.2)
19
+ - AgoraRtcEngine_iOS/VideoAv1CodecEnc (= 4.3.2)
20
+ - AgoraRtcEngine_iOS/VideoCodecDec (= 4.3.2)
21
+ - AgoraRtcEngine_iOS/VideoCodecEnc (= 4.3.2)
22
+ - AgoraRtcEngine_iOS/VirtualBackground (= 4.3.2)
23
+ - AgoraRtcEngine_iOS/VQA (= 4.3.2)
24
+ - AgoraRtcEngine_iOS/AIAEC (4.3.2)
25
+ - AgoraRtcEngine_iOS/AINS (4.3.2)
26
+ - AgoraRtcEngine_iOS/AudioBeauty (4.3.2)
27
+ - AgoraRtcEngine_iOS/ClearVision (4.3.2)
28
+ - AgoraRtcEngine_iOS/ContentInspect (4.3.2)
29
+ - AgoraRtcEngine_iOS/FaceCapture (4.3.2)
30
+ - AgoraRtcEngine_iOS/FaceDetection (4.3.2)
31
+ - AgoraRtcEngine_iOS/LipSync (4.3.2)
32
+ - AgoraRtcEngine_iOS/ReplayKit (4.3.2)
33
+ - AgoraRtcEngine_iOS/RtcBasic (4.3.2)
34
+ - AgoraRtcEngine_iOS/SpatialAudio (4.3.2)
35
+ - AgoraRtcEngine_iOS/VideoAv1CodecDec (4.3.2)
36
+ - AgoraRtcEngine_iOS/VideoAv1CodecEnc (4.3.2)
37
+ - AgoraRtcEngine_iOS/VideoCodecDec (4.3.2)
38
+ - AgoraRtcEngine_iOS/VideoCodecEnc (4.3.2)
39
+ - AgoraRtcEngine_iOS/VirtualBackground (4.3.2)
40
+ - AgoraRtcEngine_iOS/VQA (4.3.2)
38
41
  - AgoraRtm_iOS (1.5.1)
39
42
  - BEMCheckBox (1.4.1)
40
43
  - boost (1.76.0)
44
+ - CocoaAsyncSocket (7.6.5)
45
+ - DatadogCore (2.7.1):
46
+ - DatadogInternal (= 2.7.1)
47
+ - DatadogCrashReporting (2.7.1):
48
+ - DatadogInternal (= 2.7.1)
49
+ - PLCrashReporter (~> 1.11.1)
50
+ - DatadogInternal (2.7.1)
51
+ - DatadogLogs (2.7.1):
52
+ - DatadogInternal (= 2.7.1)
53
+ - DatadogRUM (2.7.1):
54
+ - DatadogInternal (= 2.7.1)
55
+ - DatadogSDKReactNative (2.3.2):
56
+ - DatadogCore (~> 2.7.1)
57
+ - DatadogCrashReporting (~> 2.7.1)
58
+ - DatadogLogs (~> 2.7.1)
59
+ - DatadogRUM (~> 2.7.1)
60
+ - DatadogTrace (~> 2.7.1)
61
+ - DatadogWebViewTracking (~> 2.7.1)
62
+ - React-Core
63
+ - DatadogTrace (2.7.1):
64
+ - DatadogInternal (= 2.7.1)
65
+ - DatadogWebViewTracking (2.7.1):
66
+ - DatadogInternal (= 2.7.1)
41
67
  - DoubleConversion (1.1.6)
42
68
  - FBLazyVector (0.72.4)
43
69
  - FBReactNativeSpec (0.72.4):
@@ -47,6 +73,64 @@ PODS:
47
73
  - React-Core (= 0.72.4)
48
74
  - React-jsi (= 0.72.4)
49
75
  - ReactCommon/turbomodule/core (= 0.72.4)
76
+ - Flipper (0.182.0):
77
+ - Flipper-Folly (~> 2.6)
78
+ - Flipper-Boost-iOSX (1.76.0.1.11)
79
+ - Flipper-DoubleConversion (3.2.0.1)
80
+ - Flipper-Fmt (7.1.7)
81
+ - Flipper-Folly (2.6.10):
82
+ - Flipper-Boost-iOSX
83
+ - Flipper-DoubleConversion
84
+ - Flipper-Fmt (= 7.1.7)
85
+ - Flipper-Glog
86
+ - libevent (~> 2.1.12)
87
+ - OpenSSL-Universal (= 1.1.1100)
88
+ - Flipper-Glog (0.5.0.5)
89
+ - Flipper-PeerTalk (0.0.4)
90
+ - FlipperKit (0.182.0):
91
+ - FlipperKit/Core (= 0.182.0)
92
+ - FlipperKit/Core (0.182.0):
93
+ - Flipper (~> 0.182.0)
94
+ - FlipperKit/CppBridge
95
+ - FlipperKit/FBCxxFollyDynamicConvert
96
+ - FlipperKit/FBDefines
97
+ - FlipperKit/FKPortForwarding
98
+ - SocketRocket (~> 0.6.0)
99
+ - FlipperKit/CppBridge (0.182.0):
100
+ - Flipper (~> 0.182.0)
101
+ - FlipperKit/FBCxxFollyDynamicConvert (0.182.0):
102
+ - Flipper-Folly (~> 2.6)
103
+ - FlipperKit/FBDefines (0.182.0)
104
+ - FlipperKit/FKPortForwarding (0.182.0):
105
+ - CocoaAsyncSocket (~> 7.6)
106
+ - Flipper-PeerTalk (~> 0.0.4)
107
+ - FlipperKit/FlipperKitHighlightOverlay (0.182.0)
108
+ - FlipperKit/FlipperKitLayoutHelpers (0.182.0):
109
+ - FlipperKit/Core
110
+ - FlipperKit/FlipperKitHighlightOverlay
111
+ - FlipperKit/FlipperKitLayoutTextSearchable
112
+ - FlipperKit/FlipperKitLayoutIOSDescriptors (0.182.0):
113
+ - FlipperKit/Core
114
+ - FlipperKit/FlipperKitHighlightOverlay
115
+ - FlipperKit/FlipperKitLayoutHelpers
116
+ - YogaKit (~> 1.18)
117
+ - FlipperKit/FlipperKitLayoutPlugin (0.182.0):
118
+ - FlipperKit/Core
119
+ - FlipperKit/FlipperKitHighlightOverlay
120
+ - FlipperKit/FlipperKitLayoutHelpers
121
+ - FlipperKit/FlipperKitLayoutIOSDescriptors
122
+ - FlipperKit/FlipperKitLayoutTextSearchable
123
+ - YogaKit (~> 1.18)
124
+ - FlipperKit/FlipperKitLayoutTextSearchable (0.182.0)
125
+ - FlipperKit/FlipperKitNetworkPlugin (0.182.0):
126
+ - FlipperKit/Core
127
+ - FlipperKit/FlipperKitReactPlugin (0.182.0):
128
+ - FlipperKit/Core
129
+ - FlipperKit/FlipperKitUserDefaultsPlugin (0.182.0):
130
+ - FlipperKit/Core
131
+ - FlipperKit/SKIOSNetworkPlugin (0.182.0):
132
+ - FlipperKit/Core
133
+ - FlipperKit/FlipperKitNetworkPlugin
50
134
  - fmt (6.2.1)
51
135
  - glog (0.3.5)
52
136
  - hermes-engine (0.72.4):
@@ -55,6 +139,8 @@ PODS:
55
139
  - HyphenateChat (4.1.1)
56
140
  - IQKeyboardManagerSwift (6.5.4)
57
141
  - libevent (2.1.12)
142
+ - OpenSSL-Universal (1.1.1100)
143
+ - PLCrashReporter (1.11.2)
58
144
  - RCT-Folly (2021.07.22.00):
59
145
  - boost
60
146
  - DoubleConversion
@@ -355,9 +441,9 @@ PODS:
355
441
  - React-jsinspector (0.72.4)
356
442
  - React-logger (0.72.4):
357
443
  - glog
358
- - react-native-agora (4.2.6-build.3-rc.1):
359
- - AgoraIrisRTC_iOS (= 4.2.6.3-build.1)
360
- - AgoraRtcEngine_Special_iOS (= 4.2.6.3)
444
+ - react-native-agora (4.3.2):
445
+ - AgoraIrisRTC_iOS (= 4.3.2-build.1)
446
+ - AgoraRtcEngine_iOS (= 4.3.2)
361
447
  - RCT-Folly (= 2021.07.22.00)
362
448
  - React-Core
363
449
  - react-native-chat-sdk (1.2.1):
@@ -365,6 +451,8 @@ PODS:
365
451
  - React-Core
366
452
  - react-native-document-picker (9.1.1):
367
453
  - React-Core
454
+ - react-native-get-random-values (1.11.0):
455
+ - React-Core
368
456
  - react-native-keep-awake (4.0.0):
369
457
  - React
370
458
  - react-native-webview (13.8.1):
@@ -541,17 +629,41 @@ PODS:
541
629
  - SocketRocket (0.6.1)
542
630
  - TrustKit (3.0.4)
543
631
  - Yoga (1.14.0)
632
+ - YogaKit (1.18.1):
633
+ - Yoga (~> 1.14)
544
634
 
545
635
  DEPENDENCIES:
546
636
  - agora-react-native-rtm (from `../node_modules/agora-react-native-rtm`)
547
- - AgoraRtcEngine_iOS (= 4.3.0)
637
+ - AgoraRtcEngine_iOS (= 4.3.2)
548
638
  - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
639
+ - "DatadogSDKReactNative (from `../node_modules/@datadog/mobile-react-native`)"
549
640
  - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
550
641
  - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
551
642
  - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
643
+ - Flipper (= 0.182.0)
644
+ - Flipper-Boost-iOSX (= 1.76.0.1.11)
645
+ - Flipper-DoubleConversion (= 3.2.0.1)
646
+ - Flipper-Fmt (= 7.1.7)
647
+ - Flipper-Folly (= 2.6.10)
648
+ - Flipper-Glog (= 0.5.0.5)
649
+ - Flipper-PeerTalk (= 0.0.4)
650
+ - FlipperKit (= 0.182.0)
651
+ - FlipperKit/Core (= 0.182.0)
652
+ - FlipperKit/CppBridge (= 0.182.0)
653
+ - FlipperKit/FBCxxFollyDynamicConvert (= 0.182.0)
654
+ - FlipperKit/FBDefines (= 0.182.0)
655
+ - FlipperKit/FKPortForwarding (= 0.182.0)
656
+ - FlipperKit/FlipperKitHighlightOverlay (= 0.182.0)
657
+ - FlipperKit/FlipperKitLayoutPlugin (= 0.182.0)
658
+ - FlipperKit/FlipperKitLayoutTextSearchable (= 0.182.0)
659
+ - FlipperKit/FlipperKitNetworkPlugin (= 0.182.0)
660
+ - FlipperKit/FlipperKitReactPlugin (= 0.182.0)
661
+ - FlipperKit/FlipperKitUserDefaultsPlugin (= 0.182.0)
662
+ - FlipperKit/SKIOSNetworkPlugin (= 0.182.0)
552
663
  - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
553
664
  - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`)
554
665
  - libevent (~> 2.1.12)
666
+ - OpenSSL-Universal (= 1.1.1100)
555
667
  - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
556
668
  - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
557
669
  - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
@@ -559,6 +671,7 @@ DEPENDENCIES:
559
671
  - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`)
560
672
  - React-Codegen (from `build/generated/ios`)
561
673
  - React-Core (from `../node_modules/react-native/`)
674
+ - React-Core/DevSupport (from `../node_modules/react-native/`)
562
675
  - React-Core/RCTWebSocket (from `../node_modules/react-native/`)
563
676
  - React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
564
677
  - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
@@ -571,6 +684,7 @@ DEPENDENCIES:
571
684
  - react-native-agora (from `../node_modules/react-native-agora`)
572
685
  - react-native-chat-sdk (from `../node_modules/react-native-agora-chat`)
573
686
  - react-native-document-picker (from `../node_modules/react-native-document-picker`)
687
+ - react-native-get-random-values (from `../node_modules/react-native-get-random-values`)
574
688
  - react-native-keep-awake (from `../node_modules/react-native-keep-awake`)
575
689
  - react-native-webview (from `../node_modules/react-native-webview`)
576
690
  - "react-native-whiteboard (from `../node_modules/@netless/react-native-whiteboard`)"
@@ -611,21 +725,41 @@ SPEC REPOS:
611
725
  trunk:
612
726
  - AgoraIrisRTC_iOS
613
727
  - AgoraRtcEngine_iOS
614
- - AgoraRtcEngine_Special_iOS
615
728
  - AgoraRtm_iOS
616
729
  - BEMCheckBox
730
+ - CocoaAsyncSocket
731
+ - DatadogCore
732
+ - DatadogCrashReporting
733
+ - DatadogInternal
734
+ - DatadogLogs
735
+ - DatadogRUM
736
+ - DatadogTrace
737
+ - DatadogWebViewTracking
738
+ - Flipper
739
+ - Flipper-Boost-iOSX
740
+ - Flipper-DoubleConversion
741
+ - Flipper-Fmt
742
+ - Flipper-Folly
743
+ - Flipper-Glog
744
+ - Flipper-PeerTalk
745
+ - FlipperKit
617
746
  - fmt
618
747
  - HyphenateChat
619
748
  - IQKeyboardManagerSwift
620
749
  - libevent
750
+ - OpenSSL-Universal
751
+ - PLCrashReporter
621
752
  - SocketRocket
622
753
  - TrustKit
754
+ - YogaKit
623
755
 
624
756
  EXTERNAL SOURCES:
625
757
  agora-react-native-rtm:
626
758
  :path: "../node_modules/agora-react-native-rtm"
627
759
  boost:
628
760
  :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec"
761
+ DatadogSDKReactNative:
762
+ :path: "../node_modules/@datadog/mobile-react-native"
629
763
  DoubleConversion:
630
764
  :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
631
765
  FBLazyVector:
@@ -673,6 +807,8 @@ EXTERNAL SOURCES:
673
807
  :path: "../node_modules/react-native-agora-chat"
674
808
  react-native-document-picker:
675
809
  :path: "../node_modules/react-native-document-picker"
810
+ react-native-get-random-values:
811
+ :path: "../node_modules/react-native-get-random-values"
676
812
  react-native-keep-awake:
677
813
  :path: "../node_modules/react-native-keep-awake"
678
814
  react-native-webview:
@@ -744,21 +880,39 @@ EXTERNAL SOURCES:
744
880
 
745
881
  SPEC CHECKSUMS:
746
882
  agora-react-native-rtm: 20cd594088d33caa46c75f2d079efbac62848cec
747
- AgoraIrisRTC_iOS: ee4eab41999febb67bc21539741b95d9577725a9
748
- AgoraRtcEngine_iOS: 267c0980c1fb97e056d05b850f8629b05b6e467a
749
- AgoraRtcEngine_Special_iOS: 3b515beaee084fc27a8cac8415fc346d609af269
883
+ AgoraIrisRTC_iOS: 3cb15344a503a1a35ab6d60481732a8beeda98fe
884
+ AgoraRtcEngine_iOS: eaa97751fcfe1b50d9b067e0df92752a6a5f899f
750
885
  AgoraRtm_iOS: 595a9fa33a409831e6183396ea8f8bc563918403
751
886
  BEMCheckBox: 5ba6e37ade3d3657b36caecc35c8b75c6c2b1a4e
752
887
  boost: 57d2868c099736d80fcd648bf211b4431e51a558
888
+ CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
889
+ DatadogCore: 4a4cdf7beca3aa12b7095bebd926acea1a865a99
890
+ DatadogCrashReporting: f8b4ea638acaf58b68bbc51cb62a2d876f763241
891
+ DatadogInternal: b9217da25018284c087a2ed4b9bb3b0f26c767c0
892
+ DatadogLogs: 3b4132eefa67f196bb3ab2d603c1a2acd1292615
893
+ DatadogRUM: 8845815ba89f5ab8ceee765ee268f7de36f3e35d
894
+ DatadogSDKReactNative: 4367bbafa363ab39112c8e273ad79e1d46c3d9fa
895
+ DatadogTrace: a63da746c609bd4c683bca61a94429889e33b11e
896
+ DatadogWebViewTracking: 713f862ddd89173e0a3f5342cefa23def40f0f48
753
897
  DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
754
898
  FBLazyVector: 5d4a3b7f411219a45a6d952f77d2c0a6c9989da5
755
899
  FBReactNativeSpec: 3fc2d478e1c4b08276f9dd9128f80ec6d5d85c1f
900
+ Flipper: 6edb735e6c3e332975d1b17956bcc584eccf5818
901
+ Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c
902
+ Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30
903
+ Flipper-Fmt: 60cbdd92fc254826e61d669a5d87ef7015396a9b
904
+ Flipper-Folly: 584845625005ff068a6ebf41f857f468decd26b3
905
+ Flipper-Glog: 70c50ce58ddaf67dc35180db05f191692570f446
906
+ Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
907
+ FlipperKit: 2efad7007d6745a3f95e4034d547be637f89d3f6
756
908
  fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
757
909
  glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
758
910
  hermes-engine: 81191603c4eaa01f5e4ae5737a9efcf64756c7b2
759
911
  HyphenateChat: 95aa4abbad0e763f513acbe21ff9543f50b886cd
760
912
  IQKeyboardManagerSwift: 2dde0fc70110e8eac7ccce2a46fdbec6a850b414
761
913
  libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
914
+ OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
915
+ PLCrashReporter: 499c53b0104f95c302d94fd723ebb03c56d9bac8
762
916
  RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
763
917
  RCTRequired: c0569ecc035894e4a68baecb30fe6a7ea6e399f9
764
918
  RCTTypeSafety: e90354072c21236e0bcf1699011e39acd25fea2f
@@ -774,9 +928,10 @@ SPEC CHECKSUMS:
774
928
  React-jsiexecutor: c7f826e40fa9cab5d37cab6130b1af237332b594
775
929
  React-jsinspector: aaed4cf551c4a1c98092436518c2d267b13a673f
776
930
  React-logger: da1ebe05ae06eb6db4b162202faeafac4b435e77
777
- react-native-agora: 0d623411f75a126e6d5f6a41761df9ef74da87e6
931
+ react-native-agora: 4079dd4ceb688d085e68a4aa1148f323dbd3d0eb
778
932
  react-native-chat-sdk: 8a4969c99fc27019042acc48e78f469947813fbc
779
933
  react-native-document-picker: 3599b238843369026201d2ef466df53f77ae0452
934
+ react-native-get-random-values: 21325b2244dfa6b58878f51f9aa42821e7ba3d06
780
935
  react-native-keep-awake: afad8a51dfef9fe9655a6344771be32c8596d774
781
936
  react-native-webview: bdc091de8cf7f8397653e30182efcd9f772e03b3
782
937
  react-native-whiteboard: d56d2ffa0392b8572bfc613954845e48c6dfd38e
@@ -813,7 +968,8 @@ SPEC CHECKSUMS:
813
968
  SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
814
969
  TrustKit: 403e8d2cfbff2abfc37cd41acc558dab8ec78e59
815
970
  Yoga: 3efc43e0d48686ce2e8c60f99d4e6bd349aff981
971
+ YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
816
972
 
817
- PODFILE CHECKSUM: 1a042be2d7f2bdbb4f21393f3709284412a6e2df
973
+ PODFILE CHECKSUM: 57b34b9da94eb79d062e45a0320883b1ca549f00
818
974
 
819
- COCOAPODS: 1.15.2
975
+ COCOAPODS: 1.11.2
@@ -1,9 +1,5 @@
1
- // SampleHandler.h
2
- // ScreenSharing
3
-
4
1
  #import <ReplayKit/ReplayKit.h>
5
- #import <AgoraReplayKitExtension/AgoraReplayKitExt.h>
6
2
 
7
- @interface SampleHandler : RPBroadcastSampleHandler <AgoraReplayKitExtDelegate>
3
+ @interface SampleHandler : RPBroadcastSampleHandler
8
4
 
9
- @end
5
+ @end
@@ -1,70 +1,39 @@
1
- // SampleHandler.m
2
- // ScreenSharing
3
-
4
-
5
1
  #import "SampleHandler.h"
6
2
 
7
3
  @implementation SampleHandler
8
4
 
9
5
  - (void)broadcastStartedWithSetupInfo:(NSDictionary<NSString *,NSObject *> *)setupInfo {
10
- // User has requested to start the broadcast. Setup info from the UI extension can be supplied but optional.
11
- [[AgoraReplayKitExt shareInstance] start:self];
6
+ // User has requested to start the broadcast. Setup info from the UI extension can be supplied but optional.
12
7
  }
13
8
 
14
9
  - (void)broadcastPaused {
15
10
  // User has requested to pause the broadcast. Samples will stop being delivered.
16
- NSLog(@"broadcastPaused");
17
- [[AgoraReplayKitExt shareInstance] pause];
18
11
  }
19
12
 
20
13
  - (void)broadcastResumed {
21
14
  // User has requested to resume the broadcast. Samples delivery will resume.
22
- NSLog(@"broadcastResumed");
23
- [[AgoraReplayKitExt shareInstance] resume];
24
15
  }
25
16
 
26
17
  - (void)broadcastFinished {
27
18
  // User has requested to finish the broadcast.
28
- NSLog(@"broadcastFinished");
29
- [[AgoraReplayKitExt shareInstance] stop];
30
19
  }
31
20
 
32
21
  - (void)processSampleBuffer:(CMSampleBufferRef)sampleBuffer withType:(RPSampleBufferType)sampleBufferType {
33
- [[AgoraReplayKitExt shareInstance] pushSampleBuffer:sampleBuffer withType:sampleBufferType];
22
+
23
+ switch (sampleBufferType) {
24
+ case RPSampleBufferTypeVideo:
25
+ // Handle video sample buffer
26
+ break;
27
+ case RPSampleBufferTypeAudioApp:
28
+ // Handle audio sample buffer for app audio
29
+ break;
30
+ case RPSampleBufferTypeAudioMic:
31
+ // Handle audio sample buffer for mic audio
32
+ break;
33
+
34
+ default:
35
+ break;
36
+ }
34
37
  }
35
38
 
36
- #pragma mark - AgoraReplayKitExtDelegate
37
-
38
- - (void)broadcastFinished:(AgoraReplayKitExt *_Nonnull)broadcast reason:(AgoraReplayKitExtReason)reason {
39
- switch (reason) {
40
- case AgoraReplayKitExtReasonInitiativeStop: {
41
- // NSDictionary *userInfo = @{NSLocalizedDescriptionKey : @"Host app stop srceen capture"};
42
- // NSError *error = [NSError errorWithDomain:NSCocoaErrorDomain code:0 userInfo:userInfo];
43
- // [self finishBroadcastWithError:error];
44
- NSLog(@"AgoraReplayKitExtReasonInitiativeStop");
45
- break;
46
- }
47
- case AgoraReplayKitExtReasonConnectFail:
48
- {
49
- // NSDictionary *userInfo = @{NSLocalizedDescriptionKey : @"Connect host app fail need startScreenCapture in host app"};
50
- // NSError *error = [NSError errorWithDomain:NSCocoaErrorDomain code:0 userInfo:userInfo];
51
- // [self finishBroadcastWithError:error];
52
- NSLog(@"AgoraReplayKitExReasonConnectFail");
53
- }
54
- break;
55
-
56
- case AgoraReplayKitExtReasonDisconnect:
57
- {
58
- // NSDictionary *userInfo = @{NSLocalizedDescriptionKey : @"disconnect with host app"};
59
- // NSError *error = [NSError errorWithDomain:NSCocoaErrorDomain code:0 userInfo:userInfo];
60
- // [self finishBroadcastWithError:error];
61
- NSLog(@"AgoraReplayKitExReasonDisconnect");
62
- }
63
- break;
64
- default:
65
- break;
66
- }
67
- }
68
-
69
- @end
70
-
39
+ @end
@@ -47,7 +47,7 @@
47
47
  "react-dom": "18.2.0",
48
48
  "react-is": "18.0.0",
49
49
  "react-native": "0.72.4",
50
- "react-native-agora": "4.2.6-build.3-rc.1",
50
+ "react-native-agora": "4.3.2",
51
51
  "react-native-agora-chat": "1.2.1",
52
52
  "react-native-document-picker": "^9.1.0",
53
53
  "react-native-exit-app": "1.1.0",
@@ -26893,9 +26893,12 @@
26893
26893
  }
26894
26894
  },
26895
26895
  "node_modules/react-native-agora": {
26896
- "version": "4.2.6-build.3-rc.1",
26897
- "resolved": "https://registry.npmjs.org/react-native-agora/-/react-native-agora-4.2.6-build.3-rc.1.tgz",
26898
- "integrity": "sha512-zWUgQopYAZqdhLitrEv+fZbhpvZO3DwucfZeD57ipop+UyoTk7tKj0rutMkDchcskqV5GfV5C3zklieTenXxxQ==",
26896
+ "version": "4.3.2",
26897
+ "resolved": "https://registry.npmjs.org/react-native-agora/-/react-native-agora-4.3.2.tgz",
26898
+ "integrity": "sha512-hDbnYsgvac3ubkAZqL5+GolBqWghPlh7KwYPdUOe/FYcVNXvKlRtps1ezv9PVUklebn1ifjxbabhMPVPfWNkRg==",
26899
+ "workspaces": [
26900
+ "example"
26901
+ ],
26899
26902
  "dependencies": {
26900
26903
  "buffer": "^6.0.3",
26901
26904
  "eventemitter3": "^5.0.1",
@@ -53142,9 +53145,9 @@
53142
53145
  }
53143
53146
  },
53144
53147
  "react-native-agora": {
53145
- "version": "4.2.6-build.3-rc.1",
53146
- "resolved": "https://registry.npmjs.org/react-native-agora/-/react-native-agora-4.2.6-build.3-rc.1.tgz",
53147
- "integrity": "sha512-zWUgQopYAZqdhLitrEv+fZbhpvZO3DwucfZeD57ipop+UyoTk7tKj0rutMkDchcskqV5GfV5C3zklieTenXxxQ==",
53148
+ "version": "4.3.2",
53149
+ "resolved": "https://registry.npmjs.org/react-native-agora/-/react-native-agora-4.3.2.tgz",
53150
+ "integrity": "sha512-hDbnYsgvac3ubkAZqL5+GolBqWghPlh7KwYPdUOe/FYcVNXvKlRtps1ezv9PVUklebn1ifjxbabhMPVPfWNkRg==",
53148
53151
  "requires": {
53149
53152
  "buffer": "^6.0.3",
53150
53153
  "eventemitter3": "^5.0.1",
@@ -87,7 +87,7 @@
87
87
  "react-dom": "18.2.0",
88
88
  "react-is": "18.0.0",
89
89
  "react-native": "0.72.4",
90
- "react-native-agora": "4.2.6-build.3-rc.1",
90
+ "react-native-agora": "4.3.2",
91
91
  "react-native-agora-chat": "1.2.1",
92
92
  "react-native-document-picker": "^9.1.0",
93
93
  "react-native-exit-app": "1.1.0",
@@ -85,8 +85,8 @@ const AppWrapper = (props: AppWrapperProps) => {
85
85
  <SafeAreaView
86
86
  // @ts-ignore textAlign not supported by TS definitions but is applied to web regardless
87
87
  style={[{flex: 1}, Platform.select({web: {textAlign: 'left'}})]}>
88
- <StatusBar hidden={true} />
89
- {$config.DISABLE_LANDSCAPE_MODE && <BlockUI />}
88
+ <StatusBar backgroundColor={$config.BACKGROUND_COLOR} />
89
+ {true && <BlockUI />}
90
90
  <StorageProvider>
91
91
  <LanguageProvider>
92
92
  <GraphQLProvider>