agora-appbuilder-core 4.0.33-beta-3 → 4.0.33-beta-6
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 +2 -2
- package/template/agora-rn-uikit/src/Contexts/PropsContext.tsx +0 -1
- package/template/agora-rn-uikit/src/Contexts/RtcContext.tsx +0 -1
- package/template/agora-rn-uikit/src/Reducer/index.ts +0 -1
- package/template/agora-rn-uikit/src/RtcConfigure.tsx +0 -7
- package/template/customization-api/utils.ts +1 -1
- package/template/defaultConfig.js +3 -3
- package/template/global.d.ts +1 -1
- package/template/src/assets/font-styles.css +0 -4
- package/template/src/assets/fonts/icomoon.ttf +0 -0
- package/template/src/assets/selection.json +1 -1
- package/template/src/atoms/CustomIcon.tsx +0 -1
- package/template/src/auth/openIDPURL.tsx +2 -1
- package/template/src/auth/useIDPAuth.tsx +2 -1
- package/template/src/components/ChatContext.ts +5 -0
- package/template/src/components/Controls.tsx +4 -2
- package/template/src/components/EventsConfigure.tsx +16 -4
- package/template/src/components/RTMConfigure.tsx +20 -4
- package/template/src/components/chat/chatConfigure.native.tsx +26 -24
- package/template/src/components/chat/chatConfigure.tsx +2 -0
- package/template/src/components/chat-ui/useChatUIControls.tsx +7 -0
- package/template/src/components/meeting-info-invite/MeetingInfo.tsx +0 -5
- package/template/src/components/meeting-info-invite/MeetingInfoCardHeader.tsx +0 -16
- package/template/src/components/participants/Participant.tsx +0 -4
- package/template/src/components/participants/UserActionMenuOptions.tsx +1 -34
- package/template/src/components/useUserPreference.tsx +59 -4
- package/template/src/components/whiteboard/WhiteboardConfigure.tsx +2 -2
- package/template/src/language/default-labels/commonLabels.ts +3 -0
- package/template/src/language/default-labels/videoCallScreenLabels.ts +0 -8
- package/template/src/pages/VideoCall.tsx +9 -2
- package/template/src/pages/video-call/VideoCallScreen.native.tsx +27 -3
- package/template/src/pages/video-call/VideoRenderer.tsx +1 -10
- package/template/src/rtm-events/constants.ts +0 -2
- package/template/src/subComponents/ChatContainer.tsx +19 -27
- package/template/src/subComponents/ChatInput.tsx +6 -5
- package/template/src/subComponents/chat/ChatSendButton.tsx +2 -5
- package/template/src/subComponents/recording/useRecording.tsx +4 -0
- package/template/src/utils/SdkEvents.ts +1 -0
- package/template/src/utils/useActiveUids.ts +6 -0
- package/template/webpack.rsdk.config.js +2 -2
- package/template/webpack.wsdk.config.js +3 -3
- package/template/agora-rn-uikit/src/Reducer/Spotlight.ts +0 -11
- package/template/src/pages/video-call/SpotlightHighlighter.tsx +0 -91
- package/template/src/utils/useSpotlight.ts +0 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agora-appbuilder-core",
|
|
3
|
-
"version": "4.0.33-beta-
|
|
3
|
+
"version": "4.0.33-beta-6",
|
|
4
4
|
"description": "React Native template for RTE app builder",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"vercel-build": "npm run dev-setup && cd template && npm run web:build && cd .. && npm run copy-vercel",
|
|
12
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 appbuilder-uikit-3.0.29",
|
|
13
13
|
"deps": "cd template && npm i --force",
|
|
14
|
-
"dev-setup": "npm run deps && node devSetup.js",
|
|
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",
|
|
16
16
|
"copy-vercel": "cp -r Builds/web template/dist && cp vercel.json template/dist",
|
|
17
17
|
"pre-release": "cd template && cp _package-lock.json package-lock.json"
|
|
@@ -185,7 +185,6 @@ export interface CallbacksInterface {
|
|
|
185
185
|
AddCustomContent(uid: UidType, data: any): void;
|
|
186
186
|
RemoveCustomContent(uid: UidType): void;
|
|
187
187
|
UserPin(Uid: UidType): void;
|
|
188
|
-
Spotlight(Uid: UidType): void;
|
|
189
188
|
UserSecondaryPin(Uid: UidType): void;
|
|
190
189
|
ActiveSpeaker(Uid: UidType): void;
|
|
191
190
|
}
|
|
@@ -11,4 +11,3 @@ export {default as RemoteVideoStateChanged} from './RemoteVideoStateChanged';
|
|
|
11
11
|
export {default as UserPin} from './UserPin';
|
|
12
12
|
export {default as UserSecondaryPin} from './UserSecondaryPin';
|
|
13
13
|
export {default as ActiveSpeaker} from './ActiveSpeaker';
|
|
14
|
-
export {default as Spotlight} from './Spotlight';
|
|
@@ -32,7 +32,6 @@ import {
|
|
|
32
32
|
UserPin,
|
|
33
33
|
UserSecondaryPin,
|
|
34
34
|
ActiveSpeaker,
|
|
35
|
-
Spotlight,
|
|
36
35
|
} from './Reducer';
|
|
37
36
|
import Create from './Rtc/Create';
|
|
38
37
|
import Join from './Rtc/Join';
|
|
@@ -261,11 +260,6 @@ const RtcConfigure = (outerProps: {children: React.ReactNode}) => {
|
|
|
261
260
|
stateUpdate = ActiveSpeaker(state, action);
|
|
262
261
|
}
|
|
263
262
|
break;
|
|
264
|
-
case 'Spotlight':
|
|
265
|
-
if (actionTypeGuard(action, action.type)) {
|
|
266
|
-
stateUpdate = Spotlight(state, action);
|
|
267
|
-
}
|
|
268
|
-
break;
|
|
269
263
|
}
|
|
270
264
|
|
|
271
265
|
// TODO: remove Handle event listeners
|
|
@@ -465,7 +459,6 @@ const RtcConfigure = (outerProps: {children: React.ReactNode}) => {
|
|
|
465
459
|
? uidState.secondaryPinnedUid
|
|
466
460
|
: undefined,
|
|
467
461
|
lastJoinedUid: uidState.lastJoinedUid,
|
|
468
|
-
spotlightUid: uidState.spotlightUid,
|
|
469
462
|
}}>
|
|
470
463
|
{outerProps.children}
|
|
471
464
|
</ContentProvider>
|
|
@@ -49,4 +49,4 @@ export {useFullScreen} from '../src/utils/useFullScreen';
|
|
|
49
49
|
export {useHideShareTitle} from '../src/utils/useHideShareTile';
|
|
50
50
|
export {useActionSheet} from '../src/utils/useActionSheet';
|
|
51
51
|
export {default as PlatformWrapper} from '../src/utils/PlatformWrapper';
|
|
52
|
-
export {
|
|
52
|
+
export {useActiveUids} from '../src/utils/useActiveUids';
|
|
@@ -76,12 +76,12 @@ const DefaultConfig = {
|
|
|
76
76
|
CHAT_ORG_NAME: '',
|
|
77
77
|
CHAT_APP_NAME: '',
|
|
78
78
|
CHAT_URL: '',
|
|
79
|
-
CLI_VERSION: '3.0.
|
|
80
|
-
CORE_VERSION: '4.0.
|
|
79
|
+
CLI_VERSION: '3.0.32-3',
|
|
80
|
+
CORE_VERSION: '4.0.32-3',
|
|
81
81
|
DISABLE_LANDSCAPE_MODE: false,
|
|
82
82
|
STT_AUTO_START: false,
|
|
83
83
|
CLOUD_RECORDING_AUTO_START: false,
|
|
84
|
-
|
|
84
|
+
AUTO_CONNECT_RTM: false,
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
module.exports = DefaultConfig;
|
package/template/global.d.ts
CHANGED
|
@@ -168,7 +168,7 @@ interface ConfigInterface {
|
|
|
168
168
|
DISABLE_LANDSCAPE_MODE: boolean;
|
|
169
169
|
STT_AUTO_START: boolean;
|
|
170
170
|
CLOUD_RECORDING_AUTO_START: boolean;
|
|
171
|
-
|
|
171
|
+
AUTO_CONNECT_RTM: boolean;
|
|
172
172
|
}
|
|
173
173
|
declare var $config: ConfigInterface;
|
|
174
174
|
declare module 'customization' {
|
|
Binary file
|