@stream-io/video-react-native-sdk 0.0.10 → 0.0.12
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/CHANGELOG.md +14 -0
- package/README.md +2 -2
- package/dist/commonjs/components/Call/CallContent/CallContent.js +133 -0
- package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -0
- package/dist/commonjs/components/Call/CallContent/index.js +17 -0
- package/dist/commonjs/components/Call/CallContent/index.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js +61 -0
- package/dist/commonjs/components/Call/CallControls/AcceptCallButton.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/CallControls.js +52 -0
- package/dist/commonjs/components/Call/CallControls/CallControls.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js +77 -0
- package/dist/commonjs/components/Call/CallControls/CallControlsButton.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/ChatButton.js +86 -0
- package/dist/commonjs/components/Call/CallControls/ChatButton.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js +77 -0
- package/dist/commonjs/components/Call/CallControls/HangupCallButton.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js +44 -0
- package/dist/commonjs/components/Call/CallControls/IncomingCallControls.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js +34 -0
- package/dist/commonjs/components/Call/CallControls/LobbyControls.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js +46 -0
- package/dist/commonjs/components/Call/CallControls/OutgoingCallControls.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/ReactionButton.js +71 -0
- package/dist/commonjs/components/Call/CallControls/ReactionButton.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js +74 -0
- package/dist/commonjs/components/Call/CallControls/RejectCallButton.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js +68 -0
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js +58 -0
- package/dist/commonjs/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js +58 -0
- package/dist/commonjs/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js +68 -0
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js +56 -0
- package/dist/commonjs/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/index.js +160 -0
- package/dist/commonjs/components/Call/CallControls/index.js.map +1 -0
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js +143 -0
- package/dist/commonjs/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -0
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js +76 -0
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -0
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js +101 -0
- package/dist/commonjs/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -0
- package/dist/commonjs/components/Call/CallLayout/index.js +28 -0
- package/dist/commonjs/components/Call/CallLayout/index.js.map +1 -0
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js +241 -0
- package/dist/commonjs/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -0
- package/dist/commonjs/components/Call/CallParticipantsList/index.js +17 -0
- package/dist/commonjs/components/Call/CallParticipantsList/index.js.map +1 -0
- package/dist/commonjs/components/Call/CallTopView/CallTopView.js +121 -0
- package/dist/commonjs/components/Call/CallTopView/CallTopView.js.map +1 -0
- package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js +107 -0
- package/dist/commonjs/components/Call/CallTopView/ParticipantsInfoBadge.js.map +1 -0
- package/dist/commonjs/components/Call/CallTopView/index.js +28 -0
- package/dist/commonjs/components/Call/CallTopView/index.js.map +1 -0
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js +73 -0
- package/dist/commonjs/components/Call/Lobby/JoinCallButton.js.map +1 -0
- package/dist/commonjs/components/Call/Lobby/Lobby.js +185 -0
- package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -0
- package/dist/commonjs/components/Call/Lobby/index.js +28 -0
- package/dist/commonjs/components/Call/Lobby/index.js.map +1 -0
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js +118 -0
- package/dist/commonjs/components/Call/RingingCallContent/IncomingCall.js.map +1 -0
- package/dist/commonjs/components/Call/RingingCallContent/JoiningCallIndicator.js +33 -0
- package/dist/commonjs/components/Call/RingingCallContent/JoiningCallIndicator.js.map +1 -0
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js +110 -0
- package/dist/commonjs/components/Call/RingingCallContent/OutgoingCall.js.map +1 -0
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js +72 -0
- package/dist/commonjs/components/Call/RingingCallContent/RingingCallContent.js.map +1 -0
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js +117 -0
- package/dist/commonjs/components/Call/RingingCallContent/UserInfo.js.map +1 -0
- package/dist/commonjs/components/Call/RingingCallContent/index.js +39 -0
- package/dist/commonjs/components/Call/RingingCallContent/index.js.map +1 -0
- package/dist/commonjs/components/Call/index.js +83 -0
- package/dist/commonjs/components/Call/index.js.map +1 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +170 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +154 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/common.js +74 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/index.js +11 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js +150 -0
- package/dist/commonjs/components/Participant/FloatingParticipantView/index.js.map +1 -0
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js +146 -0
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -0
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +98 -0
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -0
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js +83 -0
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -0
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js +63 -0
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -0
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js +90 -0
- package/dist/commonjs/components/Participant/ParticipantView/ParticipantView.js.map +1 -0
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js +193 -0
- package/dist/commonjs/components/Participant/ParticipantView/VideoRenderer.js.map +1 -0
- package/dist/commonjs/components/Participant/ParticipantView/index.js +72 -0
- package/dist/commonjs/components/Participant/ParticipantView/index.js.map +1 -0
- package/dist/commonjs/components/Participant/index.js +28 -0
- package/dist/commonjs/components/Participant/index.js.map +1 -0
- package/dist/commonjs/components/index.js +39 -0
- package/dist/commonjs/components/index.js.map +1 -0
- package/dist/commonjs/components/utility/Avatar.js +77 -0
- package/dist/commonjs/components/utility/Avatar.js.map +1 -0
- package/dist/commonjs/components/utility/index.js +17 -0
- package/dist/commonjs/components/utility/index.js.map +1 -0
- package/dist/commonjs/constants/TestIds.js +40 -0
- package/dist/commonjs/constants/TestIds.js.map +1 -0
- package/dist/commonjs/constants/index.js +38 -0
- package/dist/commonjs/constants/index.js.map +1 -0
- package/dist/commonjs/contexts/StreamVideoContext.js +111 -0
- package/dist/commonjs/contexts/StreamVideoContext.js.map +1 -0
- package/dist/commonjs/contexts/ThemeContext.js +59 -0
- package/dist/commonjs/contexts/ThemeContext.js.map +1 -0
- package/dist/commonjs/contexts/index.js +28 -0
- package/dist/commonjs/contexts/index.js.map +1 -0
- package/dist/commonjs/hooks/index.js +61 -0
- package/dist/commonjs/hooks/index.js.map +1 -0
- package/dist/commonjs/hooks/internal/useCallMediaStreamCleanup.js +32 -0
- package/dist/commonjs/hooks/internal/useCallMediaStreamCleanup.js.map +1 -0
- package/dist/commonjs/hooks/push/index.js +22 -0
- package/dist/commonjs/hooks/push/index.js.map +1 -0
- package/dist/commonjs/hooks/push/useInitAndroidTokenAndRest.js +28 -0
- package/dist/commonjs/hooks/push/useInitAndroidTokenAndRest.js.map +1 -0
- package/dist/commonjs/hooks/push/useIosCallKeepEventsSetupEffect.js +69 -0
- package/dist/commonjs/hooks/push/useIosCallKeepEventsSetupEffect.js.map +1 -0
- package/dist/commonjs/hooks/push/useIosCallkeepWithCallingStateEffect.js +123 -0
- package/dist/commonjs/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -0
- package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js +89 -0
- package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -0
- package/dist/commonjs/hooks/push/useProcessPushCallEffect.js +68 -0
- package/dist/commonjs/hooks/push/useProcessPushCallEffect.js.map +1 -0
- package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js +122 -0
- package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js.map +1 -0
- package/dist/commonjs/hooks/useIncallManager.js +32 -0
- package/dist/commonjs/hooks/useIncallManager.js.map +1 -0
- package/dist/commonjs/hooks/usePermissionNotification.js +44 -0
- package/dist/commonjs/hooks/usePermissionNotification.js.map +1 -0
- package/dist/commonjs/hooks/usePermissionRequest.js +68 -0
- package/dist/commonjs/hooks/usePermissionRequest.js.map +1 -0
- package/dist/commonjs/icons/Back.js +22 -0
- package/dist/commonjs/icons/Back.js.map +1 -0
- package/dist/commonjs/icons/CameraSwitch.js +22 -0
- package/dist/commonjs/icons/CameraSwitch.js.map +1 -0
- package/dist/commonjs/icons/Chat.js +22 -0
- package/dist/commonjs/icons/Chat.js.map +1 -0
- package/dist/commonjs/icons/Mic.js +25 -0
- package/dist/commonjs/icons/Mic.js.map +1 -0
- package/dist/commonjs/icons/MicOff.js +22 -0
- package/dist/commonjs/icons/MicOff.js.map +1 -0
- package/dist/commonjs/icons/Participants.js +24 -0
- package/dist/commonjs/icons/Participants.js.map +1 -0
- package/dist/commonjs/icons/Phone.js +22 -0
- package/dist/commonjs/icons/Phone.js.map +1 -0
- package/dist/commonjs/icons/PhoneDown.js +24 -0
- package/dist/commonjs/icons/PhoneDown.js.map +1 -0
- package/dist/commonjs/icons/PinVertical.js +22 -0
- package/dist/commonjs/icons/PinVertical.js.map +1 -0
- package/dist/commonjs/icons/Reaction.js +22 -0
- package/dist/commonjs/icons/Reaction.js.map +1 -0
- package/dist/commonjs/icons/ScreenShare.js +38 -0
- package/dist/commonjs/icons/ScreenShare.js.map +1 -0
- package/dist/commonjs/icons/Settings.js +24 -0
- package/dist/commonjs/icons/Settings.js.map +1 -0
- package/dist/commonjs/icons/Spotlight.js +24 -0
- package/dist/commonjs/icons/Spotlight.js.map +1 -0
- package/dist/commonjs/icons/ThreeDots.js +34 -0
- package/dist/commonjs/icons/ThreeDots.js.map +1 -0
- package/dist/commonjs/icons/TopViewBackground.js +38 -0
- package/dist/commonjs/icons/TopViewBackground.js.map +1 -0
- package/dist/commonjs/icons/Video.js +22 -0
- package/dist/commonjs/icons/Video.js.map +1 -0
- package/dist/commonjs/icons/VideoSlash.js +24 -0
- package/dist/commonjs/icons/VideoSlash.js.map +1 -0
- package/dist/commonjs/icons/index.js +182 -0
- package/dist/commonjs/icons/index.js.map +1 -0
- package/dist/commonjs/index.js +172 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/providers/MediaStreamManagement.js +148 -0
- package/dist/commonjs/providers/MediaStreamManagement.js.map +1 -0
- package/dist/commonjs/providers/StreamCall.js +49 -0
- package/dist/commonjs/providers/StreamCall.js.map +1 -0
- package/dist/commonjs/providers/StreamVideo.js +76 -0
- package/dist/commonjs/providers/StreamVideo.js.map +1 -0
- package/dist/commonjs/providers/index.js +39 -0
- package/dist/commonjs/providers/index.js.map +1 -0
- package/dist/commonjs/theme/colors.js +51 -0
- package/dist/commonjs/theme/colors.js.map +1 -0
- package/dist/commonjs/theme/constants.js +59 -0
- package/dist/commonjs/theme/constants.js.map +1 -0
- package/dist/commonjs/theme/index.js +28 -0
- package/dist/commonjs/theme/index.js.map +1 -0
- package/dist/commonjs/theme/theme.js +230 -0
- package/dist/commonjs/theme/theme.js.map +1 -0
- package/dist/commonjs/theme/types.js +6 -0
- package/dist/commonjs/theme/types.js.map +1 -0
- package/dist/commonjs/translations/en.json +14 -0
- package/dist/commonjs/translations/index.js +13 -0
- package/dist/commonjs/translations/index.js.map +1 -0
- package/dist/commonjs/utils/StreamVideoRN/index.js +71 -0
- package/dist/commonjs/utils/StreamVideoRN/index.js.map +1 -0
- package/dist/commonjs/utils/StreamVideoRN/types.js +6 -0
- package/dist/commonjs/utils/StreamVideoRN/types.js.map +1 -0
- package/dist/commonjs/utils/hooks/index.js +39 -0
- package/dist/commonjs/utils/hooks/index.js.map +1 -0
- package/dist/commonjs/utils/hooks/useAppStateListener.js +43 -0
- package/dist/commonjs/utils/hooks/useAppStateListener.js.map +1 -0
- package/dist/commonjs/utils/hooks/useDebouncedValue.js +24 -0
- package/dist/commonjs/utils/hooks/useDebouncedValue.js.map +1 -0
- package/dist/commonjs/utils/hooks/usePrevious.js +16 -0
- package/dist/commonjs/utils/hooks/usePrevious.js.map +1 -0
- package/dist/commonjs/utils/index.js +52 -0
- package/dist/commonjs/utils/index.js.map +1 -0
- package/dist/commonjs/utils/internal/optionalLibs.js +31 -0
- package/dist/commonjs/utils/internal/optionalLibs.js.map +1 -0
- package/dist/commonjs/utils/push/android.js +146 -0
- package/dist/commonjs/utils/push/android.js.map +1 -0
- package/dist/commonjs/utils/push/ios.js +46 -0
- package/dist/commonjs/utils/push/ios.js.map +1 -0
- package/dist/commonjs/utils/push/libs.js +39 -0
- package/dist/commonjs/utils/push/libs.js.map +1 -0
- package/dist/commonjs/utils/push/rxSubjects.js +49 -0
- package/dist/commonjs/utils/push/rxSubjects.js.map +1 -0
- package/dist/commonjs/utils/push/utils.js +55 -0
- package/dist/commonjs/utils/push/utils.js.map +1 -0
- package/dist/commonjs/utils/setClientDetails.js +51 -0
- package/dist/commonjs/utils/setClientDetails.js.map +1 -0
- package/dist/commonjs/version.js +9 -0
- package/dist/commonjs/version.js.map +1 -0
- package/dist/module/components/Call/CallContent/CallContent.js +124 -0
- package/dist/module/components/Call/CallContent/CallContent.js.map +1 -0
- package/dist/module/components/Call/CallContent/index.js.map +1 -0
- package/dist/module/components/Call/CallControls/AcceptCallButton.js +54 -0
- package/dist/module/components/Call/CallControls/AcceptCallButton.js.map +1 -0
- package/dist/module/components/Call/CallControls/CallControls.js +45 -0
- package/dist/module/components/Call/CallControls/CallControls.js.map +1 -0
- package/dist/module/components/Call/CallControls/CallControlsButton.js +69 -0
- package/dist/module/components/Call/CallControls/CallControlsButton.js.map +1 -0
- package/dist/module/components/Call/CallControls/ChatButton.js +79 -0
- package/dist/module/components/Call/CallControls/ChatButton.js.map +1 -0
- package/dist/module/components/Call/CallControls/HangupCallButton.js +69 -0
- package/dist/module/components/Call/CallControls/HangupCallButton.js.map +1 -0
- package/dist/module/components/Call/CallControls/IncomingCallControls.js +37 -0
- package/dist/module/components/Call/CallControls/IncomingCallControls.js.map +1 -0
- package/dist/module/components/Call/CallControls/LobbyControls.js +27 -0
- package/dist/module/components/Call/CallControls/LobbyControls.js.map +1 -0
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js +39 -0
- package/dist/module/components/Call/CallControls/OutgoingCallControls.js.map +1 -0
- package/dist/module/components/Call/CallControls/ReactionButton.js +63 -0
- package/dist/module/components/Call/CallControls/ReactionButton.js.map +1 -0
- package/dist/module/components/Call/CallControls/RejectCallButton.js +67 -0
- package/dist/module/components/Call/CallControls/RejectCallButton.js.map +1 -0
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js +61 -0
- package/dist/module/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -0
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js +51 -0
- package/dist/module/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -0
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js +51 -0
- package/dist/module/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -0
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js +61 -0
- package/dist/module/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -0
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js +49 -0
- package/dist/module/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -0
- package/dist/module/components/Call/CallControls/index.js.map +1 -0
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +134 -0
- package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -0
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js +69 -0
- package/dist/module/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -0
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js +94 -0
- package/dist/module/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -0
- package/dist/module/components/Call/CallLayout/index.js.map +1 -0
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js +232 -0
- package/dist/module/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -0
- package/dist/module/components/Call/CallParticipantsList/index.js.map +1 -0
- package/dist/module/components/Call/CallTopView/CallTopView.js +112 -0
- package/dist/module/components/Call/CallTopView/CallTopView.js.map +1 -0
- package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js +100 -0
- package/dist/module/components/Call/CallTopView/ParticipantsInfoBadge.js.map +1 -0
- package/dist/module/components/Call/CallTopView/index.js.map +1 -0
- package/dist/module/components/Call/Lobby/JoinCallButton.js +66 -0
- package/dist/module/components/Call/Lobby/JoinCallButton.js.map +1 -0
- package/dist/module/components/Call/Lobby/Lobby.js +178 -0
- package/dist/module/components/Call/Lobby/Lobby.js.map +1 -0
- package/dist/module/components/Call/Lobby/index.js.map +1 -0
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js +110 -0
- package/dist/module/components/Call/RingingCallContent/IncomingCall.js.map +1 -0
- package/dist/module/components/Call/RingingCallContent/JoiningCallIndicator.js +25 -0
- package/dist/module/components/Call/RingingCallContent/JoiningCallIndicator.js.map +1 -0
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js +103 -0
- package/dist/module/components/Call/RingingCallContent/OutgoingCall.js.map +1 -0
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js +65 -0
- package/dist/module/components/Call/RingingCallContent/RingingCallContent.js.map +1 -0
- package/dist/module/components/Call/RingingCallContent/UserInfo.js +109 -0
- package/dist/module/components/Call/RingingCallContent/UserInfo.js.map +1 -0
- package/dist/module/components/Call/RingingCallContent/index.js.map +1 -0
- package/dist/module/components/Call/index.js.map +1 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +161 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +145 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js +64 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js +4 -0
- package/dist/module/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -0
- package/dist/module/components/Participant/FloatingParticipantView/index.js +143 -0
- package/dist/module/components/Participant/FloatingParticipantView/index.js.map +1 -0
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js +139 -0
- package/dist/module/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -0
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +91 -0
- package/dist/module/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -0
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +75 -0
- package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -0
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js +56 -0
- package/dist/module/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -0
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js +83 -0
- package/dist/module/components/Participant/ParticipantView/ParticipantView.js.map +1 -0
- package/dist/module/components/Participant/ParticipantView/VideoRenderer.js +184 -0
- package/dist/module/components/Participant/ParticipantView/VideoRenderer.js.map +1 -0
- package/dist/module/components/Participant/ParticipantView/index.js.map +1 -0
- package/dist/module/components/Participant/index.js.map +1 -0
- package/dist/module/components/index.js.map +1 -0
- package/dist/module/components/utility/Avatar.js +70 -0
- package/dist/module/components/utility/Avatar.js.map +1 -0
- package/dist/module/components/utility/index.js.map +1 -0
- package/dist/module/constants/TestIds.js +30 -0
- package/dist/module/constants/TestIds.js.map +1 -0
- package/dist/module/constants/index.js +28 -0
- package/dist/module/constants/index.js.map +1 -0
- package/dist/module/contexts/StreamVideoContext.js +101 -0
- package/dist/module/contexts/StreamVideoContext.js.map +1 -0
- package/dist/module/contexts/ThemeContext.js +46 -0
- package/dist/module/contexts/ThemeContext.js.map +1 -0
- package/dist/module/contexts/index.js.map +1 -0
- package/dist/module/hooks/index.js.map +1 -0
- package/dist/module/hooks/internal/useCallMediaStreamCleanup.js +26 -0
- package/dist/module/hooks/internal/useCallMediaStreamCleanup.js.map +1 -0
- package/dist/module/hooks/push/index.js +16 -0
- package/dist/module/hooks/push/index.js.map +1 -0
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js +22 -0
- package/dist/module/hooks/push/useInitAndroidTokenAndRest.js.map +1 -0
- package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js +63 -0
- package/dist/module/hooks/push/useIosCallKeepEventsSetupEffect.js.map +1 -0
- package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js +116 -0
- package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -0
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +83 -0
- package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -0
- package/dist/module/hooks/push/useProcessPushCallEffect.js +61 -0
- package/dist/module/hooks/push/useProcessPushCallEffect.js.map +1 -0
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +113 -0
- package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -0
- package/dist/module/hooks/useIncallManager.js +24 -0
- package/dist/module/hooks/useIncallManager.js.map +1 -0
- package/dist/module/hooks/usePermissionNotification.js +37 -0
- package/dist/module/hooks/usePermissionNotification.js.map +1 -0
- package/dist/module/hooks/usePermissionRequest.js +61 -0
- package/dist/module/hooks/usePermissionRequest.js.map +1 -0
- package/dist/module/icons/Back.js +14 -0
- package/dist/module/icons/Back.js.map +1 -0
- package/dist/module/icons/CameraSwitch.js +14 -0
- package/dist/module/icons/CameraSwitch.js.map +1 -0
- package/dist/module/icons/Chat.js +14 -0
- package/dist/module/icons/Chat.js.map +1 -0
- package/dist/module/icons/Mic.js +17 -0
- package/dist/module/icons/Mic.js.map +1 -0
- package/dist/module/icons/MicOff.js +14 -0
- package/dist/module/icons/MicOff.js.map +1 -0
- package/dist/module/icons/Participants.js +16 -0
- package/dist/module/icons/Participants.js.map +1 -0
- package/dist/module/icons/Phone.js +14 -0
- package/dist/module/icons/Phone.js.map +1 -0
- package/dist/module/icons/PhoneDown.js +16 -0
- package/dist/module/icons/PhoneDown.js.map +1 -0
- package/dist/module/icons/PinVertical.js +14 -0
- package/dist/module/icons/PinVertical.js.map +1 -0
- package/dist/module/icons/Reaction.js +14 -0
- package/dist/module/icons/Reaction.js.map +1 -0
- package/dist/module/icons/ScreenShare.js +28 -0
- package/dist/module/icons/ScreenShare.js.map +1 -0
- package/dist/module/icons/Settings.js +14 -0
- package/dist/module/icons/Settings.js.map +1 -0
- package/dist/module/icons/Spotlight.js +16 -0
- package/dist/module/icons/Spotlight.js.map +1 -0
- package/dist/module/icons/ThreeDots.js +26 -0
- package/dist/module/icons/ThreeDots.js.map +1 -0
- package/dist/module/icons/TopViewBackground.js +30 -0
- package/dist/module/icons/TopViewBackground.js.map +1 -0
- package/dist/module/icons/Video.js +14 -0
- package/dist/module/icons/Video.js.map +1 -0
- package/dist/module/icons/VideoSlash.js +16 -0
- package/dist/module/icons/VideoSlash.js.map +1 -0
- package/dist/module/icons/index.js.map +1 -0
- package/dist/module/index.js +35 -0
- package/dist/module/index.js.map +1 -0
- package/dist/module/providers/MediaStreamManagement.js +139 -0
- package/dist/module/providers/MediaStreamManagement.js.map +1 -0
- package/dist/module/providers/StreamCall.js +41 -0
- package/dist/module/providers/StreamCall.js.map +1 -0
- package/dist/module/providers/StreamVideo.js +66 -0
- package/dist/module/providers/StreamVideo.js.map +1 -0
- package/dist/module/providers/index.js.map +1 -0
- package/dist/module/theme/colors.js +44 -0
- package/dist/module/theme/colors.js.map +1 -0
- package/dist/module/theme/constants.js +53 -0
- package/dist/module/theme/constants.js.map +1 -0
- package/dist/module/theme/index.js +7 -0
- package/dist/module/theme/index.js.map +1 -0
- package/dist/module/theme/theme.js +223 -0
- package/dist/module/theme/theme.js.map +1 -0
- package/dist/module/theme/types.js.map +1 -0
- package/dist/module/translations/en.json +14 -0
- package/dist/module/translations/index.js +5 -0
- package/dist/module/translations/index.js.map +1 -0
- package/dist/module/utils/StreamVideoRN/index.js +64 -0
- package/dist/module/utils/StreamVideoRN/index.js.map +1 -0
- package/dist/module/utils/StreamVideoRN/types.js.map +1 -0
- package/dist/module/utils/hooks/index.js.map +1 -0
- package/dist/module/utils/hooks/useAppStateListener.js +36 -0
- package/dist/module/utils/hooks/useAppStateListener.js.map +1 -0
- package/dist/module/utils/hooks/useDebouncedValue.js +19 -0
- package/dist/module/utils/hooks/useDebouncedValue.js.map +1 -0
- package/dist/module/utils/hooks/usePrevious.js +9 -0
- package/dist/module/utils/hooks/usePrevious.js.map +1 -0
- package/dist/module/utils/index.js +27 -0
- package/dist/module/utils/index.js.map +1 -0
- package/dist/module/utils/internal/optionalLibs.js +23 -0
- package/dist/module/utils/internal/optionalLibs.js.map +1 -0
- package/dist/module/utils/push/android.js +137 -0
- package/dist/module/utils/push/android.js.map +1 -0
- package/dist/module/utils/push/ios.js +38 -0
- package/dist/module/utils/push/ios.js.map +1 -0
- package/dist/module/utils/push/libs.js +31 -0
- package/dist/module/utils/push/libs.js.map +1 -0
- package/dist/module/utils/push/rxSubjects.js +39 -0
- package/dist/module/utils/push/rxSubjects.js.map +1 -0
- package/dist/module/utils/push/utils.js +47 -0
- package/dist/module/utils/push/utils.js.map +1 -0
- package/dist/module/utils/setClientDetails.js +44 -0
- package/dist/module/utils/setClientDetails.js.map +1 -0
- package/dist/module/version.js +2 -0
- package/dist/module/version.js.map +1 -0
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts +27 -0
- package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallContent/index.d.ts +2 -0
- package/dist/typescript/components/Call/CallContent/index.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts +23 -0
- package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/CallControls.d.ts +17 -0
- package/dist/typescript/components/Call/CallControls/CallControls.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts +37 -0
- package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/ChatButton.d.ts +21 -0
- package/dist/typescript/components/Call/CallControls/ChatButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts +23 -0
- package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/IncomingCallControls.d.ts +15 -0
- package/dist/typescript/components/Call/CallControls/IncomingCallControls.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/LobbyControls.d.ts +5 -0
- package/dist/typescript/components/Call/CallControls/LobbyControls.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/OutgoingCallControls.d.ts +11 -0
- package/dist/typescript/components/Call/CallControls/OutgoingCallControls.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/ReactionButton.d.ts +15 -0
- package/dist/typescript/components/Call/CallControls/ReactionButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts +24 -0
- package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/ToggleAudioPreviewButton.d.ts +15 -0
- package/dist/typescript/components/Call/CallControls/ToggleAudioPreviewButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/ToggleAudioPublishingButton.d.ts +15 -0
- package/dist/typescript/components/Call/CallControls/ToggleAudioPublishingButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts +15 -0
- package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/ToggleVideoPreviewButton.d.ts +15 -0
- package/dist/typescript/components/Call/CallControls/ToggleVideoPreviewButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/ToggleVideoPublishingButton.d.ts +15 -0
- package/dist/typescript/components/Call/CallControls/ToggleVideoPublishingButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/index.d.ts +15 -0
- package/dist/typescript/components/Call/CallControls/index.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts +10 -0
- package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts +20 -0
- package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts +17 -0
- package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallLayout/index.d.ts +3 -0
- package/dist/typescript/components/Call/CallLayout/index.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts +35 -0
- package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallParticipantsList/index.d.ts +2 -0
- package/dist/typescript/components/Call/CallParticipantsList/index.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts +29 -0
- package/dist/typescript/components/Call/CallTopView/CallTopView.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts +11 -0
- package/dist/typescript/components/Call/CallTopView/ParticipantsInfoBadge.d.ts.map +1 -0
- package/dist/typescript/components/Call/CallTopView/index.d.ts +3 -0
- package/dist/typescript/components/Call/CallTopView/index.d.ts.map +1 -0
- package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts +12 -0
- package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -0
- package/dist/typescript/components/Call/Lobby/Lobby.d.ts +24 -0
- package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -0
- package/dist/typescript/components/Call/Lobby/index.d.ts +3 -0
- package/dist/typescript/components/Call/Lobby/index.d.ts.map +1 -0
- package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts +40 -0
- package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -0
- package/dist/typescript/components/Call/RingingCallContent/JoiningCallIndicator.d.ts +2 -0
- package/dist/typescript/components/Call/RingingCallContent/JoiningCallIndicator.d.ts.map +1 -0
- package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts +22 -0
- package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -0
- package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts +35 -0
- package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -0
- package/dist/typescript/components/Call/RingingCallContent/UserInfo.d.ts +14 -0
- package/dist/typescript/components/Call/RingingCallContent/UserInfo.d.ts.map +1 -0
- package/dist/typescript/components/Call/RingingCallContent/index.d.ts +4 -0
- package/dist/typescript/components/Call/RingingCallContent/index.d.ts.map +1 -0
- package/dist/typescript/components/Call/index.d.ts +8 -0
- package/dist/typescript/components/Call/index.d.ts.map +1 -0
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts +4 -0
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts.map +1 -0
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts +5 -0
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -0
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts +39 -0
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/common.d.ts.map +1 -0
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts +5 -0
- package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/index.d.ts.map +1 -0
- package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts +32 -0
- package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -0
- package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts +10 -0
- package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -0
- package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts +7 -0
- package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts.map +1 -0
- package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts +17 -0
- package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -0
- package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts +10 -0
- package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -0
- package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts +70 -0
- package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -0
- package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts +12 -0
- package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts.map +1 -0
- package/dist/typescript/components/Participant/ParticipantView/index.d.ts +7 -0
- package/dist/typescript/components/Participant/ParticipantView/index.d.ts.map +1 -0
- package/dist/typescript/components/Participant/index.d.ts +3 -0
- package/dist/typescript/components/Participant/index.d.ts.map +1 -0
- package/dist/typescript/components/index.d.ts +4 -0
- package/dist/typescript/components/index.d.ts.map +1 -0
- package/dist/typescript/components/utility/Avatar.d.ts +43 -0
- package/dist/typescript/components/utility/Avatar.d.ts.map +1 -0
- package/dist/typescript/components/utility/index.d.ts +2 -0
- package/dist/typescript/components/utility/index.d.ts.map +1 -0
- package/dist/typescript/constants/TestIds.d.ts +26 -0
- package/dist/typescript/constants/TestIds.d.ts.map +1 -0
- package/dist/typescript/constants/index.d.ts +14 -0
- package/dist/typescript/constants/index.d.ts.map +1 -0
- package/dist/typescript/contexts/StreamVideoContext.d.ts +20 -0
- package/dist/typescript/contexts/StreamVideoContext.d.ts.map +1 -0
- package/dist/typescript/contexts/ThemeContext.d.ts +23 -0
- package/dist/typescript/contexts/ThemeContext.d.ts.map +1 -0
- package/dist/typescript/contexts/index.d.ts +3 -0
- package/dist/typescript/contexts/index.d.ts.map +1 -0
- package/dist/typescript/hooks/index.d.ts +6 -0
- package/dist/typescript/hooks/index.d.ts.map +1 -0
- package/dist/typescript/hooks/internal/useCallMediaStreamCleanup.d.ts +6 -0
- package/dist/typescript/hooks/internal/useCallMediaStreamCleanup.d.ts.map +1 -0
- package/dist/typescript/hooks/push/index.d.ts +6 -0
- package/dist/typescript/hooks/push/index.d.ts.map +1 -0
- package/dist/typescript/hooks/push/useInitAndroidTokenAndRest.d.ts +5 -0
- package/dist/typescript/hooks/push/useInitAndroidTokenAndRest.d.ts.map +1 -0
- package/dist/typescript/hooks/push/useIosCallKeepEventsSetupEffect.d.ts +5 -0
- package/dist/typescript/hooks/push/useIosCallKeepEventsSetupEffect.d.ts.map +1 -0
- package/dist/typescript/hooks/push/useIosCallkeepWithCallingStateEffect.d.ts +5 -0
- package/dist/typescript/hooks/push/useIosCallkeepWithCallingStateEffect.d.ts.map +1 -0
- package/dist/typescript/hooks/push/useIosVoipPushEventsSetupEffect.d.ts +6 -0
- package/dist/typescript/hooks/push/useIosVoipPushEventsSetupEffect.d.ts.map +1 -0
- package/dist/typescript/hooks/push/useProcessPushCallEffect.d.ts +8 -0
- package/dist/typescript/hooks/push/useProcessPushCallEffect.d.ts.map +1 -0
- package/dist/typescript/hooks/useAndroidKeepCallAliveEffect.d.ts +7 -0
- package/dist/typescript/hooks/useAndroidKeepCallAliveEffect.d.ts.map +1 -0
- package/dist/typescript/hooks/useIncallManager.d.ts +14 -0
- package/dist/typescript/hooks/useIncallManager.d.ts.map +1 -0
- package/dist/typescript/hooks/usePermissionNotification.d.ts +19 -0
- package/dist/typescript/hooks/usePermissionNotification.d.ts.map +1 -0
- package/dist/typescript/hooks/usePermissionRequest.d.ts +2 -0
- package/dist/typescript/hooks/usePermissionRequest.d.ts.map +1 -0
- package/dist/typescript/icons/Back.d.ts +7 -0
- package/dist/typescript/icons/Back.d.ts.map +1 -0
- package/dist/typescript/icons/CameraSwitch.d.ts +7 -0
- package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -0
- package/dist/typescript/icons/Chat.d.ts +7 -0
- package/dist/typescript/icons/Chat.d.ts.map +1 -0
- package/dist/typescript/icons/Mic.d.ts +7 -0
- package/dist/typescript/icons/Mic.d.ts.map +1 -0
- package/dist/typescript/icons/MicOff.d.ts +7 -0
- package/dist/typescript/icons/MicOff.d.ts.map +1 -0
- package/dist/typescript/icons/Participants.d.ts +7 -0
- package/dist/typescript/icons/Participants.d.ts.map +1 -0
- package/dist/typescript/icons/Phone.d.ts +7 -0
- package/dist/typescript/icons/Phone.d.ts.map +1 -0
- package/dist/typescript/icons/PhoneDown.d.ts +7 -0
- package/dist/typescript/icons/PhoneDown.d.ts.map +1 -0
- package/dist/typescript/icons/PinVertical.d.ts +7 -0
- package/dist/typescript/icons/PinVertical.d.ts.map +1 -0
- package/dist/typescript/icons/Reaction.d.ts +7 -0
- package/dist/typescript/icons/Reaction.d.ts.map +1 -0
- package/dist/typescript/icons/ScreenShare.d.ts +7 -0
- package/dist/typescript/icons/ScreenShare.d.ts.map +1 -0
- package/dist/typescript/icons/Settings.d.ts +6 -0
- package/dist/typescript/icons/Settings.d.ts.map +1 -0
- package/dist/typescript/icons/Spotlight.d.ts +7 -0
- package/dist/typescript/icons/Spotlight.d.ts.map +1 -0
- package/dist/typescript/icons/ThreeDots.d.ts +6 -0
- package/dist/typescript/icons/ThreeDots.d.ts.map +1 -0
- package/dist/typescript/icons/TopViewBackground.d.ts +14 -0
- package/dist/typescript/icons/TopViewBackground.d.ts.map +1 -0
- package/dist/typescript/icons/Video.d.ts +7 -0
- package/dist/typescript/icons/Video.d.ts.map +1 -0
- package/dist/typescript/icons/VideoSlash.d.ts +7 -0
- package/dist/typescript/icons/VideoSlash.d.ts.map +1 -0
- package/dist/typescript/icons/index.d.ts +17 -0
- package/dist/typescript/icons/index.d.ts.map +1 -0
- package/dist/typescript/index.d.ts +17 -0
- package/dist/typescript/index.d.ts.map +1 -0
- package/dist/typescript/providers/MediaStreamManagement.d.ts +46 -0
- package/dist/typescript/providers/MediaStreamManagement.d.ts.map +1 -0
- package/dist/typescript/providers/StreamCall.d.ts +23 -0
- package/dist/typescript/providers/StreamCall.d.ts.map +1 -0
- package/dist/typescript/providers/StreamVideo.d.ts +15 -0
- package/dist/typescript/providers/StreamVideo.d.ts.map +1 -0
- package/dist/typescript/providers/index.d.ts +4 -0
- package/dist/typescript/providers/index.d.ts.map +1 -0
- package/dist/typescript/theme/colors.d.ts +40 -0
- package/dist/typescript/theme/colors.d.ts.map +1 -0
- package/dist/typescript/theme/constants.d.ts +48 -0
- package/dist/typescript/theme/constants.d.ts.map +1 -0
- package/dist/typescript/theme/index.d.ts +4 -0
- package/dist/typescript/theme/index.d.ts.map +1 -0
- package/dist/typescript/theme/theme.d.ts +196 -0
- package/dist/typescript/theme/theme.d.ts.map +1 -0
- package/dist/typescript/theme/types.d.ts +30 -0
- package/dist/typescript/theme/types.d.ts.map +1 -0
- package/dist/typescript/translations/index.d.ts +17 -0
- package/dist/typescript/translations/index.d.ts.map +1 -0
- package/dist/typescript/utils/StreamVideoRN/index.d.ts +28 -0
- package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -0
- package/dist/typescript/utils/StreamVideoRN/types.d.ts +95 -0
- package/dist/typescript/utils/StreamVideoRN/types.d.ts.map +1 -0
- package/dist/typescript/utils/hooks/index.d.ts +4 -0
- package/dist/typescript/utils/hooks/index.d.ts.map +1 -0
- package/dist/typescript/utils/hooks/useAppStateListener.d.ts +2 -0
- package/dist/typescript/utils/hooks/useAppStateListener.d.ts.map +1 -0
- package/dist/typescript/utils/hooks/useDebouncedValue.d.ts +8 -0
- package/dist/typescript/utils/hooks/useDebouncedValue.d.ts.map +1 -0
- package/dist/typescript/utils/hooks/usePrevious.d.ts +2 -0
- package/dist/typescript/utils/hooks/usePrevious.d.ts.map +1 -0
- package/dist/typescript/utils/index.d.ts +5 -0
- package/dist/typescript/utils/index.d.ts.map +1 -0
- package/dist/typescript/utils/internal/optionalLibs.d.ts +6 -0
- package/dist/typescript/utils/internal/optionalLibs.d.ts.map +1 -0
- package/dist/typescript/utils/push/android.d.ts +9 -0
- package/dist/typescript/utils/push/android.d.ts.map +1 -0
- package/dist/typescript/utils/push/ios.d.ts +6 -0
- package/dist/typescript/utils/push/ios.d.ts.map +1 -0
- package/dist/typescript/utils/push/libs.d.ts +10 -0
- package/dist/typescript/utils/push/libs.d.ts.map +1 -0
- package/dist/typescript/utils/push/rxSubjects.d.ts +29 -0
- package/dist/typescript/utils/push/rxSubjects.d.ts.map +1 -0
- package/dist/typescript/utils/push/utils.d.ts +14 -0
- package/dist/typescript/utils/push/utils.d.ts.map +1 -0
- package/dist/typescript/utils/setClientDetails.d.ts +2 -0
- package/dist/typescript/utils/setClientDetails.d.ts.map +1 -0
- package/dist/typescript/version.d.ts +2 -0
- package/dist/typescript/version.d.ts.map +1 -0
- package/expo-config-plugin/dist/index.js +18 -14
- package/expo-config-plugin/dist/withAndroidManifest.js +6 -5
- package/expo-config-plugin/dist/withAndroidPermissions.js +5 -4
- package/expo-config-plugin/dist/withAppDelegate.js +8 -7
- package/expo-config-plugin/dist/withMainApplication.js +8 -7
- package/expo-config-plugin/dist/withiOSInfoPlist.js +5 -4
- package/package.json +18 -6
- package/src/components/Call/CallControls/ToggleAudioPreviewButton.tsx +3 -3
- package/src/components/Call/CallControls/ToggleVideoPreviewButton.tsx +4 -3
- package/src/components/Call/Lobby/Lobby.tsx +6 -3
- package/src/components/Call/RingingCallContent/OutgoingCall.tsx +5 -3
- package/src/components/Participant/ParticipantView/VideoRenderer.tsx +6 -3
- package/src/hooks/internal/useCallMediaStreamCleanup.ts +1 -0
- package/src/index.ts +41 -0
- package/src/providers/MediaStreamManagement.tsx +80 -51
- package/src/providers/StreamVideo.tsx +0 -2
- package/src/translations/en.json +1 -3
- package/src/utils/StreamVideoRN/index.ts +0 -21
- package/src/utils/setClientDetails.ts +1 -1
- package/src/version.ts +1 -0
- package/dist/index.d.ts +0 -16
- package/dist/index.js +0 -32
- package/dist/index.js.map +0 -1
- package/dist/jest-setup.d.ts +0 -1
- package/dist/jest-setup.js +0 -38
- package/dist/jest-setup.js.map +0 -1
- package/dist/src/components/Call/CallContent/CallContent.d.ts +0 -26
- package/dist/src/components/Call/CallContent/CallContent.js +0 -84
- package/dist/src/components/Call/CallContent/CallContent.js.map +0 -1
- package/dist/src/components/Call/CallContent/index.d.ts +0 -1
- package/dist/src/components/Call/CallContent/index.js.map +0 -1
- package/dist/src/components/Call/CallControls/AcceptCallButton.d.ts +0 -22
- package/dist/src/components/Call/CallControls/AcceptCallButton.js +0 -32
- package/dist/src/components/Call/CallControls/AcceptCallButton.js.map +0 -1
- package/dist/src/components/Call/CallControls/CallControls.d.ts +0 -16
- package/dist/src/components/Call/CallControls/CallControls.js +0 -34
- package/dist/src/components/Call/CallControls/CallControls.js.map +0 -1
- package/dist/src/components/Call/CallControls/CallControlsButton.d.ts +0 -36
- package/dist/src/components/Call/CallControls/CallControlsButton.js +0 -48
- package/dist/src/components/Call/CallControls/CallControlsButton.js.map +0 -1
- package/dist/src/components/Call/CallControls/ChatButton.d.ts +0 -20
- package/dist/src/components/Call/CallControls/ChatButton.js +0 -45
- package/dist/src/components/Call/CallControls/ChatButton.js.map +0 -1
- package/dist/src/components/Call/CallControls/HangupCallButton.d.ts +0 -22
- package/dist/src/components/Call/CallControls/HangupCallButton.js +0 -47
- package/dist/src/components/Call/CallControls/HangupCallButton.js.map +0 -1
- package/dist/src/components/Call/CallControls/IncomingCallControls.d.ts +0 -14
- package/dist/src/components/Call/CallControls/IncomingCallControls.js +0 -21
- package/dist/src/components/Call/CallControls/IncomingCallControls.js.map +0 -1
- package/dist/src/components/Call/CallControls/LobbyControls.d.ts +0 -4
- package/dist/src/components/Call/CallControls/LobbyControls.js +0 -22
- package/dist/src/components/Call/CallControls/LobbyControls.js.map +0 -1
- package/dist/src/components/Call/CallControls/OutgoingCallControls.d.ts +0 -10
- package/dist/src/components/Call/CallControls/OutgoingCallControls.js +0 -25
- package/dist/src/components/Call/CallControls/OutgoingCallControls.js.map +0 -1
- package/dist/src/components/Call/CallControls/ReactionButton.d.ts +0 -14
- package/dist/src/components/Call/CallControls/ReactionButton.js +0 -47
- package/dist/src/components/Call/CallControls/ReactionButton.js.map +0 -1
- package/dist/src/components/Call/CallControls/RejectCallButton.d.ts +0 -23
- package/dist/src/components/Call/CallControls/RejectCallButton.js +0 -41
- package/dist/src/components/Call/CallControls/RejectCallButton.js.map +0 -1
- package/dist/src/components/Call/CallControls/ToggleAudioPreviewButton.d.ts +0 -14
- package/dist/src/components/Call/CallControls/ToggleAudioPreviewButton.js +0 -30
- package/dist/src/components/Call/CallControls/ToggleAudioPreviewButton.js.map +0 -1
- package/dist/src/components/Call/CallControls/ToggleAudioPublishingButton.d.ts +0 -14
- package/dist/src/components/Call/CallControls/ToggleAudioPublishingButton.js +0 -25
- package/dist/src/components/Call/CallControls/ToggleAudioPublishingButton.js.map +0 -1
- package/dist/src/components/Call/CallControls/ToggleCameraFaceButton.d.ts +0 -14
- package/dist/src/components/Call/CallControls/ToggleCameraFaceButton.js +0 -26
- package/dist/src/components/Call/CallControls/ToggleCameraFaceButton.js.map +0 -1
- package/dist/src/components/Call/CallControls/ToggleVideoPreviewButton.d.ts +0 -14
- package/dist/src/components/Call/CallControls/ToggleVideoPreviewButton.js +0 -30
- package/dist/src/components/Call/CallControls/ToggleVideoPreviewButton.js.map +0 -1
- package/dist/src/components/Call/CallControls/ToggleVideoPublishingButton.d.ts +0 -14
- package/dist/src/components/Call/CallControls/ToggleVideoPublishingButton.js +0 -25
- package/dist/src/components/Call/CallControls/ToggleVideoPublishingButton.js.map +0 -1
- package/dist/src/components/Call/CallControls/index.d.ts +0 -14
- package/dist/src/components/Call/CallControls/index.js.map +0 -1
- package/dist/src/components/Call/CallControls/internal/ReactionsPicker.d.ts +0 -9
- package/dist/src/components/Call/CallControls/internal/ReactionsPicker.js +0 -134
- package/dist/src/components/Call/CallControls/internal/ReactionsPicker.js.map +0 -1
- package/dist/src/components/Call/CallLayout/CallParticipantsGrid.d.ts +0 -19
- package/dist/src/components/Call/CallLayout/CallParticipantsGrid.js +0 -45
- package/dist/src/components/Call/CallLayout/CallParticipantsGrid.js.map +0 -1
- package/dist/src/components/Call/CallLayout/CallParticipantsSpotlight.d.ts +0 -16
- package/dist/src/components/Call/CallLayout/CallParticipantsSpotlight.js +0 -76
- package/dist/src/components/Call/CallLayout/CallParticipantsSpotlight.js.map +0 -1
- package/dist/src/components/Call/CallLayout/index.d.ts +0 -2
- package/dist/src/components/Call/CallLayout/index.js.map +0 -1
- package/dist/src/components/Call/CallParticipantsList/CallParticipantsList.d.ts +0 -34
- package/dist/src/components/Call/CallParticipantsList/CallParticipantsList.js +0 -157
- package/dist/src/components/Call/CallParticipantsList/CallParticipantsList.js.map +0 -1
- package/dist/src/components/Call/CallParticipantsList/index.d.ts +0 -1
- package/dist/src/components/Call/CallParticipantsList/index.js.map +0 -1
- package/dist/src/components/Call/CallTopView/CallTopView.d.ts +0 -28
- package/dist/src/components/Call/CallTopView/CallTopView.js +0 -73
- package/dist/src/components/Call/CallTopView/CallTopView.js.map +0 -1
- package/dist/src/components/Call/CallTopView/ParticipantsInfoBadge.d.ts +0 -10
- package/dist/src/components/Call/CallTopView/ParticipantsInfoBadge.js +0 -77
- package/dist/src/components/Call/CallTopView/ParticipantsInfoBadge.js.map +0 -1
- package/dist/src/components/Call/CallTopView/index.d.ts +0 -2
- package/dist/src/components/Call/CallTopView/index.js.map +0 -1
- package/dist/src/components/Call/Lobby/JoinCallButton.d.ts +0 -11
- package/dist/src/components/Call/Lobby/JoinCallButton.js +0 -51
- package/dist/src/components/Call/Lobby/JoinCallButton.js.map +0 -1
- package/dist/src/components/Call/Lobby/Lobby.d.ts +0 -23
- package/dist/src/components/Call/Lobby/Lobby.js +0 -149
- package/dist/src/components/Call/Lobby/Lobby.js.map +0 -1
- package/dist/src/components/Call/Lobby/index.d.ts +0 -2
- package/dist/src/components/Call/Lobby/index.js.map +0 -1
- package/dist/src/components/Call/RingingCallContent/IncomingCall.d.ts +0 -39
- package/dist/src/components/Call/RingingCallContent/IncomingCall.js +0 -72
- package/dist/src/components/Call/RingingCallContent/IncomingCall.js.map +0 -1
- package/dist/src/components/Call/RingingCallContent/JoiningCallIndicator.d.ts +0 -1
- package/dist/src/components/Call/RingingCallContent/JoiningCallIndicator.js +0 -18
- package/dist/src/components/Call/RingingCallContent/JoiningCallIndicator.js.map +0 -1
- package/dist/src/components/Call/RingingCallContent/OutgoingCall.d.ts +0 -21
- package/dist/src/components/Call/RingingCallContent/OutgoingCall.js +0 -81
- package/dist/src/components/Call/RingingCallContent/OutgoingCall.js.map +0 -1
- package/dist/src/components/Call/RingingCallContent/RingingCallContent.d.ts +0 -34
- package/dist/src/components/Call/RingingCallContent/RingingCallContent.js +0 -41
- package/dist/src/components/Call/RingingCallContent/RingingCallContent.js.map +0 -1
- package/dist/src/components/Call/RingingCallContent/UserInfo.d.ts +0 -13
- package/dist/src/components/Call/RingingCallContent/UserInfo.js +0 -82
- package/dist/src/components/Call/RingingCallContent/UserInfo.js.map +0 -1
- package/dist/src/components/Call/RingingCallContent/index.d.ts +0 -3
- package/dist/src/components/Call/RingingCallContent/index.js.map +0 -1
- package/dist/src/components/Call/index.d.ts +0 -7
- package/dist/src/components/Call/index.js.map +0 -1
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts +0 -3
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +0 -145
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +0 -1
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts +0 -4
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +0 -126
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +0 -1
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/common.d.ts +0 -38
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/common.js +0 -59
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/common.js.map +0 -1
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/index.d.ts +0 -4
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/index.js +0 -6
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/index.js.map +0 -1
- package/dist/src/components/Participant/FloatingParticipantView/index.d.ts +0 -31
- package/dist/src/components/Participant/FloatingParticipantView/index.js +0 -95
- package/dist/src/components/Participant/FloatingParticipantView/index.js.map +0 -1
- package/dist/src/components/Participant/ParticipantView/ParticipantLabel.d.ts +0 -9
- package/dist/src/components/Participant/ParticipantView/ParticipantLabel.js +0 -113
- package/dist/src/components/Participant/ParticipantView/ParticipantLabel.js.map +0 -1
- package/dist/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts +0 -6
- package/dist/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +0 -51
- package/dist/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +0 -1
- package/dist/src/components/Participant/ParticipantView/ParticipantReaction.d.ts +0 -16
- package/dist/src/components/Participant/ParticipantView/ParticipantReaction.js +0 -55
- package/dist/src/components/Participant/ParticipantView/ParticipantReaction.js.map +0 -1
- package/dist/src/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts +0 -9
- package/dist/src/components/Participant/ParticipantView/ParticipantVideoFallback.js +0 -38
- package/dist/src/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +0 -1
- package/dist/src/components/Participant/ParticipantView/ParticipantView.d.ts +0 -69
- package/dist/src/components/Participant/ParticipantView/ParticipantView.js +0 -51
- package/dist/src/components/Participant/ParticipantView/ParticipantView.js.map +0 -1
- package/dist/src/components/Participant/ParticipantView/VideoRenderer.d.ts +0 -11
- package/dist/src/components/Participant/ParticipantView/VideoRenderer.js +0 -148
- package/dist/src/components/Participant/ParticipantView/VideoRenderer.js.map +0 -1
- package/dist/src/components/Participant/ParticipantView/index.d.ts +0 -6
- package/dist/src/components/Participant/ParticipantView/index.js.map +0 -1
- package/dist/src/components/Participant/index.d.ts +0 -2
- package/dist/src/components/Participant/index.js.map +0 -1
- package/dist/src/components/index.d.ts +0 -3
- package/dist/src/components/index.js.map +0 -1
- package/dist/src/components/utility/Avatar.d.ts +0 -42
- package/dist/src/components/utility/Avatar.js +0 -50
- package/dist/src/components/utility/Avatar.js.map +0 -1
- package/dist/src/components/utility/index.d.ts +0 -1
- package/dist/src/components/utility/index.js.map +0 -1
- package/dist/src/constants/TestIds.d.ts +0 -25
- package/dist/src/constants/TestIds.js +0 -30
- package/dist/src/constants/TestIds.js.map +0 -1
- package/dist/src/constants/index.d.ts +0 -13
- package/dist/src/constants/index.js +0 -32
- package/dist/src/constants/index.js.map +0 -1
- package/dist/src/contexts/StreamVideoContext.d.ts +0 -19
- package/dist/src/contexts/StreamVideoContext.js +0 -82
- package/dist/src/contexts/StreamVideoContext.js.map +0 -1
- package/dist/src/contexts/ThemeContext.d.ts +0 -22
- package/dist/src/contexts/ThemeContext.js +0 -33
- package/dist/src/contexts/ThemeContext.js.map +0 -1
- package/dist/src/contexts/index.d.ts +0 -2
- package/dist/src/contexts/index.js.map +0 -1
- package/dist/src/hooks/index.d.ts +0 -5
- package/dist/src/hooks/index.js.map +0 -1
- package/dist/src/hooks/internal/useCallMediaStreamCleanup.d.ts +0 -5
- package/dist/src/hooks/internal/useCallMediaStreamCleanup.js +0 -25
- package/dist/src/hooks/internal/useCallMediaStreamCleanup.js.map +0 -1
- package/dist/src/hooks/push/index.d.ts +0 -5
- package/dist/src/hooks/push/index.js +0 -15
- package/dist/src/hooks/push/index.js.map +0 -1
- package/dist/src/hooks/push/useInitAndroidTokenAndRest.d.ts +0 -4
- package/dist/src/hooks/push/useInitAndroidTokenAndRest.js +0 -20
- package/dist/src/hooks/push/useInitAndroidTokenAndRest.js.map +0 -1
- package/dist/src/hooks/push/useIosCallKeepEventsSetupEffect.d.ts +0 -4
- package/dist/src/hooks/push/useIosCallKeepEventsSetupEffect.js +0 -46
- package/dist/src/hooks/push/useIosCallKeepEventsSetupEffect.js.map +0 -1
- package/dist/src/hooks/push/useIosCallkeepWithCallingStateEffect.d.ts +0 -4
- package/dist/src/hooks/push/useIosCallkeepWithCallingStateEffect.js +0 -116
- package/dist/src/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +0 -1
- package/dist/src/hooks/push/useIosVoipPushEventsSetupEffect.d.ts +0 -5
- package/dist/src/hooks/push/useIosVoipPushEventsSetupEffect.js +0 -78
- package/dist/src/hooks/push/useIosVoipPushEventsSetupEffect.js.map +0 -1
- package/dist/src/hooks/push/useProcessPushCallEffect.d.ts +0 -7
- package/dist/src/hooks/push/useProcessPushCallEffect.js +0 -58
- package/dist/src/hooks/push/useProcessPushCallEffect.js.map +0 -1
- package/dist/src/hooks/useAndroidKeepCallAliveEffect.d.ts +0 -6
- package/dist/src/hooks/useAndroidKeepCallAliveEffect.js +0 -102
- package/dist/src/hooks/useAndroidKeepCallAliveEffect.js.map +0 -1
- package/dist/src/hooks/useIncallManager.d.ts +0 -13
- package/dist/src/hooks/useIncallManager.js +0 -17
- package/dist/src/hooks/useIncallManager.js.map +0 -1
- package/dist/src/hooks/usePermissionNotification.d.ts +0 -18
- package/dist/src/hooks/usePermissionNotification.js +0 -38
- package/dist/src/hooks/usePermissionNotification.js.map +0 -1
- package/dist/src/hooks/usePermissionRequest.d.ts +0 -1
- package/dist/src/hooks/usePermissionRequest.js +0 -60
- package/dist/src/hooks/usePermissionRequest.js.map +0 -1
- package/dist/src/icons/Back.d.ts +0 -6
- package/dist/src/icons/Back.js +0 -5
- package/dist/src/icons/Back.js.map +0 -1
- package/dist/src/icons/CameraSwitch.d.ts +0 -6
- package/dist/src/icons/CameraSwitch.js +0 -5
- package/dist/src/icons/CameraSwitch.js.map +0 -1
- package/dist/src/icons/Chat.d.ts +0 -6
- package/dist/src/icons/Chat.js +0 -5
- package/dist/src/icons/Chat.js.map +0 -1
- package/dist/src/icons/Mic.d.ts +0 -6
- package/dist/src/icons/Mic.js +0 -6
- package/dist/src/icons/Mic.js.map +0 -1
- package/dist/src/icons/MicOff.d.ts +0 -6
- package/dist/src/icons/MicOff.js +0 -5
- package/dist/src/icons/MicOff.js.map +0 -1
- package/dist/src/icons/Participants.d.ts +0 -6
- package/dist/src/icons/Participants.js +0 -5
- package/dist/src/icons/Participants.js.map +0 -1
- package/dist/src/icons/Phone.d.ts +0 -6
- package/dist/src/icons/Phone.js +0 -5
- package/dist/src/icons/Phone.js.map +0 -1
- package/dist/src/icons/PhoneDown.d.ts +0 -6
- package/dist/src/icons/PhoneDown.js +0 -6
- package/dist/src/icons/PhoneDown.js.map +0 -1
- package/dist/src/icons/PinVertical.d.ts +0 -6
- package/dist/src/icons/PinVertical.js +0 -5
- package/dist/src/icons/PinVertical.js.map +0 -1
- package/dist/src/icons/Reaction.d.ts +0 -6
- package/dist/src/icons/Reaction.js +0 -5
- package/dist/src/icons/Reaction.js.map +0 -1
- package/dist/src/icons/ScreenShare.d.ts +0 -6
- package/dist/src/icons/ScreenShare.js +0 -11
- package/dist/src/icons/ScreenShare.js.map +0 -1
- package/dist/src/icons/Settings.d.ts +0 -5
- package/dist/src/icons/Settings.js +0 -7
- package/dist/src/icons/Settings.js.map +0 -1
- package/dist/src/icons/Spotlight.d.ts +0 -6
- package/dist/src/icons/Spotlight.js +0 -5
- package/dist/src/icons/Spotlight.js.map +0 -1
- package/dist/src/icons/ThreeDots.d.ts +0 -5
- package/dist/src/icons/ThreeDots.js +0 -7
- package/dist/src/icons/ThreeDots.js.map +0 -1
- package/dist/src/icons/TopViewBackground.d.ts +0 -13
- package/dist/src/icons/TopViewBackground.js +0 -9
- package/dist/src/icons/TopViewBackground.js.map +0 -1
- package/dist/src/icons/Video.d.ts +0 -6
- package/dist/src/icons/Video.js +0 -5
- package/dist/src/icons/Video.js.map +0 -1
- package/dist/src/icons/VideoSlash.d.ts +0 -6
- package/dist/src/icons/VideoSlash.js +0 -6
- package/dist/src/icons/VideoSlash.js.map +0 -1
- package/dist/src/icons/index.d.ts +0 -16
- package/dist/src/icons/index.js.map +0 -1
- package/dist/src/providers/MediaDevices.d.ts +0 -9
- package/dist/src/providers/MediaDevices.js +0 -40
- package/dist/src/providers/MediaDevices.js.map +0 -1
- package/dist/src/providers/MediaStreamManagement.d.ts +0 -45
- package/dist/src/providers/MediaStreamManagement.js +0 -92
- package/dist/src/providers/MediaStreamManagement.js.map +0 -1
- package/dist/src/providers/StreamCall.d.ts +0 -22
- package/dist/src/providers/StreamCall.js +0 -36
- package/dist/src/providers/StreamCall.js.map +0 -1
- package/dist/src/providers/StreamVideo.d.ts +0 -14
- package/dist/src/providers/StreamVideo.js +0 -52
- package/dist/src/providers/StreamVideo.js.map +0 -1
- package/dist/src/providers/index.d.ts +0 -3
- package/dist/src/providers/index.js.map +0 -1
- package/dist/src/theme/colors.d.ts +0 -39
- package/dist/src/theme/colors.js +0 -46
- package/dist/src/theme/colors.js.map +0 -1
- package/dist/src/theme/constants.d.ts +0 -47
- package/dist/src/theme/constants.js +0 -51
- package/dist/src/theme/constants.js.map +0 -1
- package/dist/src/theme/index.d.ts +0 -3
- package/dist/src/theme/index.js +0 -7
- package/dist/src/theme/index.js.map +0 -1
- package/dist/src/theme/theme.d.ts +0 -195
- package/dist/src/theme/theme.js +0 -219
- package/dist/src/theme/theme.js.map +0 -1
- package/dist/src/theme/types.d.ts +0 -29
- package/dist/src/theme/types.js.map +0 -1
- package/dist/src/translations/en.json +0 -16
- package/dist/src/translations/index.d.ts +0 -18
- package/dist/src/translations/index.js +0 -3
- package/dist/src/translations/index.js.map +0 -1
- package/dist/src/utils/StreamVideoRN/index.d.ts +0 -37
- package/dist/src/utils/StreamVideoRN/index.js +0 -74
- package/dist/src/utils/StreamVideoRN/index.js.map +0 -1
- package/dist/src/utils/StreamVideoRN/permissions.d.ts +0 -5
- package/dist/src/utils/StreamVideoRN/permissions.js +0 -17
- package/dist/src/utils/StreamVideoRN/permissions.js.map +0 -1
- package/dist/src/utils/StreamVideoRN/types.d.ts +0 -94
- package/dist/src/utils/StreamVideoRN/types.js.map +0 -1
- package/dist/src/utils/hooks/index.d.ts +0 -3
- package/dist/src/utils/hooks/index.js.map +0 -1
- package/dist/src/utils/hooks/useAppStateListener.d.ts +0 -1
- package/dist/src/utils/hooks/useAppStateListener.js +0 -37
- package/dist/src/utils/hooks/useAppStateListener.js.map +0 -1
- package/dist/src/utils/hooks/useDebouncedValue.d.ts +0 -7
- package/dist/src/utils/hooks/useDebouncedValue.js +0 -18
- package/dist/src/utils/hooks/useDebouncedValue.js.map +0 -1
- package/dist/src/utils/hooks/usePrevious.d.ts +0 -1
- package/dist/src/utils/hooks/usePrevious.js +0 -9
- package/dist/src/utils/hooks/usePrevious.js.map +0 -1
- package/dist/src/utils/index.d.ts +0 -4
- package/dist/src/utils/index.js +0 -28
- package/dist/src/utils/index.js.map +0 -1
- package/dist/src/utils/internal/optionalLibs.d.ts +0 -5
- package/dist/src/utils/internal/optionalLibs.js +0 -23
- package/dist/src/utils/internal/optionalLibs.js.map +0 -1
- package/dist/src/utils/push/android.d.ts +0 -8
- package/dist/src/utils/push/android.js +0 -131
- package/dist/src/utils/push/android.js.map +0 -1
- package/dist/src/utils/push/ios.d.ts +0 -5
- package/dist/src/utils/push/ios.js +0 -37
- package/dist/src/utils/push/ios.js.map +0 -1
- package/dist/src/utils/push/libs.d.ts +0 -9
- package/dist/src/utils/push/libs.js +0 -34
- package/dist/src/utils/push/libs.js.map +0 -1
- package/dist/src/utils/push/rxSubjects.d.ts +0 -28
- package/dist/src/utils/push/rxSubjects.js +0 -31
- package/dist/src/utils/push/rxSubjects.js.map +0 -1
- package/dist/src/utils/push/utils.d.ts +0 -13
- package/dist/src/utils/push/utils.js +0 -48
- package/dist/src/utils/push/utils.js.map +0 -1
- package/dist/src/utils/setClientDetails.d.ts +0 -1
- package/dist/src/utils/setClientDetails.js +0 -49
- package/dist/src/utils/setClientDetails.js.map +0 -1
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -2
- package/dist/version.js.map +0 -1
- package/expo-config-plugin/dist/index.js.map +0 -1
- package/expo-config-plugin/dist/withAndroidManifest.js.map +0 -1
- package/expo-config-plugin/dist/withAndroidPermissions.js.map +0 -1
- package/expo-config-plugin/dist/withAppDelegate.js.map +0 -1
- package/expo-config-plugin/dist/withMainApplication.js.map +0 -1
- package/expo-config-plugin/dist/withiOSInfoPlist.js.map +0 -1
- package/index.ts +0 -41
- package/src/providers/MediaDevices.tsx +0 -59
- package/src/utils/StreamVideoRN/permissions.ts +0 -25
- /package/dist/{src → module}/components/Call/CallContent/index.js +0 -0
- /package/dist/{src → module}/components/Call/CallControls/index.js +0 -0
- /package/dist/{src → module}/components/Call/CallLayout/index.js +0 -0
- /package/dist/{src → module}/components/Call/CallParticipantsList/index.js +0 -0
- /package/dist/{src → module}/components/Call/CallTopView/index.js +0 -0
- /package/dist/{src → module}/components/Call/Lobby/index.js +0 -0
- /package/dist/{src → module}/components/Call/RingingCallContent/index.js +0 -0
- /package/dist/{src → module}/components/Call/index.js +0 -0
- /package/dist/{src → module}/components/Participant/ParticipantView/index.js +0 -0
- /package/dist/{src → module}/components/Participant/index.js +0 -0
- /package/dist/{src → module}/components/index.js +0 -0
- /package/dist/{src → module}/components/utility/index.js +0 -0
- /package/dist/{src → module}/contexts/index.js +0 -0
- /package/dist/{src → module}/hooks/index.js +0 -0
- /package/dist/{src → module}/icons/index.js +0 -0
- /package/dist/{src → module}/providers/index.js +0 -0
- /package/dist/{src → module}/theme/types.js +0 -0
- /package/dist/{src → module}/utils/StreamVideoRN/types.js +0 -0
- /package/dist/{src → module}/utils/hooks/index.js +0 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { ImageStyle, TextStyle, ViewStyle } from 'react-native/types';
|
|
2
|
+
import { ColorScheme, FontStyle, FontTypes } from './types';
|
|
3
|
+
export type Theme = {
|
|
4
|
+
variants: {
|
|
5
|
+
buttonSizes: {
|
|
6
|
+
xs: number;
|
|
7
|
+
sm: number;
|
|
8
|
+
md: number;
|
|
9
|
+
lg: number;
|
|
10
|
+
xl: number;
|
|
11
|
+
};
|
|
12
|
+
iconSizes: {
|
|
13
|
+
xs: number;
|
|
14
|
+
sm: number;
|
|
15
|
+
md: number;
|
|
16
|
+
lg: number;
|
|
17
|
+
xl: number;
|
|
18
|
+
};
|
|
19
|
+
avatarSizes: {
|
|
20
|
+
xs: number;
|
|
21
|
+
sm: number;
|
|
22
|
+
md: number;
|
|
23
|
+
lg: number;
|
|
24
|
+
xl: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
typefaces: Record<FontTypes, FontStyle>;
|
|
28
|
+
colors: ColorScheme;
|
|
29
|
+
avatar: {
|
|
30
|
+
container: ViewStyle;
|
|
31
|
+
image: ImageStyle;
|
|
32
|
+
text: TextStyle;
|
|
33
|
+
};
|
|
34
|
+
callContent: {
|
|
35
|
+
container: ViewStyle;
|
|
36
|
+
callParticipantsContainer: ViewStyle;
|
|
37
|
+
topContainer: ViewStyle;
|
|
38
|
+
};
|
|
39
|
+
callControls: {
|
|
40
|
+
container: ViewStyle;
|
|
41
|
+
};
|
|
42
|
+
callControlsButton: {
|
|
43
|
+
container: ViewStyle;
|
|
44
|
+
svgContainer: ViewStyle;
|
|
45
|
+
};
|
|
46
|
+
acceptCallButton: {
|
|
47
|
+
container: ViewStyle;
|
|
48
|
+
svgContainer: ViewStyle;
|
|
49
|
+
};
|
|
50
|
+
hangupCallButton: {
|
|
51
|
+
container: ViewStyle;
|
|
52
|
+
svgContainer: ViewStyle;
|
|
53
|
+
};
|
|
54
|
+
rejectCallButton: {
|
|
55
|
+
container: ViewStyle;
|
|
56
|
+
svgContainer: ViewStyle;
|
|
57
|
+
};
|
|
58
|
+
toggleAudioPreviewButton: {
|
|
59
|
+
container: ViewStyle;
|
|
60
|
+
svgContainer: ViewStyle;
|
|
61
|
+
};
|
|
62
|
+
toggleAudioPublishingButton: {
|
|
63
|
+
container: ViewStyle;
|
|
64
|
+
svgContainer: ViewStyle;
|
|
65
|
+
};
|
|
66
|
+
toggleCameraFaceButton: {
|
|
67
|
+
container: ViewStyle;
|
|
68
|
+
svgContainer: ViewStyle;
|
|
69
|
+
};
|
|
70
|
+
toggleVideoPreviewButton: {
|
|
71
|
+
container: ViewStyle;
|
|
72
|
+
svgContainer: ViewStyle;
|
|
73
|
+
};
|
|
74
|
+
toggleVideoPublishingButton: {
|
|
75
|
+
container: ViewStyle;
|
|
76
|
+
svgContainer: ViewStyle;
|
|
77
|
+
};
|
|
78
|
+
joinCallButton: {
|
|
79
|
+
container: ViewStyle;
|
|
80
|
+
label: TextStyle;
|
|
81
|
+
};
|
|
82
|
+
floatingParticipantsView: {
|
|
83
|
+
container: ViewStyle;
|
|
84
|
+
participantViewContainer: ViewStyle;
|
|
85
|
+
videoFallback: ViewStyle;
|
|
86
|
+
};
|
|
87
|
+
chatButton: {
|
|
88
|
+
container: ViewStyle;
|
|
89
|
+
svgContainer: ViewStyle;
|
|
90
|
+
};
|
|
91
|
+
callParticipantsGrid: {
|
|
92
|
+
container: ViewStyle;
|
|
93
|
+
};
|
|
94
|
+
callParticipantsSpotlight: {
|
|
95
|
+
container: ViewStyle;
|
|
96
|
+
fullScreenSpotlightContainer: ViewStyle;
|
|
97
|
+
callParticipantsListContainer: ViewStyle;
|
|
98
|
+
spotlightContainer: ViewStyle;
|
|
99
|
+
};
|
|
100
|
+
lobby: {
|
|
101
|
+
container: ViewStyle;
|
|
102
|
+
heading: TextStyle;
|
|
103
|
+
subHeading: TextStyle;
|
|
104
|
+
videoContainer: ViewStyle;
|
|
105
|
+
infoContainer: ViewStyle;
|
|
106
|
+
infoText: TextStyle;
|
|
107
|
+
participantStatusContainer: ViewStyle;
|
|
108
|
+
avatarContainer: ViewStyle;
|
|
109
|
+
userNameLabel: TextStyle;
|
|
110
|
+
audioMutedIconContainer: ViewStyle;
|
|
111
|
+
};
|
|
112
|
+
participantLabel: {
|
|
113
|
+
container: ViewStyle;
|
|
114
|
+
userNameLabel: TextStyle;
|
|
115
|
+
audioMutedIconContainer: ViewStyle;
|
|
116
|
+
videoMutedIconContainer: ViewStyle;
|
|
117
|
+
pinIconContainer: ViewStyle;
|
|
118
|
+
screenShareIconContainer: ViewStyle;
|
|
119
|
+
};
|
|
120
|
+
participantNetworkQualityIndicator: {
|
|
121
|
+
container: ViewStyle;
|
|
122
|
+
};
|
|
123
|
+
participantReaction: {
|
|
124
|
+
container: ViewStyle;
|
|
125
|
+
reaction: ViewStyle;
|
|
126
|
+
};
|
|
127
|
+
participantVideoFallback: {
|
|
128
|
+
container: ViewStyle;
|
|
129
|
+
label: TextStyle;
|
|
130
|
+
avatarContainer: ViewStyle;
|
|
131
|
+
avatarText: TextStyle;
|
|
132
|
+
avatarImage: ImageStyle;
|
|
133
|
+
};
|
|
134
|
+
participantView: {
|
|
135
|
+
container: ViewStyle;
|
|
136
|
+
footerContainer: ViewStyle;
|
|
137
|
+
highligtedContainer: ViewStyle;
|
|
138
|
+
};
|
|
139
|
+
videoRenderer: {
|
|
140
|
+
container: ViewStyle;
|
|
141
|
+
videoStream: ViewStyle;
|
|
142
|
+
};
|
|
143
|
+
ringingCallContent: {
|
|
144
|
+
container: ViewStyle;
|
|
145
|
+
};
|
|
146
|
+
incomingCall: {
|
|
147
|
+
background: ViewStyle;
|
|
148
|
+
content: ViewStyle;
|
|
149
|
+
incomingCallText: TextStyle;
|
|
150
|
+
incomingCallControls: ViewStyle;
|
|
151
|
+
buttonGroup: ViewStyle;
|
|
152
|
+
};
|
|
153
|
+
joiningCallIndicator: {
|
|
154
|
+
container: ViewStyle;
|
|
155
|
+
};
|
|
156
|
+
outgoingCall: {
|
|
157
|
+
container: ViewStyle;
|
|
158
|
+
background: ViewStyle;
|
|
159
|
+
content: ViewStyle;
|
|
160
|
+
callingText: TextStyle;
|
|
161
|
+
outgoingCallControls: ViewStyle;
|
|
162
|
+
buttonGroup: ViewStyle;
|
|
163
|
+
deviceControlButtons: ViewStyle;
|
|
164
|
+
};
|
|
165
|
+
callTopView: {
|
|
166
|
+
container: ViewStyle;
|
|
167
|
+
content: ViewStyle;
|
|
168
|
+
backIconContainer: ViewStyle;
|
|
169
|
+
leftElement: ViewStyle;
|
|
170
|
+
centerElement: ViewStyle;
|
|
171
|
+
rightElement: ViewStyle;
|
|
172
|
+
title: TextStyle;
|
|
173
|
+
};
|
|
174
|
+
userInfo: {
|
|
175
|
+
container: ViewStyle;
|
|
176
|
+
avatarGroup: ViewStyle;
|
|
177
|
+
name: TextStyle;
|
|
178
|
+
};
|
|
179
|
+
reactionsPicker: {
|
|
180
|
+
reactionsPopup: ViewStyle;
|
|
181
|
+
reactionsButtonDimmer: ViewStyle;
|
|
182
|
+
reactionItem: ViewStyle;
|
|
183
|
+
reactionText: TextStyle;
|
|
184
|
+
};
|
|
185
|
+
lobbyControls: {
|
|
186
|
+
container: ViewStyle;
|
|
187
|
+
};
|
|
188
|
+
participantInfoBadge: {
|
|
189
|
+
container: ViewStyle;
|
|
190
|
+
participantCountContainer: ViewStyle;
|
|
191
|
+
participantsIconContainer: ViewStyle;
|
|
192
|
+
participantsCountText: TextStyle;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
export declare const defaultTheme: Theme;
|
|
196
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEtE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE5D,MAAM,MAAM,KAAK,GAAG;IAClB,QAAQ,EAAE;QACR,WAAW,EAAE;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;QACF,SAAS,EAAE;YACT,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;QACF,WAAW,EAAE;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;YACX,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;KACH,CAAC;IACF,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IACxC,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE;QACN,SAAS,EAAE,SAAS,CAAC;QACrB,KAAK,EAAE,UAAU,CAAC;QAClB,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;IACF,WAAW,EAAE;QACX,SAAS,EAAE,SAAS,CAAC;QACrB,yBAAyB,EAAE,SAAS,CAAC;QACrC,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,YAAY,EAAE;QACZ,SAAS,EAAE,SAAS,CAAC;KACtB,CAAC;IACF,kBAAkB,EAAE;QAClB,SAAS,EAAE,SAAS,CAAC;QACrB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,gBAAgB,EAAE;QAChB,SAAS,EAAE,SAAS,CAAC;QACrB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,gBAAgB,EAAE;QAChB,SAAS,EAAE,SAAS,CAAC;QACrB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,gBAAgB,EAAE;QAChB,SAAS,EAAE,SAAS,CAAC;QACrB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,wBAAwB,EAAE;QACxB,SAAS,EAAE,SAAS,CAAC;QACrB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,2BAA2B,EAAE;QAC3B,SAAS,EAAE,SAAS,CAAC;QACrB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,sBAAsB,EAAE;QACtB,SAAS,EAAE,SAAS,CAAC;QACrB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,wBAAwB,EAAE;QACxB,SAAS,EAAE,SAAS,CAAC;QACrB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,2BAA2B,EAAE;QAC3B,SAAS,EAAE,SAAS,CAAC;QACrB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,cAAc,EAAE;QACd,SAAS,EAAE,SAAS,CAAC;QACrB,KAAK,EAAE,SAAS,CAAC;KAClB,CAAC;IACF,wBAAwB,EAAE;QACxB,SAAS,EAAE,SAAS,CAAC;QACrB,wBAAwB,EAAE,SAAS,CAAC;QACpC,aAAa,EAAE,SAAS,CAAC;KAC1B,CAAC;IACF,UAAU,EAAE;QACV,SAAS,EAAE,SAAS,CAAC;QACrB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,oBAAoB,EAAE;QACpB,SAAS,EAAE,SAAS,CAAC;KACtB,CAAC;IACF,yBAAyB,EAAE;QACzB,SAAS,EAAE,SAAS,CAAC;QACrB,4BAA4B,EAAE,SAAS,CAAC;QACxC,6BAA6B,EAAE,SAAS,CAAC;QACzC,kBAAkB,EAAE,SAAS,CAAC;KAC/B,CAAC;IACF,KAAK,EAAE;QACL,SAAS,EAAE,SAAS,CAAC;QACrB,OAAO,EAAE,SAAS,CAAC;QACnB,UAAU,EAAE,SAAS,CAAC;QACtB,cAAc,EAAE,SAAS,CAAC;QAC1B,aAAa,EAAE,SAAS,CAAC;QACzB,QAAQ,EAAE,SAAS,CAAC;QACpB,0BAA0B,EAAE,SAAS,CAAC;QACtC,eAAe,EAAE,SAAS,CAAC;QAC3B,aAAa,EAAE,SAAS,CAAC;QACzB,uBAAuB,EAAE,SAAS,CAAC;KACpC,CAAC;IACF,gBAAgB,EAAE;QAChB,SAAS,EAAE,SAAS,CAAC;QACrB,aAAa,EAAE,SAAS,CAAC;QACzB,uBAAuB,EAAE,SAAS,CAAC;QACnC,uBAAuB,EAAE,SAAS,CAAC;QACnC,gBAAgB,EAAE,SAAS,CAAC;QAC5B,wBAAwB,EAAE,SAAS,CAAC;KACrC,CAAC;IACF,kCAAkC,EAAE;QAClC,SAAS,EAAE,SAAS,CAAC;KACtB,CAAC;IACF,mBAAmB,EAAE;QACnB,SAAS,EAAE,SAAS,CAAC;QACrB,QAAQ,EAAE,SAAS,CAAC;KACrB,CAAC;IACF,wBAAwB,EAAE;QACxB,SAAS,EAAE,SAAS,CAAC;QACrB,KAAK,EAAE,SAAS,CAAC;QACjB,eAAe,EAAE,SAAS,CAAC;QAC3B,UAAU,EAAE,SAAS,CAAC;QACtB,WAAW,EAAE,UAAU,CAAC;KACzB,CAAC;IACF,eAAe,EAAE;QACf,SAAS,EAAE,SAAS,CAAC;QACrB,eAAe,EAAE,SAAS,CAAC;QAC3B,mBAAmB,EAAE,SAAS,CAAC;KAChC,CAAC;IACF,aAAa,EAAE;QACb,SAAS,EAAE,SAAS,CAAC;QACrB,WAAW,EAAE,SAAS,CAAC;KACxB,CAAC;IACF,kBAAkB,EAAE;QAClB,SAAS,EAAE,SAAS,CAAC;KACtB,CAAC;IACF,YAAY,EAAE;QACZ,UAAU,EAAE,SAAS,CAAC;QACtB,OAAO,EAAE,SAAS,CAAC;QACnB,gBAAgB,EAAE,SAAS,CAAC;QAC5B,oBAAoB,EAAE,SAAS,CAAC;QAChC,WAAW,EAAE,SAAS,CAAC;KACxB,CAAC;IACF,oBAAoB,EAAE;QACpB,SAAS,EAAE,SAAS,CAAC;KACtB,CAAC;IACF,YAAY,EAAE;QACZ,SAAS,EAAE,SAAS,CAAC;QACrB,UAAU,EAAE,SAAS,CAAC;QACtB,OAAO,EAAE,SAAS,CAAC;QACnB,WAAW,EAAE,SAAS,CAAC;QACvB,oBAAoB,EAAE,SAAS,CAAC;QAChC,WAAW,EAAE,SAAS,CAAC;QACvB,oBAAoB,EAAE,SAAS,CAAC;KACjC,CAAC;IACF,WAAW,EAAE;QACX,SAAS,EAAE,SAAS,CAAC;QACrB,OAAO,EAAE,SAAS,CAAC;QACnB,iBAAiB,EAAE,SAAS,CAAC;QAC7B,WAAW,EAAE,SAAS,CAAC;QACvB,aAAa,EAAE,SAAS,CAAC;QACzB,YAAY,EAAE,SAAS,CAAC;QACxB,KAAK,EAAE,SAAS,CAAC;KAClB,CAAC;IACF,QAAQ,EAAE;QACR,SAAS,EAAE,SAAS,CAAC;QACrB,WAAW,EAAE,SAAS,CAAC;QACvB,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;IACF,eAAe,EAAE;QACf,cAAc,EAAE,SAAS,CAAC;QAC1B,qBAAqB,EAAE,SAAS,CAAC;QACjC,YAAY,EAAE,SAAS,CAAC;QACxB,YAAY,EAAE,SAAS,CAAC;KACzB,CAAC;IACF,aAAa,EAAE;QACb,SAAS,EAAE,SAAS,CAAC;KACtB,CAAC;IACF,oBAAoB,EAAE;QACpB,SAAS,EAAE,SAAS,CAAC;QACrB,yBAAyB,EAAE,SAAS,CAAC;QACrC,yBAAyB,EAAE,SAAS,CAAC;QACrC,qBAAqB,EAAE,SAAS,CAAC;KAClC,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAwN1B,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ColorValue, TextStyle } from 'react-native';
|
|
2
|
+
export type ColorScheme = {
|
|
3
|
+
primary: ColorValue;
|
|
4
|
+
error: ColorValue;
|
|
5
|
+
info: ColorValue;
|
|
6
|
+
static_black: ColorValue;
|
|
7
|
+
static_white: ColorValue;
|
|
8
|
+
static_overlay: ColorValue;
|
|
9
|
+
static_grey: ColorValue;
|
|
10
|
+
disabled: ColorValue;
|
|
11
|
+
text_low_emphasis: ColorValue;
|
|
12
|
+
text_high_emphasis: ColorValue;
|
|
13
|
+
controls_bg: ColorValue;
|
|
14
|
+
borders: ColorValue;
|
|
15
|
+
overlay: ColorValue;
|
|
16
|
+
overlay_dark: ColorValue;
|
|
17
|
+
bars: ColorValue;
|
|
18
|
+
content_bg: ColorValue;
|
|
19
|
+
dark_gray: ColorValue;
|
|
20
|
+
[key: string]: ColorValue;
|
|
21
|
+
};
|
|
22
|
+
export type ColorType = Record<'light' | 'dark', ColorScheme>;
|
|
23
|
+
export type FontTypes = 'heading4' | 'heading5' | 'heading6' | 'subtitle' | 'subtitleBold' | 'caption' | 'bodyBold';
|
|
24
|
+
export type FontStyle = {
|
|
25
|
+
fontSize: TextStyle['fontSize'];
|
|
26
|
+
fontWeight: TextStyle['fontWeight'];
|
|
27
|
+
};
|
|
28
|
+
export type FontsScheme = Record<FontTypes, FontStyle>;
|
|
29
|
+
export type Theme = ColorType;
|
|
30
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/theme/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAGrD,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,UAAU,CAAC;IAClB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,EAAE,UAAU,CAAC;IACzB,YAAY,EAAE,UAAU,CAAC;IACzB,cAAc,EAAE,UAAU,CAAC;IAC3B,WAAW,EAAE,UAAU,CAAC;IACxB,QAAQ,EAAE,UAAU,CAAC;IACrB,iBAAiB,EAAE,UAAU,CAAC;IAC9B,kBAAkB,EAAE,UAAU,CAAC;IAC/B,WAAW,EAAE,UAAU,CAAC;IACxB,OAAO,EAAE,UAAU,CAAC;IACpB,OAAO,EAAE,UAAU,CAAC;IACpB,YAAY,EAAE,UAAU,CAAC;IACzB,IAAI,EAAE,UAAU,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,UAAU,CAAC;IAEtB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,GAAG,MAAM,EAAE,WAAW,CAAC,CAAC;AAE9D,MAAM,MAAM,SAAS,GACjB,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,cAAc,GACd,SAAS,GACT,UAAU,CAAC;AACf,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAChC,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;AAEvD,MAAM,MAAM,KAAK,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const translations: {
|
|
2
|
+
en: {
|
|
3
|
+
"Incoming Call...": string;
|
|
4
|
+
"Calling...": string;
|
|
5
|
+
"Mute All": string;
|
|
6
|
+
Invite: string;
|
|
7
|
+
Join: string;
|
|
8
|
+
You: string;
|
|
9
|
+
"Reconnecting...": string;
|
|
10
|
+
"You are first to Join the call.": string;
|
|
11
|
+
"Participants ({{ numberOfParticipants }})": string;
|
|
12
|
+
"{{ userName }} is sharing their screen": string;
|
|
13
|
+
"{{ numberOfParticipants }} participant(s) are in the call.": string;
|
|
14
|
+
"You are about to join a call with id {{ callId }}.": string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/translations/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;CAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { StreamVideoConfig } from './types';
|
|
2
|
+
export declare class StreamVideoRN {
|
|
3
|
+
private static config;
|
|
4
|
+
/**
|
|
5
|
+
* Update the global config for StreamVideoRN except for push config.
|
|
6
|
+
* To set push config use `StreamVideoRN.setPushConfig` instead.
|
|
7
|
+
* This function accepts a partial config object that will be merged with the default config.
|
|
8
|
+
*/
|
|
9
|
+
static updateConfig(updateConfig: Partial<Omit<StreamVideoConfig, 'push'>>): void;
|
|
10
|
+
/**
|
|
11
|
+
* Set the push config for StreamVideoRN.
|
|
12
|
+
* This method must be called **outside** of your application lifecycle, e.g. alongside your
|
|
13
|
+
* `AppRegistry.registerComponent()` method call at the entry point of your application code.
|
|
14
|
+
* Since the app can be opened from a dead state through a push notification
|
|
15
|
+
* Note: This function must be called only once. Further calls will be ignored.
|
|
16
|
+
* @example // in index.js
|
|
17
|
+
* import { AppRegistry } from 'react-native';
|
|
18
|
+
* import { StreamVideoRN } from '@stream-io/video-react-native-sdk';
|
|
19
|
+
* import App from './App';
|
|
20
|
+
* // Set push config
|
|
21
|
+
* const pushConfig = {}; // construct your config
|
|
22
|
+
* StreamVideoRN.setPushConfig(pushConfig);
|
|
23
|
+
* AppRegistry.registerComponent('app', () => App);
|
|
24
|
+
*/
|
|
25
|
+
static setPushConfig(pushConfig: NonNullable<StreamVideoConfig['push']>): void;
|
|
26
|
+
static getConfig(): StreamVideoConfig;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/StreamVideoRN/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAqB5C,qBAAa,aAAa;IACxB,OAAO,CAAC,MAAM,CAAC,MAAM,CAA+B;IACpD;;;;OAIG;IACH,MAAM,CAAC,YAAY,CAAC,YAAY,EAAE,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAO1E;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAUvE,MAAM,CAAC,SAAS;CAGjB"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { StreamReaction, StreamVideoClient } from '@stream-io/video-client';
|
|
2
|
+
import { AndroidChannel } from '@notifee/react-native';
|
|
3
|
+
type StreamReactionType = Required<StreamReaction> & {
|
|
4
|
+
icon: string | JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export type StreamVideoConfig = {
|
|
7
|
+
/**
|
|
8
|
+
* Reactions that are to be supported in the app.
|
|
9
|
+
*
|
|
10
|
+
* Note: This is an array of reactions that is rendered in the Reaction list.
|
|
11
|
+
*/
|
|
12
|
+
supportedReactions: StreamReactionType[];
|
|
13
|
+
/**
|
|
14
|
+
* The configuration to be used for push notifications.
|
|
15
|
+
* If undefined, push notifications will not be enabled for the app
|
|
16
|
+
* @default undefined
|
|
17
|
+
*/
|
|
18
|
+
push?: {
|
|
19
|
+
ios: {
|
|
20
|
+
/**
|
|
21
|
+
* The name for the alias of push provider used for iOS
|
|
22
|
+
* @example "production-apn-video" or "staging-apn-video" based on the environment
|
|
23
|
+
*/
|
|
24
|
+
pushProviderName: string;
|
|
25
|
+
};
|
|
26
|
+
android: {
|
|
27
|
+
/**
|
|
28
|
+
* The notification channel to be used for incoming calls for Android.
|
|
29
|
+
* @example
|
|
30
|
+
* {
|
|
31
|
+
* id: 'stream_incoming_call',
|
|
32
|
+
* name: 'Incoming call notifications',
|
|
33
|
+
* importance: AndroidImportance.HIGH
|
|
34
|
+
* }
|
|
35
|
+
*/
|
|
36
|
+
incomingCallChannel: AndroidChannel;
|
|
37
|
+
/**
|
|
38
|
+
* Functions to create the texts shown in the notification for incoming calls in Android.
|
|
39
|
+
* @example
|
|
40
|
+
* {
|
|
41
|
+
* title: (createdUserName: string) => `Incoming call from ${createdUserName}`,
|
|
42
|
+
* body: (createdUserName: string) => `Tap to answer the call`
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
incomingCallNotificationTextGetters: {
|
|
46
|
+
getTitle: (createdUserName: string) => string;
|
|
47
|
+
getBody: (createdUserName: string) => string;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* The name for the alias of push provider used for Android
|
|
51
|
+
* @example "production-fcm-video" or "staging-fcm-video" based on the environment
|
|
52
|
+
*/
|
|
53
|
+
pushProviderName: string;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* This function is used to create a custom video client.
|
|
57
|
+
* This is used create a video client for incoming calls in the background and inform call events to the server.
|
|
58
|
+
* If you are unable to create a video client, for example if you dont know the logged in user yet, return undefined.
|
|
59
|
+
* @example
|
|
60
|
+
* createStreamVideoClient: async () => {
|
|
61
|
+
* const userId = await AsyncStorage.getItem('@userId');
|
|
62
|
+
* const userName = await AsyncStorage.getItem('@userName');
|
|
63
|
+
* const token = await AsyncStorage.getItem('@userToken');
|
|
64
|
+
* if (!username || !userToken) return undefined;
|
|
65
|
+
* const user = { id: userId, name: userName, token };
|
|
66
|
+
* return new StreamVideoClient({
|
|
67
|
+
* apiKey: STREAM_API_KEY,
|
|
68
|
+
* user,
|
|
69
|
+
* token,
|
|
70
|
+
* })
|
|
71
|
+
*/
|
|
72
|
+
createStreamVideoClient: () => Promise<StreamVideoClient | undefined>;
|
|
73
|
+
/** The callback that is called when a call is accepted, used for navigation */
|
|
74
|
+
navigateAcceptCall: () => void;
|
|
75
|
+
/** The callback that is called when a push notification is tapped but user did not press accept or decline, used for navigation */
|
|
76
|
+
navigateToIncomingCall: () => void;
|
|
77
|
+
};
|
|
78
|
+
foregroundService: {
|
|
79
|
+
android: {
|
|
80
|
+
/**
|
|
81
|
+
* The notification channel to keep call alive in the background for Android using a foreground service.
|
|
82
|
+
*/
|
|
83
|
+
channel: AndroidChannel;
|
|
84
|
+
/**
|
|
85
|
+
* The texts shown in the notification to keep call alive in the background for Android using a foreground service.
|
|
86
|
+
*/
|
|
87
|
+
notificationTexts: {
|
|
88
|
+
title: string;
|
|
89
|
+
body: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
export {};
|
|
95
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/utils/StreamVideoRN/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,KAAK,kBAAkB,GAAG,QAAQ,CAAC,cAAc,CAAC,GAAG;IACnD,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;OAIG;IACH,kBAAkB,EAAE,kBAAkB,EAAE,CAAC;IACzC;;;;OAIG;IACH,IAAI,CAAC,EAAE;QACL,GAAG,EAAE;YACH;;;eAGG;YACH,gBAAgB,EAAE,MAAM,CAAC;SAC1B,CAAC;QACF,OAAO,EAAE;YACP;;;;;;;;eAQG;YACH,mBAAmB,EAAE,cAAc,CAAC;YACpC;;;;;;;eAOG;YACH,mCAAmC,EAAE;gBACnC,QAAQ,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,MAAM,CAAC;gBAC9C,OAAO,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,MAAM,CAAC;aAC9C,CAAC;YACF;;;eAGG;YACH,gBAAgB,EAAE,MAAM,CAAC;SAC1B,CAAC;QACF;;;;;;;;;;;;;;;;WAgBG;QACH,uBAAuB,EAAE,MAAM,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;QACtE,+EAA+E;QAC/E,kBAAkB,EAAE,MAAM,IAAI,CAAC;QAC/B,mIAAmI;QACnI,sBAAsB,EAAE,MAAM,IAAI,CAAC;KACpC,CAAC;IACF,iBAAiB,EAAE;QACjB,OAAO,EAAE;YACP;;eAEG;YACH,OAAO,EAAE,cAAc,CAAC;YACxB;;eAEG;YACH,iBAAiB,EAAE;gBACjB,KAAK,EAAE,MAAM,CAAC;gBACd,IAAI,EAAE,MAAM,CAAC;aACd,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAppStateListener.d.ts","sourceRoot":"","sources":["../../../../src/utils/hooks/useAppStateListener.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,kBACf,MAAM,IAAI,iBACV,MAAM,IAAI,SA0C1B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* this is a custom hook that takes a value and a delay and returns a debounced value
|
|
3
|
+
* @param {T} value
|
|
4
|
+
* @param {number} delay
|
|
5
|
+
* @returns {T}
|
|
6
|
+
*/
|
|
7
|
+
export declare function useDebouncedValue<T>(value: T, delay: number): T;
|
|
8
|
+
//# sourceMappingURL=useDebouncedValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDebouncedValue.d.ts","sourceRoot":"","sources":["../../../../src/utils/hooks/useDebouncedValue.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,CAY/D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePrevious.d.ts","sourceRoot":"","sources":["../../../../src/utils/hooks/usePrevious.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,UAAW,GAAG,QAQrC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const generateCallTitle: (memberUserIds: string[], totalMembersToShow?: number) => string;
|
|
2
|
+
export declare const generateParticipantTitle: (memberUserId: string) => string;
|
|
3
|
+
export declare const getInitialsOfName: (name: string) => string;
|
|
4
|
+
export * from './StreamVideoRN';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,kBACb,MAAM,EAAE,uBACF,MAAM,WAgB5B,CAAC;AAGF,eAAO,MAAM,wBAAwB,iBAAkB,MAAM,WAI5D,CAAC;AAGF,eAAO,MAAM,iBAAiB,SAAU,MAAM,WAO7C,CAAC;AAEF,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react-native-reanimated" />
|
|
2
|
+
export type GestureHandlerType = typeof import('react-native-gesture-handler');
|
|
3
|
+
export type ReanimatedType = typeof import('react-native-reanimated');
|
|
4
|
+
export declare const getReanimatedLib: (onPackageNotFound?: () => void) => typeof import("react-native-reanimated") | undefined;
|
|
5
|
+
export declare const getGestureHandlerLib: (onPackageNotFound?: () => void) => typeof import("react-native-gesture-handler") | undefined;
|
|
6
|
+
//# sourceMappingURL=optionalLibs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optionalLibs.d.ts","sourceRoot":"","sources":["../../../../src/utils/internal/optionalLibs.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,kBAAkB,GAAG,cAAc,8BAA8B,CAAC,CAAC;AAC/E,MAAM,MAAM,cAAc,GAAG,cAAc,yBAAyB,CAAC,CAAC;AAatE,eAAO,MAAM,gBAAgB,0FAK5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,+FAKhC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { StreamVideoClient } from '@stream-io/video-client';
|
|
2
|
+
import type { StreamVideoConfig } from '../StreamVideoRN/types';
|
|
3
|
+
type PushConfig = NonNullable<StreamVideoConfig['push']>;
|
|
4
|
+
/** Setup Firebase push message handler **/
|
|
5
|
+
export declare function setupFirebaseHandlerAndroid(pushConfig: PushConfig): void;
|
|
6
|
+
/** Send token to stream, create notification channel, */
|
|
7
|
+
export declare function initAndroidPushToken(client: StreamVideoClient, pushConfig: PushConfig): Promise<void>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=android.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"android.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/android.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAYhE,KAAK,UAAU,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAEzD,2CAA2C;AAC3C,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,UAAU,QAiBjE;AAED,0DAA0D;AAC1D,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,iBAAiB,EACzB,UAAU,EAAE,UAAU,iBASvB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { StreamVideoConfig } from '../StreamVideoRN/types';
|
|
2
|
+
type PushConfig = NonNullable<StreamVideoConfig['push']>;
|
|
3
|
+
export declare const iosCallkeepAcceptCall: (call_cid: string | undefined, callUUIDFromCallkeep: string) => void;
|
|
4
|
+
export declare const iosCallkeepRejectCall: (call_cid: string | undefined, callUUIDFromCallkeep: string, pushConfig: PushConfig) => Promise<void>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=ios.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/ios.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAShE,KAAK,UAAU,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAEzD,eAAO,MAAM,qBAAqB,aACtB,MAAM,GAAG,SAAS,wBACN,MAAM,SAc7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,aACtB,MAAM,GAAG,SAAS,wBACN,MAAM,cAChB,UAAU,kBAUvB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react-native-callkeep" />
|
|
2
|
+
/// <reference types="react-native-voip-push-notification" />
|
|
3
|
+
export type { FirebaseMessagingTypes } from '@react-native-firebase/messaging';
|
|
4
|
+
export type RNCallKeepType = typeof import('react-native-callkeep').default;
|
|
5
|
+
export type FirebaseMessagingType = typeof import('@react-native-firebase/messaging').default;
|
|
6
|
+
export type VoipPushNotificationType = typeof import('react-native-voip-push-notification').default;
|
|
7
|
+
export declare function getCallKeepLib(): typeof import("react-native-callkeep").default;
|
|
8
|
+
export declare function getFirebaseMessagingLib(): import("@react-native-firebase/app").ReactNativeFirebase.FirebaseModuleWithStatics<import("@react-native-firebase/messaging").FirebaseMessagingTypes.Module, import("@react-native-firebase/messaging").FirebaseMessagingTypes.Statics>;
|
|
9
|
+
export declare function getVoipPushNotificationLib(): typeof import("react-native-voip-push-notification").default;
|
|
10
|
+
//# sourceMappingURL=libs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"libs.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/libs.ts"],"names":[],"mappings":";;AAAA,YAAY,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE/E,MAAM,MAAM,cAAc,GAAG,cAAc,uBAAuB,EAAE,OAAO,CAAC;AAC5E,MAAM,MAAM,qBAAqB,GAC/B,cAAc,kCAAkC,EAAE,OAAO,CAAC;AAC5D,MAAM,MAAM,wBAAwB,GAClC,cAAc,qCAAqC,EAAE,OAAO,CAAC;AAkB/D,wBAAgB,cAAc,mDAO7B;AAED,wBAAgB,uBAAuB,4OAOtC;AAED,wBAAgB,0BAA0B,iEAOzC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
/**
|
|
3
|
+
* This rxjs subject is used to store the call cid of the accepted incoming call from push notification
|
|
4
|
+
* Note: it is should be subscribed only when a user has connected to the websocket of Stream
|
|
5
|
+
*/
|
|
6
|
+
export declare const pushAcceptedIncomingCallCId$: BehaviorSubject<string | undefined>;
|
|
7
|
+
/**
|
|
8
|
+
* This rxjs subject is used to store the call cid of the tapped incoming call from push notification it is neither accepted nor rejected yet
|
|
9
|
+
* Note: it should be subscribed only when a user has connected to the websocket of Stream
|
|
10
|
+
*/
|
|
11
|
+
export declare const pushTappedIncomingCallCId$: BehaviorSubject<string | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* This rxjs subject is used to store the call cid of the accepted incoming call from push notification
|
|
14
|
+
* Note: it should be subscribed only when a user has connected to the websocket of Stream
|
|
15
|
+
*/
|
|
16
|
+
export declare const pushRejectedIncomingCallCId$: BehaviorSubject<string | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* This rxjs subject is used to store the call cid of the incoming call from ios voip pushkit notification
|
|
19
|
+
*/
|
|
20
|
+
export declare const voipPushNotificationCallCId$: BehaviorSubject<string | undefined>;
|
|
21
|
+
/** The pair of cid of a call and its corresponding uuid created in the native side */
|
|
22
|
+
type CallkeepMap = {
|
|
23
|
+
uuid: string;
|
|
24
|
+
cid: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const voipCallkeepCallOnForegroundMap$: BehaviorSubject<CallkeepMap | undefined>;
|
|
27
|
+
export declare const voipCallkeepAcceptedCallOnNativeDialerMap$: BehaviorSubject<CallkeepMap | undefined>;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=rxSubjects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rxSubjects.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/rxSubjects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,4BAA4B,qCAE7B,CAAC;AAEb;;;GAGG;AACH,eAAO,MAAM,0BAA0B,qCAE3B,CAAC;AAEb;;;GAGG;AACH,eAAO,MAAM,4BAA4B,qCAE7B,CAAC;AAEb;;GAEG;AACH,eAAO,MAAM,4BAA4B,qCAE7B,CAAC;AAEb,sFAAsF;AACtF,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAOF,eAAO,MAAM,gCAAgC,0CAEjC,CAAC;AAKb,eAAO,MAAM,0CAA0C,0CAE3C,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StreamVideoClient } from '@stream-io/video-client';
|
|
2
|
+
import type { StreamVideoConfig } from '../StreamVideoRN/types';
|
|
3
|
+
type PushConfig = NonNullable<StreamVideoConfig['push']>;
|
|
4
|
+
export declare const processCallFromPushInBackground: (pushConfig: PushConfig, call_cid: string, action: Parameters<typeof processCallFromPush>[2]) => Promise<void>;
|
|
5
|
+
/**
|
|
6
|
+
* This function is used process the call from push notifications due to incoming call
|
|
7
|
+
* It does the following steps:
|
|
8
|
+
* 1. Get the call from the client if present or create a new call
|
|
9
|
+
* 2. Fetch the latest state of the call from the server if its not already in ringing state
|
|
10
|
+
* 3. Join or leave the call based on the user's action.
|
|
11
|
+
*/
|
|
12
|
+
export declare const processCallFromPush: (client: StreamVideoClient, call_cid: string, action: 'accept' | 'decline' | 'pressed') => Promise<void>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,KAAK,UAAU,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAMzD,eAAO,MAAM,+BAA+B,eAC9B,UAAU,YACZ,MAAM,UACR,WAAW,0BAA0B,CAAC,CAAC,CAAC,CAAC,kBAclD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,WACtB,iBAAiB,YACf,MAAM,UACR,QAAQ,GAAG,SAAS,GAAG,SAAS,kBAmBzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setClientDetails.d.ts","sourceRoot":"","sources":["../../../src/utils/setClientDetails.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,gBAAgB,YA+C5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const config_plugins_1 = require("@expo/config-plugins");
|
|
7
|
+
const withAppDelegate_1 = __importDefault(require("./withAppDelegate"));
|
|
8
|
+
const withMainApplication_1 = __importDefault(require("./withMainApplication"));
|
|
9
|
+
const withAndroidPermissions_1 = __importDefault(require("./withAndroidPermissions"));
|
|
10
|
+
const withAndroidManifest_1 = __importDefault(require("./withAndroidManifest"));
|
|
11
|
+
const withiOSInfoPlist_1 = __importDefault(require("./withiOSInfoPlist"));
|
|
7
12
|
const withStreamVideoReactNativeSDK = (config) => {
|
|
8
|
-
return withPlugins(config, [
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
return (0, config_plugins_1.withPlugins)(config, [
|
|
14
|
+
withAppDelegate_1.default,
|
|
15
|
+
withMainApplication_1.default,
|
|
16
|
+
withAndroidPermissions_1.default,
|
|
17
|
+
withAndroidManifest_1.default,
|
|
18
|
+
withiOSInfoPlist_1.default,
|
|
14
19
|
]);
|
|
15
20
|
};
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
21
|
+
exports.default = withStreamVideoReactNativeSDK;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const config_plugins_1 = require("@expo/config-plugins");
|
|
4
|
+
const { prefixAndroidKeys, getMainApplicationOrThrow } = config_plugins_1.AndroidConfig.Manifest;
|
|
3
5
|
function getNotifeeService() {
|
|
4
6
|
/*
|
|
5
7
|
<service
|
|
@@ -17,7 +19,7 @@ function getNotifeeService() {
|
|
|
17
19
|
};
|
|
18
20
|
}
|
|
19
21
|
const withStreamVideoReactNativeSDKManifest = (configuration) => {
|
|
20
|
-
return withAndroidManifest(configuration, (config) => {
|
|
22
|
+
return (0, config_plugins_1.withAndroidManifest)(configuration, (config) => {
|
|
21
23
|
try {
|
|
22
24
|
const androidManifest = config.modResults;
|
|
23
25
|
const mainApplication = getMainApplicationOrThrow(androidManifest);
|
|
@@ -34,5 +36,4 @@ const withStreamVideoReactNativeSDKManifest = (configuration) => {
|
|
|
34
36
|
return config;
|
|
35
37
|
});
|
|
36
38
|
};
|
|
37
|
-
|
|
38
|
-
//# sourceMappingURL=withAndroidManifest.js.map
|
|
39
|
+
exports.default = withStreamVideoReactNativeSDKManifest;
|