@100mslive/react-native-room-kit 1.1.5 → 1.1.7
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/lib/commonjs/Icons/CC/assets/cc-off-med.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-off-med@2x.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-off-med@3x.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-on-med.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-on-med@2x.png +0 -0
- package/lib/commonjs/Icons/CC/assets/cc-on-med@3x.png +0 -0
- package/lib/commonjs/Icons/CC/index.js +39 -0
- package/lib/commonjs/Icons/CC/index.js.map +1 -0
- package/lib/commonjs/Icons/Close/assets/close-med.png +0 -0
- package/lib/commonjs/Icons/Close/assets/close-med@2x.png +0 -0
- package/lib/commonjs/Icons/Close/assets/close-med@3x.png +0 -0
- package/lib/commonjs/Icons/Close/index.js +7 -2
- package/lib/commonjs/Icons/Close/index.js.map +1 -1
- package/lib/commonjs/Icons/Maximize/assets/maximize-med.png +0 -0
- package/lib/commonjs/Icons/Maximize/assets/maximize-med@2x.png +0 -0
- package/lib/commonjs/Icons/Maximize/assets/maximize-med@3x.png +0 -0
- package/lib/commonjs/Icons/Maximize/index.js +7 -2
- package/lib/commonjs/Icons/Maximize/index.js.map +1 -1
- package/lib/commonjs/Icons/Minimize/assets/minimize-med.png +0 -0
- package/lib/commonjs/Icons/Minimize/assets/minimize-med@2x.png +0 -0
- package/lib/commonjs/Icons/Minimize/assets/minimize-med@3x.png +0 -0
- package/lib/commonjs/Icons/Minimize/index.js +7 -2
- package/lib/commonjs/Icons/Minimize/index.js.map +1 -1
- package/lib/commonjs/Icons/Pause/assets/pause-med.png +0 -0
- package/lib/commonjs/Icons/Pause/assets/pause-med@2x.png +0 -0
- package/lib/commonjs/Icons/Pause/assets/pause-med@3x.png +0 -0
- package/lib/commonjs/Icons/Pause/index.js +35 -0
- package/lib/commonjs/Icons/Pause/index.js.map +1 -0
- package/lib/commonjs/Icons/Play/assets/play-med.png +0 -0
- package/lib/commonjs/Icons/Play/assets/play-med@2x.png +0 -0
- package/lib/commonjs/Icons/Play/assets/play-med@3x.png +0 -0
- package/lib/commonjs/Icons/Play/index.js +35 -0
- package/lib/commonjs/Icons/Play/index.js.map +1 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
- package/lib/commonjs/Icons/SeekArrow/index.js +34 -0
- package/lib/commonjs/Icons/SeekArrow/index.js.map +1 -0
- package/lib/commonjs/Icons/index.js +44 -0
- package/lib/commonjs/Icons/index.js.map +1 -1
- package/lib/commonjs/components/AnimatedHeader.js +1 -11
- package/lib/commonjs/components/AnimatedHeader.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatBanner.js +1 -0
- package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +10 -7
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatList.js +4 -2
- package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +2 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
- package/lib/commonjs/components/DisplayView.js +1 -9
- package/lib/commonjs/components/DisplayView.js.map +1 -1
- package/lib/commonjs/components/Footer.js +7 -44
- package/lib/commonjs/components/Footer.js.map +1 -1
- package/lib/commonjs/components/HLSAnimatedDescriptionPane.js +30 -0
- package/lib/commonjs/components/HLSAnimatedDescriptionPane.js.map +1 -0
- package/lib/commonjs/components/HLSChatFooterView.js +51 -0
- package/lib/commonjs/components/HLSChatFooterView.js.map +1 -0
- package/lib/commonjs/components/HLSChatHeaderView.js +130 -0
- package/lib/commonjs/components/HLSChatHeaderView.js.map +1 -0
- package/lib/commonjs/components/HLSChatMessages.js +54 -0
- package/lib/commonjs/components/HLSChatMessages.js.map +1 -0
- package/lib/commonjs/components/HLSChatView.js +49 -0
- package/lib/commonjs/components/HLSChatView.js.map +1 -0
- package/lib/commonjs/components/HLSCloseMeetingControl.js +41 -0
- package/lib/commonjs/components/HLSCloseMeetingControl.js.map +1 -0
- package/lib/commonjs/components/HLSClosedCaptionControl.js +109 -0
- package/lib/commonjs/components/HLSClosedCaptionControl.js.map +1 -0
- package/lib/commonjs/components/HLSDescriptionPane.js +145 -0
- package/lib/commonjs/components/HLSDescriptionPane.js.map +1 -0
- package/lib/commonjs/components/HLSDescriptionPaneHeader.js +70 -0
- package/lib/commonjs/components/HLSDescriptionPaneHeader.js.map +1 -0
- package/lib/commonjs/components/HLSDistanceFromLive.js +56 -0
- package/lib/commonjs/components/HLSDistanceFromLive.js.map +1 -0
- package/lib/commonjs/components/HLSFooter.js +1 -1
- package/lib/commonjs/components/HLSFooter.js.map +1 -1
- package/lib/commonjs/components/HLSFullScreenControl.js +42 -0
- package/lib/commonjs/components/HLSFullScreenControl.js.map +1 -0
- package/lib/commonjs/components/HLSGoLiveControl.js +78 -0
- package/lib/commonjs/components/HLSGoLiveControl.js.map +1 -0
- package/lib/commonjs/components/HLSHandRaiseButton.js +38 -0
- package/lib/commonjs/components/HLSHandRaiseButton.js.map +1 -0
- package/lib/commonjs/components/HLSManageChatTextInput.js +90 -0
- package/lib/commonjs/components/HLSManageChatTextInput.js.map +1 -0
- package/lib/commonjs/components/HLSNotifications.js +32 -0
- package/lib/commonjs/components/HLSNotifications.js.map +1 -0
- package/lib/commonjs/components/HLSPlayPauseControl.js +62 -0
- package/lib/commonjs/components/HLSPlayPauseControl.js.map +1 -0
- package/lib/commonjs/components/HLSPlayer.js +193 -0
- package/lib/commonjs/components/HLSPlayer.js.map +1 -0
- package/lib/commonjs/components/HLSPlayerContainer.js +123 -0
- package/lib/commonjs/components/HLSPlayerContainer.js.map +1 -0
- package/lib/commonjs/components/HLSPlayerControls.js +130 -0
- package/lib/commonjs/components/HLSPlayerControls.js.map +1 -0
- package/lib/commonjs/components/HLSRecordingStatusText.js +31 -0
- package/lib/commonjs/components/HLSRecordingStatusText.js.map +1 -0
- package/lib/commonjs/components/HLSRoomOptionsButton.js +25 -0
- package/lib/commonjs/components/HLSRoomOptionsButton.js.map +1 -0
- package/lib/commonjs/components/HLSSeekbackwardControl.js +67 -0
- package/lib/commonjs/components/HLSSeekbackwardControl.js.map +1 -0
- package/lib/commonjs/components/HLSSeekbar.js +285 -0
- package/lib/commonjs/components/HLSSeekbar.js.map +1 -0
- package/lib/commonjs/components/HLSSeekforwardControl.js +71 -0
- package/lib/commonjs/components/HLSSeekforwardControl.js.map +1 -0
- package/lib/commonjs/components/HLSStreamStartedTime.js +69 -0
- package/lib/commonjs/components/HLSStreamStartedTime.js.map +1 -0
- package/lib/commonjs/components/HLSViewerScreenContent.js +61 -0
- package/lib/commonjs/components/HLSViewerScreenContent.js.map +1 -0
- package/lib/commonjs/components/HMSHLSMessage.js +19 -41
- package/lib/commonjs/components/HMSHLSMessage.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessageList.js +2 -2
- package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -1
- package/lib/commonjs/components/HMSHLSNotStarted.js +15 -7
- package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js +5 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/commonjs/components/HMSLiveViewerCount.js +2 -4
- package/lib/commonjs/components/HMSLiveViewerCount.js.map +1 -1
- package/lib/commonjs/components/HMSNotification.js +3 -2
- package/lib/commonjs/components/HMSNotification.js.map +1 -1
- package/lib/commonjs/components/HMSNotifications.js +3 -1
- package/lib/commonjs/components/HMSNotifications.js.map +1 -1
- package/lib/commonjs/components/HMSOverlayChatView.js +7 -4
- package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -1
- package/lib/commonjs/components/HMSOverlayMessageView.js +150 -0
- package/lib/commonjs/components/HMSOverlayMessageView.js.map +1 -0
- package/lib/commonjs/components/Meeting.js +3 -1
- package/lib/commonjs/components/Meeting.js.map +1 -1
- package/lib/commonjs/components/MeetingScreenContent.js +2 -9
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/OverlayedViews.js +1 -1
- package/lib/commonjs/components/OverlayedViews.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsList.js +4 -4
- package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/commonjs/components/PressableIcon.js +1 -2
- package/lib/commonjs/components/PressableIcon.js.map +1 -1
- package/lib/commonjs/hooks-util.js +156 -5
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/redux/actionTypes.js +6 -0
- package/lib/commonjs/redux/actionTypes.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js +24 -3
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js +25 -1
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/module/Icons/CC/assets/cc-off-med.png +0 -0
- package/lib/module/Icons/CC/assets/cc-off-med@2x.png +0 -0
- package/lib/module/Icons/CC/assets/cc-off-med@3x.png +0 -0
- package/lib/module/Icons/CC/assets/cc-on-med.png +0 -0
- package/lib/module/Icons/CC/assets/cc-on-med@2x.png +0 -0
- package/lib/module/Icons/CC/assets/cc-on-med@3x.png +0 -0
- package/lib/module/Icons/CC/index.js +31 -0
- package/lib/module/Icons/CC/index.js.map +1 -0
- package/lib/module/Icons/Close/assets/close-med.png +0 -0
- package/lib/module/Icons/Close/assets/close-med@2x.png +0 -0
- package/lib/module/Icons/Close/assets/close-med@3x.png +0 -0
- package/lib/module/Icons/Close/index.js +7 -2
- package/lib/module/Icons/Close/index.js.map +1 -1
- package/lib/module/Icons/Maximize/assets/maximize-med.png +0 -0
- package/lib/module/Icons/Maximize/assets/maximize-med@2x.png +0 -0
- package/lib/module/Icons/Maximize/assets/maximize-med@3x.png +0 -0
- package/lib/module/Icons/Maximize/index.js +7 -2
- package/lib/module/Icons/Maximize/index.js.map +1 -1
- package/lib/module/Icons/Minimize/assets/minimize-med.png +0 -0
- package/lib/module/Icons/Minimize/assets/minimize-med@2x.png +0 -0
- package/lib/module/Icons/Minimize/assets/minimize-med@3x.png +0 -0
- package/lib/module/Icons/Minimize/index.js +7 -2
- package/lib/module/Icons/Minimize/index.js.map +1 -1
- package/lib/module/Icons/Pause/assets/pause-med.png +0 -0
- package/lib/module/Icons/Pause/assets/pause-med@2x.png +0 -0
- package/lib/module/Icons/Pause/assets/pause-med@3x.png +0 -0
- package/lib/module/Icons/Pause/index.js +27 -0
- package/lib/module/Icons/Pause/index.js.map +1 -0
- package/lib/module/Icons/Play/assets/play-med.png +0 -0
- package/lib/module/Icons/Play/assets/play-med@2x.png +0 -0
- package/lib/module/Icons/Play/assets/play-med@3x.png +0 -0
- package/lib/module/Icons/Play/index.js +27 -0
- package/lib/module/Icons/Play/index.js.map +1 -0
- package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
- package/lib/module/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
- package/lib/module/Icons/SeekArrow/index.js +26 -0
- package/lib/module/Icons/SeekArrow/index.js.map +1 -0
- package/lib/module/Icons/index.js +4 -0
- package/lib/module/Icons/index.js.map +1 -1
- package/lib/module/components/AnimatedHeader.js +1 -11
- package/lib/module/components/AnimatedHeader.js.map +1 -1
- package/lib/module/components/Chat/ChatBanner.js +1 -0
- package/lib/module/components/Chat/ChatBanner.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +10 -7
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
- package/lib/module/components/Chat/ChatList.js +4 -2
- package/lib/module/components/Chat/ChatList.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +3 -2
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
- package/lib/module/components/DisplayView.js +3 -11
- package/lib/module/components/DisplayView.js.map +1 -1
- package/lib/module/components/Footer.js +9 -46
- package/lib/module/components/Footer.js.map +1 -1
- package/lib/module/components/HLSAnimatedDescriptionPane.js +21 -0
- package/lib/module/components/HLSAnimatedDescriptionPane.js.map +1 -0
- package/lib/module/components/HLSChatFooterView.js +42 -0
- package/lib/module/components/HLSChatFooterView.js.map +1 -0
- package/lib/module/components/HLSChatHeaderView.js +121 -0
- package/lib/module/components/HLSChatHeaderView.js.map +1 -0
- package/lib/module/components/HLSChatMessages.js +45 -0
- package/lib/module/components/HLSChatMessages.js.map +1 -0
- package/lib/module/components/HLSChatView.js +40 -0
- package/lib/module/components/HLSChatView.js.map +1 -0
- package/lib/module/components/HLSCloseMeetingControl.js +33 -0
- package/lib/module/components/HLSCloseMeetingControl.js.map +1 -0
- package/lib/module/components/HLSClosedCaptionControl.js +100 -0
- package/lib/module/components/HLSClosedCaptionControl.js.map +1 -0
- package/lib/module/components/HLSDescriptionPane.js +136 -0
- package/lib/module/components/HLSDescriptionPane.js.map +1 -0
- package/lib/module/components/HLSDescriptionPaneHeader.js +61 -0
- package/lib/module/components/HLSDescriptionPaneHeader.js.map +1 -0
- package/lib/module/components/HLSDistanceFromLive.js +48 -0
- package/lib/module/components/HLSDistanceFromLive.js.map +1 -0
- package/lib/module/components/HLSFooter.js +2 -2
- package/lib/module/components/HLSFooter.js.map +1 -1
- package/lib/module/components/HLSFullScreenControl.js +34 -0
- package/lib/module/components/HLSFullScreenControl.js.map +1 -0
- package/lib/module/components/HLSGoLiveControl.js +70 -0
- package/lib/module/components/HLSGoLiveControl.js.map +1 -0
- package/lib/module/components/HLSHandRaiseButton.js +29 -0
- package/lib/module/components/HLSHandRaiseButton.js.map +1 -0
- package/lib/module/components/HLSManageChatTextInput.js +81 -0
- package/lib/module/components/HLSManageChatTextInput.js.map +1 -0
- package/lib/module/components/HLSNotifications.js +24 -0
- package/lib/module/components/HLSNotifications.js.map +1 -0
- package/lib/module/components/HLSPlayPauseControl.js +54 -0
- package/lib/module/components/HLSPlayPauseControl.js.map +1 -0
- package/lib/module/components/HLSPlayer.js +185 -0
- package/lib/module/components/HLSPlayer.js.map +1 -0
- package/lib/module/components/HLSPlayerContainer.js +115 -0
- package/lib/module/components/HLSPlayerContainer.js.map +1 -0
- package/lib/module/components/HLSPlayerControls.js +120 -0
- package/lib/module/components/HLSPlayerControls.js.map +1 -0
- package/lib/module/components/HLSRecordingStatusText.js +22 -0
- package/lib/module/components/HLSRecordingStatusText.js.map +1 -0
- package/lib/module/components/HLSRoomOptionsButton.js +16 -0
- package/lib/module/components/HLSRoomOptionsButton.js.map +1 -0
- package/lib/module/components/HLSSeekbackwardControl.js +59 -0
- package/lib/module/components/HLSSeekbackwardControl.js.map +1 -0
- package/lib/module/components/HLSSeekbar.js +276 -0
- package/lib/module/components/HLSSeekbar.js.map +1 -0
- package/lib/module/components/HLSSeekforwardControl.js +63 -0
- package/lib/module/components/HLSSeekforwardControl.js.map +1 -0
- package/lib/module/components/HLSStreamStartedTime.js +60 -0
- package/lib/module/components/HLSStreamStartedTime.js.map +1 -0
- package/lib/module/components/HLSViewerScreenContent.js +53 -0
- package/lib/module/components/HLSViewerScreenContent.js.map +1 -0
- package/lib/module/components/HMSHLSMessage.js +19 -41
- package/lib/module/components/HMSHLSMessage.js.map +1 -1
- package/lib/module/components/HMSHLSMessageList.js +2 -2
- package/lib/module/components/HMSHLSMessageList.js.map +1 -1
- package/lib/module/components/HMSHLSNotStarted.js +15 -7
- package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/module/components/HMSKeyboardAvoidingView.js +5 -1
- package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/module/components/HMSLiveViewerCount.js +3 -5
- package/lib/module/components/HMSLiveViewerCount.js.map +1 -1
- package/lib/module/components/HMSNotification.js +4 -3
- package/lib/module/components/HMSNotification.js.map +1 -1
- package/lib/module/components/HMSNotifications.js +3 -1
- package/lib/module/components/HMSNotifications.js.map +1 -1
- package/lib/module/components/HMSOverlayChatView.js +5 -2
- package/lib/module/components/HMSOverlayChatView.js.map +1 -1
- package/lib/module/components/HMSOverlayMessageView.js +142 -0
- package/lib/module/components/HMSOverlayMessageView.js.map +1 -0
- package/lib/module/components/Meeting.js +4 -2
- package/lib/module/components/Meeting.js.map +1 -1
- package/lib/module/components/MeetingScreenContent.js +3 -10
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/OverlayedViews.js +2 -2
- package/lib/module/components/OverlayedViews.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsList.js +4 -4
- package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/module/components/PressableIcon.js +1 -2
- package/lib/module/components/PressableIcon.js.map +1 -1
- package/lib/module/hooks-util.js +154 -7
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/redux/actionTypes.js +6 -0
- package/lib/module/redux/actionTypes.js.map +1 -1
- package/lib/module/redux/actions/index.js +18 -0
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/appState.js +25 -1
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/typescript/Icons/CC/index.d.ts +9 -0
- package/lib/typescript/Icons/CC/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Close/index.d.ts +1 -0
- package/lib/typescript/Icons/Close/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Maximize/index.d.ts +1 -0
- package/lib/typescript/Icons/Maximize/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Minimize/index.d.ts +1 -0
- package/lib/typescript/Icons/Minimize/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Pause/index.d.ts +8 -0
- package/lib/typescript/Icons/Pause/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Play/index.d.ts +8 -0
- package/lib/typescript/Icons/Play/index.d.ts.map +1 -0
- package/lib/typescript/Icons/SeekArrow/index.d.ts +8 -0
- package/lib/typescript/Icons/SeekArrow/index.d.ts.map +1 -0
- package/lib/typescript/Icons/index.d.ts +4 -0
- package/lib/typescript/Icons/index.d.ts.map +1 -1
- package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +4 -1
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatList.d.ts +4 -1
- package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -1
- package/lib/typescript/components/CustomButton.d.ts +5 -5
- package/lib/typescript/components/CustomButton.d.ts.map +1 -1
- package/lib/typescript/components/DisplayView.d.ts.map +1 -1
- package/lib/typescript/components/Footer.d.ts.map +1 -1
- package/lib/typescript/components/HLSAnimatedDescriptionPane.d.ts +10 -0
- package/lib/typescript/components/HLSAnimatedDescriptionPane.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatFooterView.d.ts +3 -0
- package/lib/typescript/components/HLSChatFooterView.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatHeaderView.d.ts +7 -0
- package/lib/typescript/components/HLSChatHeaderView.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatMessages.d.ts +3 -0
- package/lib/typescript/components/HLSChatMessages.d.ts.map +1 -0
- package/lib/typescript/components/HLSChatView.d.ts +3 -0
- package/lib/typescript/components/HLSChatView.d.ts.map +1 -0
- package/lib/typescript/components/HLSCloseMeetingControl.d.ts +8 -0
- package/lib/typescript/components/HLSCloseMeetingControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSClosedCaptionControl.d.ts +10 -0
- package/lib/typescript/components/HLSClosedCaptionControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSDescriptionPane.d.ts +6 -0
- package/lib/typescript/components/HLSDescriptionPane.d.ts.map +1 -0
- package/lib/typescript/components/HLSDescriptionPaneHeader.d.ts +9 -0
- package/lib/typescript/components/HLSDescriptionPaneHeader.d.ts.map +1 -0
- package/lib/typescript/components/HLSDistanceFromLive.d.ts +8 -0
- package/lib/typescript/components/HLSDistanceFromLive.d.ts.map +1 -0
- package/lib/typescript/components/HLSFullScreenControl.d.ts +8 -0
- package/lib/typescript/components/HLSFullScreenControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSGoLiveControl.d.ts +10 -0
- package/lib/typescript/components/HLSGoLiveControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSHandRaiseButton.d.ts +3 -0
- package/lib/typescript/components/HLSHandRaiseButton.d.ts.map +1 -0
- package/lib/typescript/components/HLSManageChatTextInput.d.ts +3 -0
- package/lib/typescript/components/HLSManageChatTextInput.d.ts.map +1 -0
- package/lib/typescript/components/HLSNotifications.d.ts +3 -0
- package/lib/typescript/components/HLSNotifications.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayPauseControl.d.ts +8 -0
- package/lib/typescript/components/HLSPlayPauseControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayer.d.ts +6 -0
- package/lib/typescript/components/HLSPlayer.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayerContainer.d.ts +4 -0
- package/lib/typescript/components/HLSPlayerContainer.d.ts.map +1 -0
- package/lib/typescript/components/HLSPlayerControls.d.ts +14 -0
- package/lib/typescript/components/HLSPlayerControls.d.ts.map +1 -0
- package/lib/typescript/components/HLSRecordingStatusText.d.ts +9 -0
- package/lib/typescript/components/HLSRecordingStatusText.d.ts.map +1 -0
- package/lib/typescript/components/HLSRoomOptionsButton.d.ts +3 -0
- package/lib/typescript/components/HLSRoomOptionsButton.d.ts.map +1 -0
- package/lib/typescript/components/HLSSeekbackwardControl.d.ts +8 -0
- package/lib/typescript/components/HLSSeekbackwardControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSSeekbar.d.ts +66 -0
- package/lib/typescript/components/HLSSeekbar.d.ts.map +1 -0
- package/lib/typescript/components/HLSSeekforwardControl.d.ts +8 -0
- package/lib/typescript/components/HLSSeekforwardControl.d.ts.map +1 -0
- package/lib/typescript/components/HLSStreamStartedTime.d.ts +6 -0
- package/lib/typescript/components/HLSStreamStartedTime.d.ts.map +1 -0
- package/lib/typescript/components/HLSViewerScreenContent.d.ts +6 -0
- package/lib/typescript/components/HLSViewerScreenContent.d.ts.map +1 -0
- package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -1
- package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +2 -0
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -1
- package/lib/typescript/components/HMSLiveViewerCount.d.ts.map +1 -1
- package/lib/typescript/components/HMSNotification.d.ts.map +1 -1
- package/lib/typescript/components/HMSNotifications.d.ts.map +1 -1
- package/lib/typescript/components/HMSOverlayChatView.d.ts +2 -2
- package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -1
- package/lib/typescript/components/HMSOverlayMessageView.d.ts +8 -0
- package/lib/typescript/components/HMSOverlayMessageView.d.ts.map +1 -0
- package/lib/typescript/components/Meeting.d.ts.map +1 -1
- package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
- package/lib/typescript/components/Modals.d.ts +3 -3
- package/lib/typescript/components/Modals.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
- package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
- package/lib/typescript/components/Preview.d.ts.map +1 -1
- package/lib/typescript/hooks-util.d.ts +32 -8
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/redux/actionTypes.d.ts +3 -0
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts +18 -0
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/index.d.ts +19 -16
- package/lib/typescript/redux/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/appState.d.ts +3 -0
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/index.d.ts +19 -16
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/Icons/CC/assets/cc-off-med.png +0 -0
- package/src/Icons/CC/assets/cc-off-med@2x.png +0 -0
- package/src/Icons/CC/assets/cc-off-med@3x.png +0 -0
- package/src/Icons/CC/assets/cc-on-med.png +0 -0
- package/src/Icons/CC/assets/cc-on-med@2x.png +0 -0
- package/src/Icons/CC/assets/cc-on-med@3x.png +0 -0
- package/src/Icons/CC/index.tsx +51 -0
- package/src/Icons/Close/assets/close-med.png +0 -0
- package/src/Icons/Close/assets/close-med@2x.png +0 -0
- package/src/Icons/Close/assets/close-med@3x.png +0 -0
- package/src/Icons/Close/index.tsx +19 -3
- package/src/Icons/Maximize/assets/maximize-med.png +0 -0
- package/src/Icons/Maximize/assets/maximize-med@2x.png +0 -0
- package/src/Icons/Maximize/assets/maximize-med@3x.png +0 -0
- package/src/Icons/Maximize/index.tsx +19 -3
- package/src/Icons/Minimize/assets/minimize-med.png +0 -0
- package/src/Icons/Minimize/assets/minimize-med@2x.png +0 -0
- package/src/Icons/Minimize/assets/minimize-med@3x.png +0 -0
- package/src/Icons/Minimize/index.tsx +19 -3
- package/src/Icons/Pause/assets/pause-med.png +0 -0
- package/src/Icons/Pause/assets/pause-med@2x.png +0 -0
- package/src/Icons/Pause/assets/pause-med@3x.png +0 -0
- package/src/Icons/Pause/index.tsx +36 -0
- package/src/Icons/Play/assets/play-med.png +0 -0
- package/src/Icons/Play/assets/play-med@2x.png +0 -0
- package/src/Icons/Play/assets/play-med@3x.png +0 -0
- package/src/Icons/Play/index.tsx +36 -0
- package/src/Icons/SeekArrow/assets/seek-backward-arrow.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-backward-arrow@2x.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-backward-arrow@3x.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-forward-arrow.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-forward-arrow@2x.png +0 -0
- package/src/Icons/SeekArrow/assets/seek-forward-arrow@3x.png +0 -0
- package/src/Icons/SeekArrow/index.tsx +40 -0
- package/src/Icons/index.ts +4 -0
- package/src/components/AnimatedHeader.tsx +1 -9
- package/src/components/Chat/ChatBanner.tsx +1 -0
- package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +16 -8
- package/src/components/Chat/ChatList.tsx +4 -1
- package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +6 -1
- package/src/components/DisplayView.tsx +9 -23
- package/src/components/Footer.tsx +8 -77
- package/src/components/HLSAnimatedDescriptionPane.tsx +36 -0
- package/src/components/HLSChatFooterView.tsx +53 -0
- package/src/components/HLSChatHeaderView.tsx +165 -0
- package/src/components/HLSChatMessages.tsx +60 -0
- package/src/components/HLSChatView.tsx +55 -0
- package/src/components/HLSCloseMeetingControl.tsx +39 -0
- package/src/components/HLSClosedCaptionControl.tsx +140 -0
- package/src/components/HLSDescriptionPane.tsx +168 -0
- package/src/components/HLSDescriptionPaneHeader.tsx +78 -0
- package/src/components/HLSDistanceFromLive.tsx +69 -0
- package/src/components/HLSFooter.tsx +2 -2
- package/src/components/HLSFullScreenControl.tsx +46 -0
- package/src/components/HLSGoLiveControl.tsx +104 -0
- package/src/components/HLSHandRaiseButton.tsx +41 -0
- package/src/components/HLSManageChatTextInput.tsx +98 -0
- package/src/components/HLSNotifications.tsx +33 -0
- package/src/components/HLSPlayPauseControl.tsx +69 -0
- package/src/components/HLSPlayer.tsx +264 -0
- package/src/components/HLSPlayerContainer.tsx +134 -0
- package/src/components/HLSPlayerControls.tsx +180 -0
- package/src/components/HLSRecordingStatusText.tsx +50 -0
- package/src/components/HLSRoomOptionsButton.tsx +19 -0
- package/src/components/HLSSeekbackwardControl.tsx +88 -0
- package/src/components/HLSSeekbar.tsx +381 -0
- package/src/components/HLSSeekforwardControl.tsx +97 -0
- package/src/components/HLSStreamStartedTime.tsx +79 -0
- package/src/components/HLSViewerScreenContent.tsx +96 -0
- package/src/components/HMSHLSMessage.tsx +32 -49
- package/src/components/HMSHLSMessageList.tsx +2 -2
- package/src/components/HMSHLSNotStarted.tsx +18 -7
- package/src/components/HMSKeyboardAvoidingView.tsx +16 -6
- package/src/components/HMSLiveViewerCount.tsx +2 -8
- package/src/components/HMSNotification.tsx +20 -14
- package/src/components/HMSNotifications.tsx +3 -1
- package/src/components/HMSOverlayChatView.tsx +10 -3
- package/src/components/HMSOverlayMessageView.tsx +189 -0
- package/src/components/Meeting.tsx +9 -1
- package/src/components/MeetingScreenContent.tsx +3 -7
- package/src/components/OverlayedViews.tsx +2 -2
- package/src/components/Participants/ParticipantsList.tsx +12 -10
- package/src/components/PressableIcon.tsx +1 -3
- package/src/hooks-util.ts +223 -6
- package/src/redux/actionTypes.ts +9 -0
- package/src/redux/actions/index.ts +15 -0
- package/src/redux/reducers/appState.ts +24 -0
- package/lib/commonjs/components/CustomHLSPlayerControls.js +0 -80
- package/lib/commonjs/components/CustomHLSPlayerControls.js.map +0 -1
- package/lib/commonjs/components/HLSView.js +0 -195
- package/lib/commonjs/components/HLSView.js.map +0 -1
- package/lib/module/components/CustomHLSPlayerControls.js +0 -72
- package/lib/module/components/CustomHLSPlayerControls.js.map +0 -1
- package/lib/module/components/HLSView.js +0 -186
- package/lib/module/components/HLSView.js.map +0 -1
- package/lib/typescript/components/CustomHLSPlayerControls.d.ts +0 -7
- package/lib/typescript/components/CustomHLSPlayerControls.d.ts.map +0 -1
- package/lib/typescript/components/HLSView.d.ts +0 -4
- package/lib/typescript/components/HLSView.d.ts.map +0 -1
- package/src/components/CustomHLSPlayerControls.tsx +0 -92
- package/src/components/HLSView.tsx +0 -251
|
@@ -28,12 +28,20 @@ import { ChatBroadcastFilter, ModalTypes } from '../../utils/types';
|
|
|
28
28
|
import { hexToRgbA } from '../../utils/theme';
|
|
29
29
|
|
|
30
30
|
interface ChatFilterBottomSheetOpenerProps {
|
|
31
|
-
|
|
31
|
+
overlay?: boolean;
|
|
32
|
+
useFilterModal?: boolean;
|
|
33
|
+
showActionBtn?: boolean;
|
|
34
|
+
useActionModal?: boolean;
|
|
32
35
|
}
|
|
33
36
|
|
|
34
37
|
const _ChatFilterBottomSheetOpener: React.FC<
|
|
35
38
|
ChatFilterBottomSheetOpenerProps
|
|
36
|
-
> = ({
|
|
39
|
+
> = ({
|
|
40
|
+
overlay = false,
|
|
41
|
+
useFilterModal = false,
|
|
42
|
+
showActionBtn = false,
|
|
43
|
+
useActionModal = false,
|
|
44
|
+
}) => {
|
|
37
45
|
const dispatch = useDispatch();
|
|
38
46
|
const canDisableChat = useHMSCanDisableChat();
|
|
39
47
|
const chatRecipients = useHMSChatRecipientSelector();
|
|
@@ -51,7 +59,7 @@ const _ChatFilterBottomSheetOpener: React.FC<
|
|
|
51
59
|
fontFamily: `${typography.font_family}-Regular`,
|
|
52
60
|
},
|
|
53
61
|
button: {
|
|
54
|
-
backgroundColor:
|
|
62
|
+
backgroundColor: overlay
|
|
55
63
|
? theme.palette.background_dim &&
|
|
56
64
|
hexToRgbA(theme.palette.background_dim, 0.64)
|
|
57
65
|
: theme.palette.primary_default,
|
|
@@ -66,16 +74,16 @@ const _ChatFilterBottomSheetOpener: React.FC<
|
|
|
66
74
|
hexToRgbA(theme.palette.background_dim, 0.64),
|
|
67
75
|
},
|
|
68
76
|
moreActionIcon: {
|
|
69
|
-
tintColor:
|
|
77
|
+
tintColor: overlay
|
|
70
78
|
? theme.palette.on_surface_low
|
|
71
79
|
: theme.palette.on_surface_medium,
|
|
72
80
|
},
|
|
73
81
|
}),
|
|
74
|
-
[
|
|
82
|
+
[overlay]
|
|
75
83
|
);
|
|
76
84
|
|
|
77
85
|
const openChatFiltersSheet = () => {
|
|
78
|
-
if (
|
|
86
|
+
if (useFilterModal) {
|
|
79
87
|
handleModalVisibleType(ModalTypes.CHAT_FILTER);
|
|
80
88
|
} else {
|
|
81
89
|
dispatch(setChatFilterSheetVisible(true));
|
|
@@ -83,7 +91,7 @@ const _ChatFilterBottomSheetOpener: React.FC<
|
|
|
83
91
|
};
|
|
84
92
|
|
|
85
93
|
const openChatMoreActionsSheet = () => {
|
|
86
|
-
if (
|
|
94
|
+
if (useActionModal) {
|
|
87
95
|
handleModalVisibleType(ModalTypes.CHAT_MORE_ACTIONS);
|
|
88
96
|
} else {
|
|
89
97
|
dispatch(setChatMoreActionsSheetVisible(true));
|
|
@@ -155,7 +163,7 @@ const _ChatFilterBottomSheetOpener: React.FC<
|
|
|
155
163
|
<View />
|
|
156
164
|
)}
|
|
157
165
|
|
|
158
|
-
{canDisableChat &&
|
|
166
|
+
{canDisableChat && showActionBtn ? (
|
|
159
167
|
<PressableIcon
|
|
160
168
|
onPress={openChatMoreActionsSheet}
|
|
161
169
|
style={[styles.moreAction, hmsRoomStyles.moreAction]}
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
// FlashListProps
|
|
6
6
|
} from '@shopify/flash-list';
|
|
7
7
|
import { Platform, StyleSheet, View } from 'react-native';
|
|
8
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
8
9
|
import { useSelector } from 'react-redux';
|
|
9
10
|
|
|
10
11
|
import type { RootState } from '../../redux';
|
|
@@ -14,10 +15,11 @@ import { PinnedMessages } from './PinnedMessages';
|
|
|
14
15
|
import { useIsAllowedToSendMessage } from '../../hooks-util';
|
|
15
16
|
|
|
16
17
|
type ChatListProps = {
|
|
18
|
+
style?: StyleProp<ViewStyle>;
|
|
17
19
|
// estimatedListSize?: FlashListProps<HMSMessage>['estimatedListSize'];
|
|
18
20
|
};
|
|
19
21
|
|
|
20
|
-
const _ChatList: React.FC<ChatListProps> = () => {
|
|
22
|
+
const _ChatList: React.FC<ChatListProps> = ({ style }) => {
|
|
21
23
|
const flashlistRef = React.useRef<null | FlashList<HMSMessage>>(null);
|
|
22
24
|
const isAllowedToSendMessage = useIsAllowedToSendMessage();
|
|
23
25
|
const messages = useSelector((state: RootState) => state.messages.messages);
|
|
@@ -36,6 +38,7 @@ const _ChatList: React.FC<ChatListProps> = () => {
|
|
|
36
38
|
style={[
|
|
37
39
|
chatListStyle.list,
|
|
38
40
|
isAllowedToSendMessage ? chatListStyle.bottomSpace : null,
|
|
41
|
+
style,
|
|
39
42
|
]}
|
|
40
43
|
>
|
|
41
44
|
<PinnedMessages />
|
|
@@ -5,6 +5,7 @@ import { SafeAreaView } from 'react-native-safe-area-context';
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
useHMSRoomStyleSheet,
|
|
8
|
+
useIsHLSViewer,
|
|
8
9
|
useShowChatAndParticipants,
|
|
9
10
|
} from '../../hooks-util';
|
|
10
11
|
import { ChatAndParticipantsHeader } from './ChatAndParticipantsHeader';
|
|
@@ -19,6 +20,7 @@ const _ChatAndParticipantsView: React.FC = () => {
|
|
|
19
20
|
const activeChatBottomSheetTab = useSelector(
|
|
20
21
|
(state: RootState) => state.app.activeChatBottomSheetTab
|
|
21
22
|
);
|
|
23
|
+
const isHLSViewer = useIsHLSViewer();
|
|
22
24
|
|
|
23
25
|
const { hide, canShowParticipants, canShowChat, overlayChatLayout } =
|
|
24
26
|
useShowChatAndParticipants();
|
|
@@ -35,7 +37,10 @@ const _ChatAndParticipantsView: React.FC = () => {
|
|
|
35
37
|
activeChatBottomSheetTab === 'Participants' && canShowParticipants;
|
|
36
38
|
|
|
37
39
|
const showChat =
|
|
38
|
-
|
|
40
|
+
!isHLSViewer &&
|
|
41
|
+
activeChatBottomSheetTab === 'Chat' &&
|
|
42
|
+
canShowChat &&
|
|
43
|
+
!overlayChatLayout;
|
|
39
44
|
|
|
40
45
|
return (
|
|
41
46
|
<SafeAreaView style={styles.container} edges={['left', 'right']}>
|
|
@@ -9,14 +9,12 @@ import { ModalTypes, PipModes } from '../utils/types';
|
|
|
9
9
|
import type { PeerTrackNode } from '../utils/types';
|
|
10
10
|
import { requestExternalStoragePermission } from '../utils/functions';
|
|
11
11
|
import {
|
|
12
|
-
ChangeAspectRatio,
|
|
13
12
|
ChangeRoleModal,
|
|
14
13
|
ChangeTrackStateModal,
|
|
15
14
|
SaveScreenshot,
|
|
16
15
|
} from './Modals';
|
|
17
16
|
import type { RootState } from '../redux';
|
|
18
17
|
import { GridView } from './GridView';
|
|
19
|
-
import { HLSView } from './HLSView';
|
|
20
18
|
import { PeerSettingsModalContent } from '../components/PeerSettingsModalContent';
|
|
21
19
|
import { StreamingQualityModalContent } from '../components/StreamingQualityModalContent';
|
|
22
20
|
import {
|
|
@@ -24,7 +22,6 @@ import {
|
|
|
24
22
|
useHMSInstance,
|
|
25
23
|
useHMSRoleChangeRequest,
|
|
26
24
|
useHMSSessionStoreListeners,
|
|
27
|
-
useIsHLSViewer,
|
|
28
25
|
useModalType,
|
|
29
26
|
} from '../hooks-util';
|
|
30
27
|
import { WebrtcView } from './WebrtcView';
|
|
@@ -48,7 +45,6 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
48
45
|
}) => {
|
|
49
46
|
// --- 100ms SDK Instance ---
|
|
50
47
|
const hmsInstance = useHMSInstance();
|
|
51
|
-
const isHLSViewer = useIsHLSViewer();
|
|
52
48
|
|
|
53
49
|
const {
|
|
54
50
|
modalVisibleType: modalVisible,
|
|
@@ -130,16 +126,12 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
130
126
|
|
|
131
127
|
return (
|
|
132
128
|
<View style={{ flex: 1 }}>
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
peerTrackNodes={peerTrackNodes}
|
|
140
|
-
handlePeerTileMorePress={handlePeerTileMorePress}
|
|
141
|
-
/>
|
|
142
|
-
)}
|
|
129
|
+
<WebrtcView
|
|
130
|
+
ref={gridViewRef}
|
|
131
|
+
offset={offset}
|
|
132
|
+
peerTrackNodes={peerTrackNodes}
|
|
133
|
+
handlePeerTileMorePress={handlePeerTileMorePress}
|
|
134
|
+
/>
|
|
143
135
|
|
|
144
136
|
{isPipModeActive ? null : (
|
|
145
137
|
<>
|
|
@@ -171,15 +163,6 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
171
163
|
) : null}
|
|
172
164
|
</BottomSheet>
|
|
173
165
|
|
|
174
|
-
<DefaultModal
|
|
175
|
-
modalPosiion="center"
|
|
176
|
-
modalVisible={modalVisible === ModalTypes.HLS_PLAYER_ASPECT_RATIO}
|
|
177
|
-
setModalVisible={() => setModalVisible(ModalTypes.DEFAULT)}
|
|
178
|
-
>
|
|
179
|
-
<ChangeAspectRatio
|
|
180
|
-
cancelModal={() => setModalVisible(ModalTypes.DEFAULT)}
|
|
181
|
-
/>
|
|
182
|
-
</DefaultModal>
|
|
183
166
|
{/* Save Image Captured from Local Camera */}
|
|
184
167
|
<DefaultModal
|
|
185
168
|
modalPosiion="center"
|
|
@@ -193,6 +176,7 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
193
176
|
/>
|
|
194
177
|
) : null}
|
|
195
178
|
</DefaultModal>
|
|
179
|
+
|
|
196
180
|
<DefaultModal
|
|
197
181
|
modalPosiion="center"
|
|
198
182
|
modalVisible={modalVisible === ModalTypes.STREAMING_QUALITY_SETTING}
|
|
@@ -207,6 +191,7 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
207
191
|
/>
|
|
208
192
|
) : null}
|
|
209
193
|
</DefaultModal>
|
|
194
|
+
|
|
210
195
|
<DefaultModal
|
|
211
196
|
modalPosiion="center"
|
|
212
197
|
modalVisible={modalVisible === ModalTypes.CHANGE_TRACK}
|
|
@@ -219,6 +204,7 @@ export const DisplayView: React.FC<DisplayViewProps> = ({
|
|
|
219
204
|
/>
|
|
220
205
|
) : null}
|
|
221
206
|
</DefaultModal>
|
|
207
|
+
|
|
222
208
|
<DefaultModal
|
|
223
209
|
modalPosiion="center"
|
|
224
210
|
modalVisible={modalVisible === ModalTypes.CHANGE_ROLE}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { memo,
|
|
1
|
+
import React, { memo, useMemo } from 'react';
|
|
2
2
|
import { View, StyleSheet, Platform } from 'react-native';
|
|
3
3
|
import {
|
|
4
4
|
SafeAreaView,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from 'react-native-safe-area-context';
|
|
7
7
|
|
|
8
8
|
import {
|
|
9
|
+
useCanShowRoomOptionsButton,
|
|
9
10
|
useHMSConferencingScreenConfig,
|
|
10
11
|
useHMSLayoutConfig,
|
|
11
12
|
useHMSRoomStyle,
|
|
12
|
-
useIsHLSViewer,
|
|
13
13
|
useShowChatAndParticipants,
|
|
14
14
|
} from '../hooks-util';
|
|
15
15
|
import { HMSManageLeave } from './HMSManageLeave';
|
|
@@ -23,51 +23,18 @@ import {
|
|
|
23
23
|
useCanPublishScreen,
|
|
24
24
|
useCanPublishVideo,
|
|
25
25
|
} from '../hooks-sdk';
|
|
26
|
-
import { useSelector } from 'react-redux';
|
|
27
|
-
import type { RootState } from '../redux';
|
|
28
26
|
|
|
29
27
|
interface FooterProps {}
|
|
30
28
|
|
|
31
29
|
export const _Footer: React.FC<FooterProps> = () => {
|
|
32
|
-
const isHLSViewer = useIsHLSViewer();
|
|
33
30
|
const canPublishAudio = useCanPublishAudio();
|
|
34
31
|
const canPublishVideo = useCanPublishVideo();
|
|
35
32
|
const canPublishScreen = useCanPublishScreen();
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
);
|
|
39
|
-
const [isNoiseCancellationAvailable, setIsNoiseCancellationAvailable] =
|
|
40
|
-
useState(false);
|
|
41
|
-
const noiseCancellationPlugin = useSelector(
|
|
42
|
-
(state: RootState) => state.hmsStates.noiseCancellationPlugin
|
|
43
|
-
);
|
|
44
|
-
useEffect(() => {
|
|
45
|
-
if (noiseCancellationPlugin) {
|
|
46
|
-
let mounted = true;
|
|
47
|
-
|
|
48
|
-
noiseCancellationPlugin
|
|
49
|
-
.isNoiseCancellationAvailable()
|
|
50
|
-
.then((isAvailable) => {
|
|
51
|
-
if (mounted) {
|
|
52
|
-
setIsNoiseCancellationAvailable(isAvailable);
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
return () => {
|
|
57
|
-
mounted = false;
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
}, [noiseCancellationPlugin]);
|
|
33
|
+
const canShowOptions = useCanShowRoomOptionsButton();
|
|
34
|
+
const { canShowChat } = useShowChatAndParticipants();
|
|
61
35
|
|
|
62
36
|
const isViewer = !(canPublishAudio || canPublishVideo || canPublishScreen);
|
|
63
37
|
|
|
64
|
-
const { canShowParticipants, canShowChat } = useShowChatAndParticipants();
|
|
65
|
-
|
|
66
|
-
const canShowBRB = useHMSLayoutConfig(
|
|
67
|
-
(layoutConfig) =>
|
|
68
|
-
!!layoutConfig?.screens?.conferencing?.default?.elements?.brb
|
|
69
|
-
);
|
|
70
|
-
|
|
71
38
|
const isOnStage = useHMSLayoutConfig((layoutConfig) => {
|
|
72
39
|
return !!layoutConfig?.screens?.conferencing?.default?.elements
|
|
73
40
|
?.on_stage_exp;
|
|
@@ -77,29 +44,8 @@ export const _Footer: React.FC<FooterProps> = () => {
|
|
|
77
44
|
(confScreenConfig) => !!confScreenConfig?.elements?.hand_raise
|
|
78
45
|
);
|
|
79
46
|
|
|
80
|
-
const canStartRecording = useSelector(
|
|
81
|
-
(state: RootState) =>
|
|
82
|
-
!!state.hmsStates.localPeer?.role?.permissions?.browserRecording
|
|
83
|
-
);
|
|
84
|
-
|
|
85
|
-
const canReadOrWritePoll = useSelector((state: RootState) => {
|
|
86
|
-
const permissions = state.hmsStates.localPeer?.role?.permissions;
|
|
87
|
-
return permissions?.pollRead || permissions?.pollWrite;
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
const canEditUsernameFromRoomModal = isViewer && !editUsernameDisabled;
|
|
91
|
-
|
|
92
47
|
const canShowHandRaiseInFooter = canRaiseHand && !isOnStage && isViewer;
|
|
93
48
|
|
|
94
|
-
const canShowOptions =
|
|
95
|
-
canShowParticipants ||
|
|
96
|
-
canPublishScreen ||
|
|
97
|
-
canShowBRB ||
|
|
98
|
-
canStartRecording ||
|
|
99
|
-
canEditUsernameFromRoomModal ||
|
|
100
|
-
canReadOrWritePoll ||
|
|
101
|
-
isNoiseCancellationAvailable;
|
|
102
|
-
|
|
103
49
|
const footerActionButtons = useMemo(() => {
|
|
104
50
|
const actions = [];
|
|
105
51
|
|
|
@@ -139,16 +85,8 @@ export const _Footer: React.FC<FooterProps> = () => {
|
|
|
139
85
|
}));
|
|
140
86
|
|
|
141
87
|
return (
|
|
142
|
-
<SafeAreaView
|
|
143
|
-
style={
|
|
144
|
-
edges={['bottom', 'left', 'right']}
|
|
145
|
-
>
|
|
146
|
-
<View
|
|
147
|
-
style={[
|
|
148
|
-
styles.container,
|
|
149
|
-
isHLSViewer ? styles.hlsContainer : containerStyles,
|
|
150
|
-
]}
|
|
151
|
-
>
|
|
88
|
+
<SafeAreaView style={containerStyles} edges={['bottom', 'left', 'right']}>
|
|
89
|
+
<View style={[styles.container, containerStyles]}>
|
|
152
90
|
{footerActionButtons.map((actionType, index) => {
|
|
153
91
|
return (
|
|
154
92
|
<View
|
|
@@ -177,15 +115,11 @@ export const _Footer: React.FC<FooterProps> = () => {
|
|
|
177
115
|
};
|
|
178
116
|
|
|
179
117
|
export const useFooterHeight = (excludeSafeArea: boolean = false) => {
|
|
180
|
-
const isHLSViewer = useIsHLSViewer();
|
|
181
118
|
const { bottom } = useSafeAreaInsets();
|
|
182
119
|
|
|
183
120
|
return (
|
|
184
|
-
(excludeSafeArea ? 0 : bottom) +
|
|
185
|
-
|
|
186
|
-
(Platform.OS === 'android' ? 16 : 0) +
|
|
187
|
-
40
|
|
188
|
-
); // bottomSafeArea + paddingTop + marginBottom + content
|
|
121
|
+
(excludeSafeArea ? 0 : bottom) + (Platform.OS === 'android' ? 16 : 0) + 40
|
|
122
|
+
); // bottomSafeArea + marginBottom + content
|
|
189
123
|
};
|
|
190
124
|
|
|
191
125
|
const styles = StyleSheet.create({
|
|
@@ -197,9 +131,6 @@ const styles = StyleSheet.create({
|
|
|
197
131
|
justifyContent: 'center',
|
|
198
132
|
marginBottom: Platform.OS === 'android' ? 16 : 0, // TODO: need to correct hide animation offsets because of this change
|
|
199
133
|
},
|
|
200
|
-
hlsContainer: {
|
|
201
|
-
paddingTop: 8,
|
|
202
|
-
},
|
|
203
134
|
iconWrapper: {
|
|
204
135
|
marginLeft: 24,
|
|
205
136
|
},
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
|
|
4
|
+
import Animated, {
|
|
5
|
+
interpolate,
|
|
6
|
+
useAnimatedStyle,
|
|
7
|
+
} from 'react-native-reanimated';
|
|
8
|
+
import type { AnimatedStyle, SharedValue } from 'react-native-reanimated';
|
|
9
|
+
|
|
10
|
+
export interface HLSAnimatedDescriptionPaneProps {
|
|
11
|
+
sharedValue: SharedValue<number>;
|
|
12
|
+
height: number;
|
|
13
|
+
style?: StyleProp<AnimatedStyle<StyleProp<ViewStyle>>>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const HLSAnimatedDescriptionPane: React.FC<
|
|
17
|
+
HLSAnimatedDescriptionPaneProps
|
|
18
|
+
> = ({ children, style, sharedValue, height }) => {
|
|
19
|
+
const animatedStyles = useAnimatedStyle(
|
|
20
|
+
() => ({
|
|
21
|
+
// opacity: interpolate(sharedValue.value, [0, 0.3, 1], [0, 1, 1]),
|
|
22
|
+
transform: [
|
|
23
|
+
{
|
|
24
|
+
translateY: interpolate(sharedValue.value, [0, 1], [-height, 0]),
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
}),
|
|
28
|
+
[height]
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
return (
|
|
32
|
+
<Animated.View style={[{ flex: 1 }, animatedStyles, style]}>
|
|
33
|
+
{children}
|
|
34
|
+
</Animated.View>
|
|
35
|
+
);
|
|
36
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StyleSheet } from 'react-native';
|
|
3
|
+
import { SafeAreaView } from 'react-native-safe-area-context';
|
|
4
|
+
|
|
5
|
+
import { useHMSRoomStyleSheet } from '../hooks-util';
|
|
6
|
+
import { HLSHandRaiseButton } from './HLSHandRaiseButton';
|
|
7
|
+
import { HLSRoomOptionsButton } from './HLSRoomOptionsButton';
|
|
8
|
+
import { HLSManageChatTextInput } from './HLSManageChatTextInput';
|
|
9
|
+
|
|
10
|
+
export const HLSChatFooterView = () => {
|
|
11
|
+
const hmsRoomStyles = useHMSRoomStyleSheet((theme) => ({
|
|
12
|
+
container: {
|
|
13
|
+
backgroundColor: theme.palette.surface_dim,
|
|
14
|
+
borderBottomColor: theme.palette.border_bright,
|
|
15
|
+
},
|
|
16
|
+
input: {
|
|
17
|
+
backgroundColor: theme.palette.surface_default,
|
|
18
|
+
borderColor: theme.palette.surface_default,
|
|
19
|
+
},
|
|
20
|
+
}));
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<SafeAreaView
|
|
24
|
+
edges={['bottom']}
|
|
25
|
+
style={[styles.container, hmsRoomStyles.container]}
|
|
26
|
+
>
|
|
27
|
+
<HLSManageChatTextInput />
|
|
28
|
+
|
|
29
|
+
<HLSHandRaiseButton />
|
|
30
|
+
|
|
31
|
+
<HLSRoomOptionsButton />
|
|
32
|
+
</SafeAreaView>
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const styles = StyleSheet.create({
|
|
37
|
+
container: {
|
|
38
|
+
padding: 16,
|
|
39
|
+
flexDirection: 'row',
|
|
40
|
+
// alignItems: 'center',
|
|
41
|
+
alignItems: 'flex-end',
|
|
42
|
+
},
|
|
43
|
+
input: {
|
|
44
|
+
flex: 0,
|
|
45
|
+
height: 40,
|
|
46
|
+
marginHorizontal: 0,
|
|
47
|
+
marginTop: 0,
|
|
48
|
+
marginBottom: 0,
|
|
49
|
+
},
|
|
50
|
+
chatPaused: {
|
|
51
|
+
flexShrink: 1,
|
|
52
|
+
},
|
|
53
|
+
});
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Pressable, StyleSheet, Text, View } from 'react-native';
|
|
3
|
+
import { useDispatch, useSelector } from 'react-redux';
|
|
4
|
+
|
|
5
|
+
import { CompanyLogo } from './CompanyLogo';
|
|
6
|
+
import {
|
|
7
|
+
useHMSConferencingScreenConfig,
|
|
8
|
+
useHMSRoomStyleSheet,
|
|
9
|
+
} from '../hooks-util';
|
|
10
|
+
import type { RootState } from '../redux';
|
|
11
|
+
import { HLSRecordingStatusText } from './HLSRecordingStatusText';
|
|
12
|
+
import { useIsHLSStreamingOn } from '../hooks-sdk';
|
|
13
|
+
import { HLSStreamStartedTime } from './HLSStreamStartedTime';
|
|
14
|
+
import { setHlsDescriptionPaneVisible } from '../redux/actions';
|
|
15
|
+
|
|
16
|
+
export interface HLSChatHeaderViewProps {
|
|
17
|
+
expanded?: boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const _HLSChatHeaderView: React.FC<HLSChatHeaderViewProps> = ({
|
|
21
|
+
expanded = false,
|
|
22
|
+
}) => {
|
|
23
|
+
const dispatch = useDispatch();
|
|
24
|
+
const isHLSStreaming = useIsHLSStreamingOn();
|
|
25
|
+
|
|
26
|
+
const peerCount = useSelector(
|
|
27
|
+
(state: RootState) => state.hmsStates.room?.peerCount
|
|
28
|
+
);
|
|
29
|
+
const headerTitle = useHMSConferencingScreenConfig((confScreenConfig) => {
|
|
30
|
+
return confScreenConfig?.elements?.header?.title;
|
|
31
|
+
});
|
|
32
|
+
const isValidHeaderDescription = useHMSConferencingScreenConfig(
|
|
33
|
+
(confScreenConfig) => {
|
|
34
|
+
return !!confScreenConfig?.elements?.header?.description;
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
const showDescriptionPane = () => {
|
|
39
|
+
dispatch(setHlsDescriptionPaneVisible(true));
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
const hmsRoomStyles = useHMSRoomStyleSheet((theme, typography) => ({
|
|
43
|
+
container: {
|
|
44
|
+
backgroundColor: theme.palette.surface_dim,
|
|
45
|
+
borderBottomColor: theme.palette.border_bright,
|
|
46
|
+
},
|
|
47
|
+
semiBoldSecondaryHigh: {
|
|
48
|
+
fontFamily: `${typography.font_family}-SemiBold`,
|
|
49
|
+
color: theme.palette.on_secondary_high,
|
|
50
|
+
},
|
|
51
|
+
semiBoldSurfaceHigh: {
|
|
52
|
+
fontFamily: `${typography.font_family}-SemiBold`,
|
|
53
|
+
color: theme.palette.on_surface_high,
|
|
54
|
+
},
|
|
55
|
+
regularSurfaceMedium: {
|
|
56
|
+
fontFamily: `${typography.font_family}-Regular`,
|
|
57
|
+
color: theme.palette.on_surface_medium,
|
|
58
|
+
},
|
|
59
|
+
regularSurfaceLow: {
|
|
60
|
+
fontFamily: `${typography.font_family}-Regular`,
|
|
61
|
+
color: theme.palette.on_surface_low,
|
|
62
|
+
},
|
|
63
|
+
}));
|
|
64
|
+
|
|
65
|
+
return (
|
|
66
|
+
<View
|
|
67
|
+
style={[
|
|
68
|
+
styles.container,
|
|
69
|
+
hmsRoomStyles.container,
|
|
70
|
+
expanded ? { borderBottomWidth: 0 } : null,
|
|
71
|
+
]}
|
|
72
|
+
>
|
|
73
|
+
<CompanyLogo style={styles.logo} />
|
|
74
|
+
|
|
75
|
+
<View style={{ flexShrink: 1 }}>
|
|
76
|
+
{headerTitle ? (
|
|
77
|
+
<Text
|
|
78
|
+
numberOfLines={expanded ? undefined : 2}
|
|
79
|
+
style={[styles.title, hmsRoomStyles.semiBoldSecondaryHigh]}
|
|
80
|
+
>
|
|
81
|
+
{headerTitle}
|
|
82
|
+
</Text>
|
|
83
|
+
) : null}
|
|
84
|
+
|
|
85
|
+
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
|
|
86
|
+
<Text style={[styles.subtitle, hmsRoomStyles.regularSurfaceMedium]}>
|
|
87
|
+
{peerCount} {isHLSStreaming ? 'watching' : 'joined'}
|
|
88
|
+
</Text>
|
|
89
|
+
|
|
90
|
+
{isHLSStreaming ? (
|
|
91
|
+
<HLSStreamStartedTime
|
|
92
|
+
prefix={
|
|
93
|
+
<Text
|
|
94
|
+
style={[
|
|
95
|
+
styles.subtitleDivider,
|
|
96
|
+
hmsRoomStyles.regularSurfaceLow,
|
|
97
|
+
]}
|
|
98
|
+
>
|
|
99
|
+
●
|
|
100
|
+
</Text>
|
|
101
|
+
}
|
|
102
|
+
/>
|
|
103
|
+
) : null}
|
|
104
|
+
|
|
105
|
+
{isValidHeaderDescription && !expanded ? (
|
|
106
|
+
<Pressable
|
|
107
|
+
onPress={showDescriptionPane}
|
|
108
|
+
hitSlop={{ top: 8, bottom: 8, left: 8, right: 8 }}
|
|
109
|
+
>
|
|
110
|
+
<Text
|
|
111
|
+
style={[
|
|
112
|
+
styles.subtitle,
|
|
113
|
+
{ marginLeft: 8 },
|
|
114
|
+
hmsRoomStyles.semiBoldSurfaceHigh,
|
|
115
|
+
]}
|
|
116
|
+
>
|
|
117
|
+
...more
|
|
118
|
+
</Text>
|
|
119
|
+
</Pressable>
|
|
120
|
+
) : (
|
|
121
|
+
<HLSRecordingStatusText
|
|
122
|
+
style={[styles.subtitle, hmsRoomStyles.regularSurfaceMedium]}
|
|
123
|
+
prefix={
|
|
124
|
+
<Text
|
|
125
|
+
style={[
|
|
126
|
+
styles.subtitleDivider,
|
|
127
|
+
hmsRoomStyles.regularSurfaceLow,
|
|
128
|
+
]}
|
|
129
|
+
>
|
|
130
|
+
●
|
|
131
|
+
</Text>
|
|
132
|
+
}
|
|
133
|
+
/>
|
|
134
|
+
)}
|
|
135
|
+
</View>
|
|
136
|
+
</View>
|
|
137
|
+
</View>
|
|
138
|
+
);
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
export const HLSChatHeaderView = React.memo(_HLSChatHeaderView);
|
|
142
|
+
|
|
143
|
+
const styles = StyleSheet.create({
|
|
144
|
+
container: {
|
|
145
|
+
padding: 16,
|
|
146
|
+
flexDirection: 'row',
|
|
147
|
+
alignItems: 'center',
|
|
148
|
+
borderBottomWidth: 1,
|
|
149
|
+
},
|
|
150
|
+
logo: { marginRight: 12 },
|
|
151
|
+
title: {
|
|
152
|
+
fontSize: 14,
|
|
153
|
+
lineHeight: 20,
|
|
154
|
+
marginBottom: 4,
|
|
155
|
+
},
|
|
156
|
+
subtitle: {
|
|
157
|
+
fontSize: 12,
|
|
158
|
+
lineHeight: 16,
|
|
159
|
+
},
|
|
160
|
+
subtitleDivider: {
|
|
161
|
+
fontSize: 6,
|
|
162
|
+
lineHeight: 16,
|
|
163
|
+
marginHorizontal: 8,
|
|
164
|
+
},
|
|
165
|
+
});
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { FlatList, Platform, StyleSheet, View } from 'react-native';
|
|
3
|
+
import { useSelector } from 'react-redux';
|
|
4
|
+
import type { HMSMessage } from '@100mslive/react-native-hms';
|
|
5
|
+
|
|
6
|
+
import type { RootState } from '../redux';
|
|
7
|
+
import { HMSHLSMessage } from './HMSHLSMessage';
|
|
8
|
+
import { ChatBanner, PinnedMessages } from './Chat';
|
|
9
|
+
import { MessageOptionsBottomSheet } from './Chat/MessageOptionsBottomSheet';
|
|
10
|
+
|
|
11
|
+
export const HLSChatMessages = () => {
|
|
12
|
+
const messages = useSelector((state: RootState) => state.messages.messages);
|
|
13
|
+
|
|
14
|
+
const _keyExtractor = React.useCallback(
|
|
15
|
+
(item: HMSMessage) => item.messageId,
|
|
16
|
+
[]
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
const _renderItem = React.useCallback((data: { item: HMSMessage }) => {
|
|
20
|
+
return <HMSHLSMessage message={data.item} />;
|
|
21
|
+
}, []);
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<View
|
|
25
|
+
style={{
|
|
26
|
+
flex: 1,
|
|
27
|
+
paddingHorizontal: 16,
|
|
28
|
+
}}
|
|
29
|
+
>
|
|
30
|
+
<View style={styles.container}>
|
|
31
|
+
<PinnedMessages />
|
|
32
|
+
|
|
33
|
+
{messages.length > 0 ? (
|
|
34
|
+
<FlatList
|
|
35
|
+
inverted={true}
|
|
36
|
+
data={messages}
|
|
37
|
+
contentContainerStyle={{ flexGrow: 1, justifyContent: 'flex-end' }}
|
|
38
|
+
showsVerticalScrollIndicator={Platform.OS !== 'android'}
|
|
39
|
+
// contentContainerStyle={styles.listContentContainer} // Bug: Android inverted flashlist will apply padding on left when `paddingRight: 12` is applied
|
|
40
|
+
keyboardShouldPersistTaps="always"
|
|
41
|
+
// ListEmptyComponent={ChatBanner}
|
|
42
|
+
// ItemSeparatorComponent={() => <View style={{ height: 16 }} />} // TODO: There is a bug related to this: https://github.com/Shopify/flash-list/issues/638
|
|
43
|
+
renderItem={_renderItem}
|
|
44
|
+
keyExtractor={_keyExtractor}
|
|
45
|
+
/>
|
|
46
|
+
) : (
|
|
47
|
+
<ChatBanner />
|
|
48
|
+
)}
|
|
49
|
+
</View>
|
|
50
|
+
|
|
51
|
+
<MessageOptionsBottomSheet />
|
|
52
|
+
</View>
|
|
53
|
+
);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
const styles = StyleSheet.create({
|
|
57
|
+
container: {
|
|
58
|
+
flex: 1,
|
|
59
|
+
},
|
|
60
|
+
});
|