agora-appbuilder-core 4.1.7-beta.3 → 4.1.7-beta.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-appbuilder-core",
3
- "version": "4.1.7-beta.3",
3
+ "version": "4.1.7-beta.4",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -77,8 +77,8 @@ const DefaultConfig = {
77
77
  CHAT_ORG_NAME: '',
78
78
  CHAT_APP_NAME: '',
79
79
  CHAT_URL: '',
80
- CLI_VERSION: '3.1.7-beta.3',
81
- CORE_VERSION: '4.1.7-beta.3',
80
+ CLI_VERSION: '3.1.7-beta.4',
81
+ CORE_VERSION: '4.1.7-beta.4',
82
82
  DISABLE_LANDSCAPE_MODE: false,
83
83
  STT_AUTO_START: false,
84
84
  CLOUD_RECORDING_AUTO_START: false,
@@ -232,7 +232,7 @@ const JoinWaitingRoomBtn = (props: PreCallJoinWaitingRoomBtnProps) => {
232
232
  const title = buttonText;
233
233
  const onPress = () => onSubmit();
234
234
  const disabled = $config.ENABLE_WAITING_ROOM_AUTO_REQUEST
235
- ? !hasHostJoined
235
+ ? !hasHostJoined || isInWaitingRoom
236
236
  : isInWaitingRoom || username?.trim() === '';
237
237
  return props?.render ? (
238
238
  props.render(onPress, title, disabled)
@@ -281,7 +281,7 @@ const JoinWaitingRoomBtn = (props: PreCallJoinWaitingRoomBtnProps) => {
281
281
  const title = buttonText;
282
282
  const onPress = () => onSubmit();
283
283
  const disabled = $config.ENABLE_WAITING_ROOM_AUTO_REQUEST
284
- ? !hasHostJoined
284
+ ? !hasHostJoined || isInWaitingRoom
285
285
  : isInWaitingRoom || username?.trim() === '';
286
286
  return props?.render ? (
287
287
  props.render(onPress, title, disabled)