@stream-io/video-react-native-sdk 1.10.17 → 1.10.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/CHANGELOG.md +728 -687
  2. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +1 -0
  3. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  4. package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js +5 -5
  5. package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
  6. package/dist/commonjs/components/Call/Lobby/Lobby.js.map +1 -1
  7. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +1 -1
  8. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  9. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +5 -3
  10. package/dist/commonjs/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  11. package/dist/commonjs/contexts/BackgroundFilters.js +1 -1
  12. package/dist/commonjs/contexts/BackgroundFilters.js.map +1 -1
  13. package/dist/commonjs/contexts/ThemeContext.js +12 -3
  14. package/dist/commonjs/contexts/ThemeContext.js.map +1 -1
  15. package/dist/commonjs/hooks/internal/useCallMediaStreamCleanup.js +0 -1
  16. package/dist/commonjs/hooks/internal/useCallMediaStreamCleanup.js.map +1 -1
  17. package/dist/commonjs/hooks/push/useIosCallkeepWithCallingStateEffect.js +4 -4
  18. package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js +11 -5
  19. package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
  20. package/dist/commonjs/hooks/useScreenShareButton.js +1 -3
  21. package/dist/commonjs/hooks/useScreenShareButton.js.map +1 -1
  22. package/dist/commonjs/hooks/useTrackDimensions.js +1 -1
  23. package/dist/commonjs/hooks/useTrackDimensions.js.map +1 -1
  24. package/dist/commonjs/providers/StreamCall/DeviceStats.js +2 -2
  25. package/dist/commonjs/providers/StreamCall/DeviceStats.js.map +1 -1
  26. package/dist/commonjs/providers/StreamVideo.js +1 -1
  27. package/dist/commonjs/providers/StreamVideo.js.map +1 -1
  28. package/dist/commonjs/utils/internal/optionallibs/gestureHandler.js +1 -1
  29. package/dist/commonjs/utils/internal/optionallibs/gestureHandler.js.map +1 -1
  30. package/dist/commonjs/utils/internal/optionallibs/reanimated.js +1 -1
  31. package/dist/commonjs/utils/internal/optionallibs/reanimated.js.map +1 -1
  32. package/dist/commonjs/utils/internal/pushLogoutCallback.js +1 -1
  33. package/dist/commonjs/utils/internal/pushLogoutCallback.js.map +1 -1
  34. package/dist/commonjs/utils/push/internal/ios.js +104 -0
  35. package/dist/commonjs/utils/push/internal/ios.js.map +1 -0
  36. package/dist/commonjs/utils/push/ios.js +15 -107
  37. package/dist/commonjs/utils/push/ios.js.map +1 -1
  38. package/dist/commonjs/utils/push/libs/callkeep.js +1 -1
  39. package/dist/commonjs/utils/push/libs/callkeep.js.map +1 -1
  40. package/dist/commonjs/utils/push/libs/expoNotifications.js +1 -1
  41. package/dist/commonjs/utils/push/libs/expoNotifications.js.map +1 -1
  42. package/dist/commonjs/utils/push/libs/firebaseMessaging/lib.js +1 -1
  43. package/dist/commonjs/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
  44. package/dist/commonjs/utils/push/libs/iosPushNotification.js +1 -1
  45. package/dist/commonjs/utils/push/libs/iosPushNotification.js.map +1 -1
  46. package/dist/commonjs/utils/push/libs/notifee/lib.js +1 -1
  47. package/dist/commonjs/utils/push/libs/notifee/lib.js.map +1 -1
  48. package/dist/commonjs/utils/push/libs/voipPushNotification.js +1 -1
  49. package/dist/commonjs/utils/push/libs/voipPushNotification.js.map +1 -1
  50. package/dist/commonjs/utils/push/setupIosCallKeepEvents.js +2 -2
  51. package/dist/commonjs/utils/push/setupIosCallKeepEvents.js.map +1 -1
  52. package/dist/commonjs/utils/push/setupIosVoipPushEvents.js +2 -2
  53. package/dist/commonjs/utils/push/setupIosVoipPushEvents.js.map +1 -1
  54. package/dist/commonjs/version.js +1 -1
  55. package/dist/module/components/Call/CallContent/CallContent.js +2 -2
  56. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  57. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +2 -1
  58. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  59. package/dist/module/components/Call/CallContent/RTCViewPipNative.js +6 -6
  60. package/dist/module/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
  61. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js +1 -1
  62. package/dist/module/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
  63. package/dist/module/components/Call/Lobby/Lobby.js.map +1 -1
  64. package/dist/module/components/Call/Lobby/LobbyFooter.js +1 -1
  65. package/dist/module/components/Call/Lobby/LobbyFooter.js.map +1 -1
  66. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +4 -4
  67. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
  68. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +7 -5
  69. package/dist/module/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -1
  70. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js +1 -1
  71. package/dist/module/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
  72. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js +1 -1
  73. package/dist/module/components/Participant/ParticipantView/SpeechIndicator.js.map +1 -1
  74. package/dist/module/contexts/BackgroundFilters.js +1 -1
  75. package/dist/module/contexts/BackgroundFilters.js.map +1 -1
  76. package/dist/module/contexts/ThemeContext.js +11 -1
  77. package/dist/module/contexts/ThemeContext.js.map +1 -1
  78. package/dist/module/hooks/internal/useCallMediaStreamCleanup.js +0 -1
  79. package/dist/module/hooks/internal/useCallMediaStreamCleanup.js.map +1 -1
  80. package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js +4 -4
  81. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +12 -6
  82. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
  83. package/dist/module/hooks/push/useProcessPushCallEffect.js +1 -1
  84. package/dist/module/hooks/push/useProcessPushCallEffect.js.map +1 -1
  85. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +2 -2
  86. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
  87. package/dist/module/hooks/usePermissionRequest.js +1 -1
  88. package/dist/module/hooks/usePermissionRequest.js.map +1 -1
  89. package/dist/module/hooks/useScreenShareButton.js +3 -5
  90. package/dist/module/hooks/useScreenShareButton.js.map +1 -1
  91. package/dist/module/hooks/useTrackDimensions.js +2 -2
  92. package/dist/module/hooks/useTrackDimensions.js.map +1 -1
  93. package/dist/module/providers/StreamCall/DeviceStats.js +4 -4
  94. package/dist/module/providers/StreamCall/DeviceStats.js.map +1 -1
  95. package/dist/module/providers/StreamVideo.js +2 -2
  96. package/dist/module/providers/StreamVideo.js.map +1 -1
  97. package/dist/module/utils/internal/optionallibs/gestureHandler.js +1 -1
  98. package/dist/module/utils/internal/optionallibs/gestureHandler.js.map +1 -1
  99. package/dist/module/utils/internal/optionallibs/reanimated.js +1 -1
  100. package/dist/module/utils/internal/optionallibs/reanimated.js.map +1 -1
  101. package/dist/module/utils/internal/pushLogoutCallback.js +1 -1
  102. package/dist/module/utils/internal/pushLogoutCallback.js.map +1 -1
  103. package/dist/module/utils/push/android.js +3 -3
  104. package/dist/module/utils/push/android.js.map +1 -1
  105. package/dist/module/utils/push/internal/ios.js +97 -0
  106. package/dist/module/utils/push/internal/ios.js.map +1 -0
  107. package/dist/module/utils/push/internal/utils.js +1 -1
  108. package/dist/module/utils/push/internal/utils.js.map +1 -1
  109. package/dist/module/utils/push/ios.js +18 -109
  110. package/dist/module/utils/push/ios.js.map +1 -1
  111. package/dist/module/utils/push/libs/callkeep.js +1 -1
  112. package/dist/module/utils/push/libs/callkeep.js.map +1 -1
  113. package/dist/module/utils/push/libs/expoNotifications.js +1 -1
  114. package/dist/module/utils/push/libs/expoNotifications.js.map +1 -1
  115. package/dist/module/utils/push/libs/firebaseMessaging/index.js.map +1 -1
  116. package/dist/module/utils/push/libs/firebaseMessaging/lib.js +1 -1
  117. package/dist/module/utils/push/libs/firebaseMessaging/lib.js.map +1 -1
  118. package/dist/module/utils/push/libs/iosPushNotification.js +1 -1
  119. package/dist/module/utils/push/libs/iosPushNotification.js.map +1 -1
  120. package/dist/module/utils/push/libs/notifee/index.js.map +1 -1
  121. package/dist/module/utils/push/libs/notifee/lib.js +1 -1
  122. package/dist/module/utils/push/libs/notifee/lib.js.map +1 -1
  123. package/dist/module/utils/push/libs/voipPushNotification.js +1 -1
  124. package/dist/module/utils/push/libs/voipPushNotification.js.map +1 -1
  125. package/dist/module/utils/push/setupIosCallKeepEvents.js +3 -4
  126. package/dist/module/utils/push/setupIosCallKeepEvents.js.map +1 -1
  127. package/dist/module/utils/push/setupIosVoipPushEvents.js +2 -2
  128. package/dist/module/utils/push/setupIosVoipPushEvents.js.map +1 -1
  129. package/dist/module/version.js +1 -1
  130. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  131. package/dist/typescript/components/Call/CallContent/RTCViewPipIOS.d.ts.map +1 -1
  132. package/dist/typescript/components/Call/CallContent/RTCViewPipNative.d.ts.map +1 -1
  133. package/dist/typescript/components/Call/CallControls/AcceptCallButton.d.ts.map +1 -1
  134. package/dist/typescript/components/Call/CallControls/CallControls.d.ts.map +1 -1
  135. package/dist/typescript/components/Call/CallControls/CallControlsButton.d.ts.map +1 -1
  136. package/dist/typescript/components/Call/CallControls/HangupCallButton.d.ts.map +1 -1
  137. package/dist/typescript/components/Call/CallControls/IncomingCallControls.d.ts.map +1 -1
  138. package/dist/typescript/components/Call/CallControls/OutgoingCallControls.d.ts.map +1 -1
  139. package/dist/typescript/components/Call/CallControls/ReactionsButton.d.ts.map +1 -1
  140. package/dist/typescript/components/Call/CallControls/RejectCallButton.d.ts.map +1 -1
  141. package/dist/typescript/components/Call/CallControls/ScreenShareToggleButton.d.ts.map +1 -1
  142. package/dist/typescript/components/Call/CallControls/ToggleAudioPreviewButton.d.ts.map +1 -1
  143. package/dist/typescript/components/Call/CallControls/ToggleAudioPublishingButton.d.ts.map +1 -1
  144. package/dist/typescript/components/Call/CallControls/ToggleCameraFaceButton.d.ts.map +1 -1
  145. package/dist/typescript/components/Call/CallControls/ToggleVideoPreviewButton.d.ts.map +1 -1
  146. package/dist/typescript/components/Call/CallControls/ToggleVideoPublishingButton.d.ts.map +1 -1
  147. package/dist/typescript/components/Call/CallControls/internal/ReactionsPicker.d.ts.map +1 -1
  148. package/dist/typescript/components/Call/CallLayout/CallParticipantsGrid.d.ts.map +1 -1
  149. package/dist/typescript/components/Call/CallLayout/CallParticipantsSpotlight.d.ts.map +1 -1
  150. package/dist/typescript/components/Call/CallParticipantsList/CallParticipantsList.d.ts.map +1 -1
  151. package/dist/typescript/components/Call/Lobby/JoinCallButton.d.ts.map +1 -1
  152. package/dist/typescript/components/Call/Lobby/Lobby.d.ts.map +1 -1
  153. package/dist/typescript/components/Call/Lobby/LobbyFooter.d.ts.map +1 -1
  154. package/dist/typescript/components/Call/RingingCallContent/CallLeftIndicator.d.ts.map +1 -1
  155. package/dist/typescript/components/Call/RingingCallContent/CallPreparingIndicator.d.ts.map +1 -1
  156. package/dist/typescript/components/Call/RingingCallContent/IncomingCall.d.ts.map +1 -1
  157. package/dist/typescript/components/Call/RingingCallContent/OutgoingCall.d.ts.map +1 -1
  158. package/dist/typescript/components/Call/RingingCallContent/RingingCallContent.d.ts.map +1 -1
  159. package/dist/typescript/components/Call/RingingCallContent/TextBasedIndicator.d.ts.map +1 -1
  160. package/dist/typescript/components/Call/RingingCallContent/UserInfo.d.ts.map +1 -1
  161. package/dist/typescript/components/Livestream/HostLivestream/HostLivestream.d.ts.map +1 -1
  162. package/dist/typescript/components/Livestream/LivestreamControls/HostLivestreamControls.d.ts.map +1 -1
  163. package/dist/typescript/components/Livestream/LivestreamControls/HostStartStreamButton.d.ts.map +1 -1
  164. package/dist/typescript/components/Livestream/LivestreamControls/LivestreamMediaControls.d.ts.map +1 -1
  165. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLeaveStreamButton.d.ts.map +1 -1
  166. package/dist/typescript/components/Livestream/LivestreamControls/ViewerLivestreamControls.d.ts.map +1 -1
  167. package/dist/typescript/components/Livestream/LivestreamLayout/LivestreamLayout.d.ts.map +1 -1
  168. package/dist/typescript/components/Livestream/LivestreamPlayer/LivestreamPlayer.d.ts.map +1 -1
  169. package/dist/typescript/components/Livestream/LivestreamTopView/DurationBadge.d.ts.map +1 -1
  170. package/dist/typescript/components/Livestream/LivestreamTopView/FollowerCount.d.ts.map +1 -1
  171. package/dist/typescript/components/Livestream/LivestreamTopView/HostLivestreamTopView.d.ts.map +1 -1
  172. package/dist/typescript/components/Livestream/LivestreamTopView/LiveIndicator.d.ts.map +1 -1
  173. package/dist/typescript/components/Livestream/LivestreamTopView/ViewerLivestreamTopView.d.ts.map +1 -1
  174. package/dist/typescript/components/Livestream/ViewerLivestream/ViewerLivestream.d.ts.map +1 -1
  175. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.d.ts.map +1 -1
  176. package/dist/typescript/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts.map +1 -1
  177. package/dist/typescript/components/Participant/FloatingParticipantView/index.d.ts.map +1 -1
  178. package/dist/typescript/components/Participant/ParticipantView/ParticipantLabel.d.ts.map +1 -1
  179. package/dist/typescript/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.d.ts.map +1 -1
  180. package/dist/typescript/components/Participant/ParticipantView/ParticipantReaction.d.ts.map +1 -1
  181. package/dist/typescript/components/Participant/ParticipantView/ParticipantVideoFallback.d.ts.map +1 -1
  182. package/dist/typescript/components/Participant/ParticipantView/ParticipantView.d.ts.map +1 -1
  183. package/dist/typescript/components/Participant/ParticipantView/SpeechIndicator.d.ts.map +1 -1
  184. package/dist/typescript/components/Participant/ParticipantView/VideoRenderer.d.ts.map +1 -1
  185. package/dist/typescript/components/utility/Avatar.d.ts.map +1 -1
  186. package/dist/typescript/components/utility/ScreenShareOverlay.d.ts.map +1 -1
  187. package/dist/typescript/contexts/BackgroundFilters.d.ts.map +1 -1
  188. package/dist/typescript/contexts/ThemeContext.d.ts +10 -2
  189. package/dist/typescript/contexts/ThemeContext.d.ts.map +1 -1
  190. package/dist/typescript/hooks/internal/useCallMediaStreamCleanup.d.ts.map +1 -1
  191. package/dist/typescript/hooks/push/useIosVoipPushEventsSetupEffect.d.ts.map +1 -1
  192. package/dist/typescript/hooks/usePaginatedLayoutSortPreset.d.ts.map +1 -1
  193. package/dist/typescript/hooks/usePermissionNotification.d.ts.map +1 -1
  194. package/dist/typescript/hooks/useScreenShareButton.d.ts +21 -1
  195. package/dist/typescript/hooks/useScreenShareButton.d.ts.map +1 -1
  196. package/dist/typescript/icons/Back.d.ts.map +1 -1
  197. package/dist/typescript/icons/CameraSwitch.d.ts.map +1 -1
  198. package/dist/typescript/icons/IconWrapper.d.ts.map +1 -1
  199. package/dist/typescript/icons/Lock.d.ts.map +1 -1
  200. package/dist/typescript/icons/Mic.d.ts.map +1 -1
  201. package/dist/typescript/icons/MicOff.d.ts.map +1 -1
  202. package/dist/typescript/icons/Phone.d.ts.map +1 -1
  203. package/dist/typescript/icons/PhoneDown.d.ts.map +1 -1
  204. package/dist/typescript/icons/PinVertical.d.ts.map +1 -1
  205. package/dist/typescript/icons/Reaction.d.ts.map +1 -1
  206. package/dist/typescript/icons/ScreenShare.d.ts.map +1 -1
  207. package/dist/typescript/icons/ScreenShareIndicator.d.ts.map +1 -1
  208. package/dist/typescript/icons/Settings.d.ts.map +1 -1
  209. package/dist/typescript/icons/Spotlight.d.ts.map +1 -1
  210. package/dist/typescript/icons/StopScreenShare.d.ts.map +1 -1
  211. package/dist/typescript/icons/ThreeDots.d.ts.map +1 -1
  212. package/dist/typescript/icons/TopViewBackground.d.ts.map +1 -1
  213. package/dist/typescript/icons/Video.d.ts.map +1 -1
  214. package/dist/typescript/icons/VideoSlash.d.ts.map +1 -1
  215. package/dist/typescript/providers/StreamCall/index.d.ts.map +1 -1
  216. package/dist/typescript/providers/StreamVideo.d.ts.map +1 -1
  217. package/dist/typescript/utils/hooks/usePrevious.d.ts.map +1 -1
  218. package/dist/typescript/utils/index.d.ts.map +1 -1
  219. package/dist/typescript/utils/internal/optionallibs/gestureHandler.d.ts.map +1 -1
  220. package/dist/typescript/utils/internal/optionallibs/reanimated.d.ts.map +1 -1
  221. package/dist/typescript/utils/internal/pushLogoutCallback.d.ts +1 -1
  222. package/dist/typescript/utils/internal/pushLogoutCallback.d.ts.map +1 -1
  223. package/dist/typescript/utils/push/android.d.ts +1 -1
  224. package/dist/typescript/utils/push/android.d.ts.map +1 -1
  225. package/dist/typescript/utils/push/internal/ios.d.ts +3 -0
  226. package/dist/typescript/utils/push/internal/ios.d.ts.map +1 -0
  227. package/dist/typescript/utils/push/internal/utils.d.ts.map +1 -1
  228. package/dist/typescript/utils/push/ios.d.ts +0 -1
  229. package/dist/typescript/utils/push/ios.d.ts.map +1 -1
  230. package/dist/typescript/utils/push/libs/expoNotifications.d.ts +1 -1
  231. package/dist/typescript/utils/push/libs/expoNotifications.d.ts.map +1 -1
  232. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts.map +1 -1
  233. package/dist/typescript/utils/push/libs/iosPushNotification.d.ts +1 -1
  234. package/dist/typescript/utils/push/libs/iosPushNotification.d.ts.map +1 -1
  235. package/dist/typescript/utils/push/libs/notifee/index.d.ts.map +1 -1
  236. package/dist/typescript/utils/push/setupIosCallKeepEvents.d.ts.map +1 -1
  237. package/dist/typescript/version.d.ts +1 -1
  238. package/expo-config-plugin/dist/withAndroidManifest.js +0 -1
  239. package/expo-config-plugin/dist/withAppDelegate.js +1 -1
  240. package/expo-config-plugin/dist/withIosScreenCapture/withPlistUpdates.js +1 -1
  241. package/expo-config-plugin/dist/withiOSInfoPlist.js +3 -1
  242. package/package.json +20 -23
  243. package/src/components/Call/CallContent/CallContent.tsx +3 -3
  244. package/src/components/Call/CallContent/RTCViewPipIOS.tsx +6 -4
  245. package/src/components/Call/CallContent/RTCViewPipNative.tsx +5 -5
  246. package/src/components/Call/CallControls/CallControlsButton.tsx +1 -1
  247. package/src/components/Call/CallControls/LobbyControls.tsx +1 -1
  248. package/src/components/Call/CallControls/ScreenShareToggleButton.tsx +1 -1
  249. package/src/components/Call/CallControls/internal/ReactionsPicker.tsx +4 -4
  250. package/src/components/Call/CallLayout/CallParticipantsSpotlight.tsx +1 -1
  251. package/src/components/Call/CallParticipantsList/CallParticipantsList.tsx +5 -5
  252. package/src/components/Call/Lobby/JoinCallButton.tsx +1 -1
  253. package/src/components/Call/Lobby/Lobby.tsx +2 -2
  254. package/src/components/Call/Lobby/LobbyFooter.tsx +2 -2
  255. package/src/components/Call/RingingCallContent/UserInfo.tsx +1 -1
  256. package/src/components/Livestream/HostLivestream/HostLivestream.tsx +1 -1
  257. package/src/components/Livestream/LivestreamControls/LivestreamScreenShareToggleButton.tsx +1 -1
  258. package/src/components/Livestream/LivestreamLayout/LivestreamLayout.tsx +1 -1
  259. package/src/components/Livestream/LivestreamTopView/DurationBadge.tsx +1 -1
  260. package/src/components/Livestream/ViewerLivestream/ViewerLivestream.tsx +1 -1
  261. package/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.tsx +10 -10
  262. package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +15 -13
  263. package/src/components/Participant/ParticipantView/ParticipantLabel.tsx +1 -1
  264. package/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.tsx +1 -1
  265. package/src/components/Participant/ParticipantView/ParticipantReaction.tsx +3 -3
  266. package/src/components/Participant/ParticipantView/ParticipantView.tsx +1 -1
  267. package/src/components/Participant/ParticipantView/SpeechIndicator.tsx +3 -3
  268. package/src/components/Participant/ParticipantView/VideoRenderer.tsx +1 -1
  269. package/src/contexts/BackgroundFilters.tsx +7 -7
  270. package/src/contexts/StreamVideoContext.tsx +3 -3
  271. package/src/contexts/ThemeContext.tsx +15 -5
  272. package/src/hooks/internal/useCallMediaStreamCleanup.ts +2 -6
  273. package/src/hooks/push/useInitAndroidTokenAndRest.ts +1 -1
  274. package/src/hooks/push/useIosCallkeepWithCallingStateEffect.ts +25 -25
  275. package/src/hooks/push/useIosVoipPushEventsSetupEffect.ts +28 -19
  276. package/src/hooks/push/useProcessPushCallEffect.ts +8 -8
  277. package/src/hooks/push/useProcessPushNonRingingCallEffect.ts +1 -1
  278. package/src/hooks/useAndroidKeepCallAliveEffect.ts +10 -10
  279. package/src/hooks/useAutoEnterPiPEffect.tsx +2 -2
  280. package/src/hooks/useIsIosScreenshareBroadcastStarted.ts +2 -2
  281. package/src/hooks/usePaginatedLayoutSortPreset.ts +1 -1
  282. package/src/hooks/usePermissionNotification.tsx +1 -1
  283. package/src/hooks/usePermissionRequest.tsx +4 -4
  284. package/src/hooks/useScreenShareButton.ts +9 -10
  285. package/src/hooks/useTrackDimensions.ts +3 -3
  286. package/src/providers/StreamCall/AppStateListener.tsx +6 -6
  287. package/src/providers/StreamCall/DeviceStats.tsx +8 -8
  288. package/src/providers/StreamVideo.tsx +4 -4
  289. package/src/utils/StreamVideoRN/index.ts +4 -4
  290. package/src/utils/StreamVideoRN/types.ts +2 -2
  291. package/src/utils/enterPiPAndroid.ts +1 -1
  292. package/src/utils/index.ts +2 -2
  293. package/src/utils/internal/newNotificationCallbacks.ts +3 -3
  294. package/src/utils/internal/optionallibs/gestureHandler.ts +1 -1
  295. package/src/utils/internal/optionallibs/reanimated.ts +1 -1
  296. package/src/utils/internal/pushLogoutCallback.ts +1 -1
  297. package/src/utils/push/android.ts +33 -33
  298. package/src/utils/push/internal/ios.ts +133 -0
  299. package/src/utils/push/internal/utils.ts +10 -10
  300. package/src/utils/push/ios.ts +38 -164
  301. package/src/utils/push/libs/callkeep.ts +2 -2
  302. package/src/utils/push/libs/expoNotifications.ts +5 -5
  303. package/src/utils/push/libs/firebaseMessaging/index.ts +3 -3
  304. package/src/utils/push/libs/firebaseMessaging/lib.ts +1 -1
  305. package/src/utils/push/libs/iosPushNotification.ts +4 -4
  306. package/src/utils/push/libs/notifee/index.ts +7 -7
  307. package/src/utils/push/libs/notifee/lib.ts +1 -1
  308. package/src/utils/push/libs/voipPushNotification.ts +2 -2
  309. package/src/utils/push/setupIosCallKeepEvents.ts +17 -18
  310. package/src/utils/push/setupIosVoipPushEvents.ts +5 -5
  311. package/src/utils/push/utils.ts +2 -2
  312. package/src/version.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/ios.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAMhE,OAAO,EACL,KAAK,gBAAgB,EAMrB,KAAK,uBAAuB,EAC7B,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAW,iBAAiB,EAAa,MAAM,yBAAyB,CAAC;AAEhF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAQnD,KAAK,UAAU,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAqBzD,eAAO,MAAM,0BAA0B,UAAW,gBAAgB,SAoBjE,CAAC;AAEF,eAAO,MAAM,iBAAiB,eAE3B;IACD,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;CACvB,SAmBA,CAAC;AAEF,wBAAgB,qCAAqC,CACnD,YAAY,EAAE,uBAAuB,QAiCtC;AAED,2BAA2B;AAC3B,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,iBAAiB,EACzB,UAAU,EAAE,UAAU,EACtB,sBAAsB,EAAE,CAAC,WAAW,EAAE,MAAM,IAAI,KAAK,IAAI,iBAoF1D;AAED,eAAO,MAAM,0BAA0B,iBAAwB,GAAG,kBAwHjE,CAAC"}
1
+ {"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/ios.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,OAAO,EACL,KAAK,gBAAgB,EAIrB,KAAK,uBAAuB,EAC7B,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAa,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEvE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAInD,KAAK,UAAU,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAqBzD,eAAO,MAAM,0BAA0B,GAAI,OAAO,gBAAgB,SAsBjE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,YAE/B;IACD,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;CACvB,SAmBA,CAAC;AAEF,wBAAgB,qCAAqC,CACnD,YAAY,EAAE,uBAAuB,QAmCtC;AAED,2BAA2B;AAC3B,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,iBAAiB,EACzB,UAAU,EAAE,UAAU,EACtB,sBAAsB,EAAE,CAAC,WAAW,EAAE,MAAM,IAAI,KAAK,IAAI,iBAsF1D"}
@@ -1,5 +1,5 @@
1
- export type ExpoNotificationsLib = typeof import('expo-notifications');
2
1
  import type { Notification } from 'expo-notifications';
2
+ export type ExpoNotificationsLib = typeof import('expo-notifications');
3
3
  export type ExpoNotification = Notification;
4
4
  export declare function getExpoNotificationsLib(): typeof import("expo-notifications");
5
5
  export declare function getExpoNotificationsLibNoThrow(): typeof import("expo-notifications") | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"expoNotifications.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/expoNotifications.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,cAAc,oBAAoB,CAAC,CAAC;AAGvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAQ5C,wBAAgB,uBAAuB,wCAOtC;AAED,wBAAgB,8BAA8B,oDAQ7C"}
1
+ {"version":3,"file":"expoNotifications.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/expoNotifications.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG,cAAc,oBAAoB,CAAC,CAAC;AAEvE,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAQ5C,wBAAgB,uBAAuB,wCAOtC;AAED,wBAAgB,8BAA8B,oDAQ7C"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/push/libs/firebaseMessaging/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,IAAI,EAAO,MAAM,OAAO,CAAC;AAEvC,YAAY,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAKzC,wBAAgB,uBAAuB,4OAQtC;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,OAAO,uPAa7D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/push/libs/firebaseMessaging/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAEvC,YAAY,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAKzC,wBAAgB,uBAAuB,4OAQtC;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,OAAO,uPAa7D"}
@@ -1,5 +1,5 @@
1
- export type PushNotificationIosLib = typeof import('@react-native-community/push-notification-ios').default;
2
1
  import type { PushNotification } from '@react-native-community/push-notification-ios';
2
+ export type PushNotificationIosLib = typeof import('@react-native-community/push-notification-ios').default;
3
3
  export type PushNotificationiOSType = PushNotification;
4
4
  export declare function getPushNotificationIosLib(): import("@react-native-community/push-notification-ios").PushNotificationIOSStatic;
5
5
  //# sourceMappingURL=iosPushNotification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"iosPushNotification.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/iosPushNotification.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAChC,cAAc,+CAA+C,EAAE,OAAO,CAAC;AAIzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AAOvD,wBAAgB,yBAAyB,sFAOxC"}
1
+ {"version":3,"file":"iosPushNotification.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/iosPushNotification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,MAAM,MAAM,sBAAsB,GAChC,cAAc,+CAA+C,EAAE,OAAO,CAAC;AAIzE,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AAOvD,wBAAgB,yBAAyB,sFAOxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/push/libs/notifee/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,IAAI,EAAO,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC;AAE9B,aAAK,4BAA4B;IAC/B,8BAA8B,KAAK;IACnC,wCAAwC,KAAK;IAC7C,iCAAiC,IAAI;IACrC,8BAA8B,MAAM;IACpC,gCAAgC,IAAI;IACpC,sCAAsC,IAAI;IAC1C,wCAAwC,KAAK;IAC7C,wCAAwC,OAAO;IAC/C,kCAAkC,MAAM;IACxC,kCAAkC,IAAI;IACtC,wCAAwC,MAAM;IAC9C,qCAAqC,OAAO;IAC5C,mCAAmC,aAAa;IAChD,uCAAuC,OAAO;IAC9C,gCAAgC,KAAK;CACtC;AAKD,wBAAgB,uCAAuC,2CAQtD;AAED,wBAAgB,oCAAoC,uDASnD;AAED,wBAAsB,sCAAsC,4CA0B3D;AAED,wBAAgB,qCAAqC,mCAKpD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/push/libs/notifee/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC;AAE9B,aAAK,4BAA4B;IAC/B,8BAA8B,KAAK;IACnC,wCAAwC,KAAK;IAC7C,iCAAiC,IAAI;IACrC,8BAA8B,MAAM;IACpC,gCAAgC,IAAI;IACpC,sCAAsC,IAAI;IAC1C,wCAAwC,KAAK;IAC7C,wCAAwC,OAAO;IAC/C,kCAAkC,MAAM;IACxC,kCAAkC,IAAI;IACtC,wCAAwC,MAAM;IAC9C,qCAAqC,OAAO;IAC5C,mCAAmC,aAAa;IAChD,uCAAuC,OAAO;IAC9C,gCAAgC,KAAK;CACtC;AAKD,wBAAgB,uCAAuC,2CAQtD;AAED,wBAAgB,oCAAoC,uDASnD;AAED,wBAAsB,sCAAsC,4CA0B3D;AAED,wBAAgB,qCAAqC,mCAKpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"setupIosCallKeepEvents.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/setupIosCallKeepEvents.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAchE;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,QAwHnD"}
1
+ {"version":3,"file":"setupIosCallKeepEvents.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/setupIosCallKeepEvents.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAUhE;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,QAyHnD"}
@@ -1,2 +1,2 @@
1
- export declare const version = "1.10.17";
1
+ export declare const version = "1.10.19";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -39,7 +39,6 @@ const withStreamVideoReactNativeSDKManifest = (configuration, props) => {
39
39
  }
40
40
  if (props?.androidPictureInPicture) {
41
41
  const mainActivity = getMainActivityOrThrow(androidManifest);
42
- ('keyboard|keyboardHidden|orientation|screenSize|uiMode');
43
42
  const currentConfigChangesArray = mainActivity.$['android:configChanges']
44
43
  ? mainActivity.$['android:configChanges'].split('|')
45
44
  : [];
@@ -38,7 +38,7 @@ const withAppDelegate = (configuration, props) => {
38
38
  return config;
39
39
  }
40
40
  catch (error) {
41
- throw new Error('Cannot setup StreamVideoReactNativeSDK because the AppDelegate is malformed');
41
+ throw new Error(`Cannot setup StreamVideoReactNativeSDK because the AppDelegate is malformed ${error}`);
42
42
  }
43
43
  }
44
44
  else {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const config_plugins_1 = require("@expo/config-plugins");
4
- const withPlistUpdates = (config, _props) => (0, config_plugins_1.withPlugins)(config, [withAppEntitlements, withInfoPlistRTC]);
4
+ const withPlistUpdates = (config) => (0, config_plugins_1.withPlugins)(config, [withAppEntitlements, withInfoPlistRTC]);
5
5
  exports.default = withPlistUpdates;
6
6
  // adds the app group identifier to the app's entitlements file
7
7
  const withAppEntitlements = (configuration) => {
@@ -15,8 +15,10 @@ const withStreamVideoReactNativeSDKiOSInfoPList = (configuration, props) => {
15
15
  if (props?.ringingPushNotifications) {
16
16
  addBackgroundMode('voip');
17
17
  addBackgroundMode('fetch');
18
+ addBackgroundMode('processing');
18
19
  }
19
- if (props?.enableNonRingingPushNotifications) {
20
+ if (props?.enableNonRingingPushNotifications ||
21
+ props?.ringingPushNotifications) {
20
22
  addBackgroundMode('remote-notification');
21
23
  }
22
24
  return config;
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-native-sdk",
3
- "version": "1.10.17",
4
- "packageManager": "yarn@3.2.4",
3
+ "version": "1.10.19",
5
4
  "description": "Stream Video SDK for React Native",
6
5
  "author": "https://getstream.io",
7
6
  "homepage": "https://getstream.io/video/docs/react-native/",
@@ -46,8 +45,8 @@
46
45
  "!**/.*"
47
46
  ],
48
47
  "dependencies": {
49
- "@stream-io/video-client": "1.18.7",
50
- "@stream-io/video-react-bindings": "1.5.9",
48
+ "@stream-io/video-client": "1.18.9",
49
+ "@stream-io/video-react-bindings": "1.5.11",
51
50
  "intl-pluralrules": "2.0.1",
52
51
  "lodash.merge": "^4.6.2",
53
52
  "react-native-url-polyfill": "1.3.0",
@@ -113,44 +112,42 @@
113
112
  }
114
113
  },
115
114
  "devDependencies": {
116
- "@expo/config-plugins": "~9.0.15",
117
- "@notifee/react-native": "9.1.2",
115
+ "@expo/config-plugins": "~9.0.17",
116
+ "@expo/config-types": "^52.0.5",
117
+ "@expo/plist": "^0.2.2",
118
+ "@notifee/react-native": "9.1.8",
118
119
  "@react-native-community/netinfo": "9.3.9",
119
120
  "@react-native-community/push-notification-ios": "1.11.0",
120
- "@react-native-firebase/app": "19.2.2",
121
- "@react-native-firebase/messaging": "19.2.2",
122
- "@react-native/babel-preset": "^0.73",
123
- "@react-native/eslint-config": "^0.74.84",
124
- "@stream-io/react-native-webrtc": "^125.0.7",
121
+ "@react-native-firebase/app": "^21.12.0",
122
+ "@react-native-firebase/messaging": "^21.12.0",
123
+ "@react-native/babel-preset": "^0.76",
124
+ "@stream-io/react-native-webrtc": "^125.0.8",
125
125
  "@stream-io/video-filters-react-native": "^0.2.8",
126
126
  "@testing-library/jest-native": "^5.4.2",
127
127
  "@testing-library/react-native": "^12.1.2",
128
128
  "@tsconfig/node14": "14.1.0",
129
- "@types/jest": "^29.5.1",
130
- "@types/lodash.merge": "^4",
129
+ "@types/jest": "^29.5.14",
130
+ "@types/lodash.merge": "^4.6.9",
131
131
  "@types/react": "^18.2.44",
132
- "@types/react-native": "^0.70.4",
133
132
  "@types/react-native-incall-manager": "^3.2.1",
134
133
  "@types/react-test-renderer": "^18",
135
- "expo": "52.0.37",
134
+ "expo": "52.0.38",
136
135
  "expo-build-properties": "^0.13.2",
137
136
  "expo-module-scripts": "^4.0.4",
138
- "expo-modules-core": "1.12.16",
139
- "expo-notifications": "~0.29.11",
137
+ "expo-modules-core": "2.2.3",
138
+ "expo-notifications": "~0.29.14",
140
139
  "jest": "^29.7.0",
141
- "react-native": "~0.73",
140
+ "react-native": "0.76.7",
142
141
  "react-native-builder-bob": "~0.23",
143
- "react-native-callkeep": "4.3.11",
142
+ "react-native-callkeep": "^4.3.16",
144
143
  "react-native-gesture-handler": "2.16.2",
145
144
  "react-native-incall-manager": "^4.0.0",
146
145
  "react-native-reanimated": "2.7.0",
147
146
  "react-native-svg": "^13.6.0",
148
147
  "react-native-voip-push-notification": "3.3.1",
149
148
  "react-test-renderer": "^18.2.0",
150
- "rimraf": "^5.0.7",
151
- "ts-jest": "^29.1.5",
152
- "ts-node": "^10.9.2",
153
- "typescript": "^5.5.2"
149
+ "rimraf": "^6.0.1",
150
+ "typescript": "^5.8.2"
154
151
  },
155
152
  "resolutions": {
156
153
  "@types/react": "^18.2.44"
@@ -1,4 +1,4 @@
1
- import React, { useEffect, useState, useMemo, useRef } from 'react';
1
+ import React, { useEffect, useMemo, useRef, useState } from 'react';
2
2
  import { StyleSheet, View, type ViewStyle } from 'react-native';
3
3
  import InCallManager from 'react-native-incall-manager';
4
4
  import {
@@ -27,7 +27,7 @@ import {
27
27
  type CallParticipantsListComponentProps,
28
28
  type CallParticipantsListProps,
29
29
  } from '../CallParticipantsList';
30
- import { useIsInPiPMode, useAutoEnterPiPEffect } from '../../../hooks';
30
+ import { useAutoEnterPiPEffect, useIsInPiPMode } from '../../../hooks';
31
31
  import {
32
32
  ScreenShareOverlay as DefaultScreenShareOverlay,
33
33
  type ScreenShareOverlayProps,
@@ -262,6 +262,6 @@ const useStyles = () => {
262
262
  zIndex: Z_INDEX.IN_FRONT,
263
263
  },
264
264
  }),
265
- [theme]
265
+ [theme],
266
266
  );
267
267
  };
@@ -8,7 +8,7 @@ import { useCall, useCallStateHooks } from '@stream-io/video-react-bindings';
8
8
  import type { MediaStream } from '@stream-io/react-native-webrtc';
9
9
  import React, { useEffect, useMemo } from 'react';
10
10
  import { findNodeHandle } from 'react-native';
11
- import { RTCViewPipNative, onNativeCallClosed } from './RTCViewPipNative';
11
+ import { onNativeCallClosed, RTCViewPipNative } from './RTCViewPipNative';
12
12
  import { useDebouncedValue } from '../../../utils/hooks/useDebouncedValue';
13
13
  import { shouldDisableIOSLocalVideoOnBackgroundRef } from '../../../utils/internal/shouldDisableIOSLocalVideoOnBackground';
14
14
 
@@ -26,7 +26,7 @@ const RTCViewPipIOS = React.memo(({ includeLocalParticipantVideo }: Props) => {
26
26
 
27
27
  const [dominantSpeaker, dominantSpeaker2] = allParticipants.filter(
28
28
  (participant) =>
29
- includeLocalParticipantVideo ? true : !participant.isLocalParticipant
29
+ includeLocalParticipantVideo ? true : !participant.isLocalParticipant,
30
30
  );
31
31
 
32
32
  // show the dominant remote speaker in PiP mode
@@ -59,7 +59,7 @@ const RTCViewPipIOS = React.memo(({ includeLocalParticipantVideo }: Props) => {
59
59
  const unsubFunc = call?.on('call.ended', () => {
60
60
  getLogger(['RTCViewPipIOS'])(
61
61
  'debug',
62
- `onCallClosed due to call.ended event`
62
+ `onCallClosed due to call.ended event`,
63
63
  );
64
64
  unsubFunc?.();
65
65
  onCallClosed();
@@ -68,7 +68,7 @@ const RTCViewPipIOS = React.memo(({ includeLocalParticipantVideo }: Props) => {
68
68
  if (state === CallingState.LEFT || state === CallingState.IDLE) {
69
69
  getLogger(['RTCViewPipIOS'])(
70
70
  'debug',
71
- `onCallClosed due to callingState: ${state}`
71
+ `onCallClosed due to callingState: ${state}`,
72
72
  );
73
73
  subscription?.unsubscribe();
74
74
  onCallClosed();
@@ -100,4 +100,6 @@ const RTCViewPipIOS = React.memo(({ includeLocalParticipantVideo }: Props) => {
100
100
  return <RTCViewPipNative streamURL={streamURL} ref={nativeRef} />;
101
101
  });
102
102
 
103
+ RTCViewPipIOS.displayName = 'RTCViewPipIOS';
104
+
103
105
  export default RTCViewPipIOS;
@@ -4,8 +4,8 @@ import {
4
4
  type HostComponent,
5
5
  Platform,
6
6
  requireNativeComponent,
7
- UIManager,
8
7
  StyleSheet,
8
+ UIManager,
9
9
  } from 'react-native';
10
10
 
11
11
  const COMPONENT_NAME = 'RTCViewPip';
@@ -21,9 +21,8 @@ export function onNativeCallClosed(reactTag: number) {
21
21
  getLogger(['RTCViewPipNative'])('debug', 'onNativeCallClosed');
22
22
  UIManager.dispatchViewManagerCommand(
23
23
  reactTag,
24
- // @ts-ignore
25
24
  UIManager.getViewManagerConfig(COMPONENT_NAME).Commands.onCallClosed,
26
- []
25
+ [],
27
26
  );
28
27
  }
29
28
 
@@ -42,10 +41,11 @@ export const RTCViewPipNative = React.memo(
42
41
  <NativeComponent
43
42
  style={StyleSheet.absoluteFill}
44
43
  pointerEvents={'none'}
44
+ // eslint-disable-next-line react/prop-types
45
45
  streamURL={props.streamURL}
46
- // @ts-ignore
46
+ // @ts-expect-error - types issue
47
47
  ref={ref}
48
48
  />
49
49
  );
50
- })
50
+ }),
51
51
  );
@@ -46,7 +46,7 @@ interface CallControlsButtonProps {
46
46
  }
47
47
 
48
48
  export const CallControlsButton = (
49
- props: React.PropsWithChildren<CallControlsButtonProps>
49
+ props: React.PropsWithChildren<CallControlsButtonProps>,
50
50
  ) => {
51
51
  const {
52
52
  onPress,
@@ -31,6 +31,6 @@ const useStyles = () => {
31
31
  justifyContent: 'space-evenly',
32
32
  },
33
33
  }),
34
- [theme]
34
+ [theme],
35
35
  );
36
36
  };
@@ -41,7 +41,7 @@ export const ScreenShareToggleButton = ({
41
41
  const { onPress, hasPublishedScreenShare } = useScreenShareButton(
42
42
  screenCapturePickerViewiOSRef,
43
43
  onScreenShareStartedHandler,
44
- onScreenShareStoppedHandler
44
+ onScreenShareStoppedHandler,
45
45
  );
46
46
 
47
47
  if (!onPress) return null;
@@ -1,13 +1,13 @@
1
1
  import React, { useEffect, useMemo, useRef } from 'react';
2
2
  import {
3
+ Animated,
4
+ Easing,
3
5
  type LayoutRectangle,
4
6
  Pressable,
5
7
  StyleSheet,
6
- Animated,
7
- Easing,
8
8
  } from 'react-native';
9
9
  import { useCall } from '@stream-io/video-react-bindings';
10
- import { type SendReactionRequest, getLogger } from '@stream-io/video-client';
10
+ import { getLogger, type SendReactionRequest } from '@stream-io/video-client';
11
11
  import { ComponentTestIds } from '../../../../constants/TestIds';
12
12
  import { useTheme } from '../../../../contexts/ThemeContext';
13
13
  import type { ReactionsButtonProps } from '../ReactionsButton';
@@ -187,6 +187,6 @@ const useStyles = () => {
187
187
  fontSize: 18.5,
188
188
  },
189
189
  }),
190
- [theme]
190
+ [theme],
191
191
  );
192
192
  };
@@ -176,6 +176,6 @@ const useStyles = () => {
176
176
  flex: 1,
177
177
  },
178
178
  }),
179
- [theme]
179
+ [theme],
180
180
  );
181
181
  };
@@ -116,7 +116,7 @@ export const CallParticipantsList = ({
116
116
  const participantPatches: StreamVideoParticipantPatches = {};
117
117
  let mustUpdate = false;
118
118
  const newVisibleParticipantSessionIds = new Set<string>(
119
- viewableItems.map((v) => v.key)
119
+ viewableItems.map((v) => v.key),
120
120
  );
121
121
  const oldVisibleParticipantSessionIds =
122
122
  viewableParticipantSessionIds.current;
@@ -151,7 +151,7 @@ export const CallParticipantsList = ({
151
151
 
152
152
  // NOTE: key must be sessionId always as it is used to track viewable participants
153
153
  const keyExtractor = useRef<NonNullable<FlatListProps['keyExtractor']>>(
154
- (item) => item.sessionId
154
+ (item) => item.sessionId,
155
155
  ).current;
156
156
 
157
157
  const onLayout = useRef<NonNullable<FlatListProps['onLayout']>>((event) => {
@@ -199,7 +199,7 @@ export const CallParticipantsList = ({
199
199
  const renderItem = useCallback<NonNullable<FlatListProps['renderItem']>>(
200
200
  ({ item: participant }) => {
201
201
  const isVisible = viewableParticipantSessionIds.current.has(
202
- participant.sessionId
202
+ participant.sessionId,
203
203
  );
204
204
  return (
205
205
  <>
@@ -217,7 +217,7 @@ export const CallParticipantsList = ({
217
217
  );
218
218
  },
219
219
  // eslint-disable-next-line react-hooks/exhaustive-deps
220
- [itemContainerStyle]
220
+ [itemContainerStyle],
221
221
  );
222
222
 
223
223
  // in vertical mode, only when there are more than 2 participants in a call, the participants should be displayed in a grid
@@ -281,7 +281,7 @@ const useStyles = () => {
281
281
  margin: theme.variants.spacingSizes.xs,
282
282
  },
283
283
  }),
284
- [theme]
284
+ [theme],
285
285
  );
286
286
  };
287
287
 
@@ -84,6 +84,6 @@ const useStyles = () => {
84
84
  textAlign: 'center',
85
85
  },
86
86
  }),
87
- [theme]
87
+ [theme],
88
88
  );
89
89
  };
@@ -7,6 +7,7 @@ import {
7
7
  } from '@stream-io/video-react-bindings';
8
8
  import { Avatar } from '../../utility/Avatar';
9
9
  import type { StreamVideoParticipant } from '@stream-io/video-client';
10
+ import type { MediaStream } from '@stream-io/react-native-webrtc';
10
11
  import { RTCView } from '@stream-io/react-native-webrtc';
11
12
  import { LobbyControls as DefaultLobbyControls } from '../CallControls/LobbyControls';
12
13
  import {
@@ -15,7 +16,6 @@ import {
15
16
  } from './JoinCallButton';
16
17
  import { useTheme } from '../../../contexts/ThemeContext';
17
18
  import { useCallMediaStreamCleanup } from '../../../hooks/internal/useCallMediaStreamCleanup';
18
- import type { MediaStream } from '@stream-io/react-native-webrtc';
19
19
  import {
20
20
  LobbyFooter as DefaultLobbyFooter,
21
21
  type LobbyFooterProps,
@@ -206,6 +206,6 @@ const useStyles = (landscape = false) => {
206
206
  flexShrink: 1,
207
207
  },
208
208
  }),
209
- [theme, landscape]
209
+ [theme, landscape],
210
210
  );
211
211
  };
@@ -1,6 +1,6 @@
1
1
  import React, { useMemo } from 'react';
2
2
  import { type LobbyProps } from './Lobby';
3
- import { View, StyleSheet, Text } from 'react-native';
3
+ import { StyleSheet, Text, View } from 'react-native';
4
4
  import { useTheme } from '../../../contexts/ThemeContext';
5
5
  import { useCallStateHooks, useI18n } from '@stream-io/video-react-bindings';
6
6
  import { Lock } from '../../../icons/Lock';
@@ -92,6 +92,6 @@ const useStyles = () => {
92
92
  fontWeight: '400',
93
93
  },
94
94
  }),
95
- [theme]
95
+ [theme],
96
96
  );
97
97
  };
@@ -63,7 +63,7 @@ export const UserInfo = ({
63
63
  }
64
64
 
65
65
  const memberUserIds = membersToShow.map(
66
- (memberToShow) => memberToShow.name ?? memberToShow.id
66
+ (memberToShow) => memberToShow.name ?? memberToShow.id,
67
67
  );
68
68
 
69
69
  const callTitle = generateCallTitle(memberUserIds, totalMembersToShow);
@@ -188,6 +188,6 @@ const useStyles = () => {
188
188
  zIndex: Z_INDEX.IN_FRONT,
189
189
  },
190
190
  }),
191
- [theme]
191
+ [theme],
192
192
  );
193
193
  };
@@ -23,7 +23,7 @@ export const LivestreamScreenShareToggleButton = () => {
23
23
  const screenCapturePickerViewiOSRef = React.useRef(null);
24
24
 
25
25
  const { onPress, hasPublishedScreenShare } = useScreenShareButton(
26
- screenCapturePickerViewiOSRef
26
+ screenCapturePickerViewiOSRef,
27
27
  );
28
28
 
29
29
  return (
@@ -68,7 +68,7 @@ export const LivestreamLayout = ({
68
68
  setObjectFit(isWidthWide ? 'contain' : 'cover');
69
69
  }
70
70
  },
71
- []
71
+ [],
72
72
  );
73
73
 
74
74
  const landScapeStyles: ViewStyle = {
@@ -66,7 +66,7 @@ export const DurationBadge = ({ mode }: DurationBadgeProps) => {
66
66
 
67
67
  const callLiveStartedUnsubscribe = call?.on(
68
68
  'call.live_started',
69
- handleLiveStarted
69
+ handleLiveStarted,
70
70
  );
71
71
  const callUpdatedUnsubscribe = call?.on('call.updated', handleLiveEnded);
72
72
 
@@ -138,6 +138,6 @@ const useStyles = () => {
138
138
  backgroundColor: theme.colors.sheetPrimary,
139
139
  },
140
140
  }),
141
- [theme]
141
+ [theme],
142
142
  );
143
143
  };
@@ -1,18 +1,18 @@
1
- import React, { useRef, useReducer, useEffect } from 'react';
1
+ import React, { useEffect, useReducer, useRef } from 'react';
2
2
  import {
3
3
  Animated,
4
+ Easing,
4
5
  type LayoutRectangle,
5
6
  PanResponder,
6
- Easing,
7
- View,
8
7
  StyleSheet,
8
+ View,
9
9
  } from 'react-native';
10
10
  import {
11
- type FloatingViewProps,
12
- getSnapAlignments,
11
+ floatingChildViewContainerStyle,
13
12
  FloatingViewAlignment,
13
+ type FloatingViewProps,
14
14
  getClosestSnapAlignment,
15
- floatingChildViewContainerStyle,
15
+ getSnapAlignments,
16
16
  } from './common';
17
17
  import { getLogger } from '@stream-io/video-client';
18
18
 
@@ -34,7 +34,7 @@ const AnimatedFloatingView = ({
34
34
  // we need to force update the component when the rectangle is available
35
35
  // we cannot just rely on the rectangle because it is not available on the first render
36
36
  // and we need snapAlignments to be in a Ref so that it can be used in the panResponder's creation Ref
37
- const [_, forceUpdate] = useReducer((x) => x + 1, 0);
37
+ const [, forceUpdate] = useReducer((x) => x + 1, 0);
38
38
 
39
39
  // the offsets for the translate bounds of the floating view
40
40
  // stored in ref, because it is used in the panResponder (which has to be a ref)
@@ -86,7 +86,7 @@ const AnimatedFloatingView = ({
86
86
  ],
87
87
  {
88
88
  useNativeDriver: false, // pan responder move event doesn't support nativeDriver
89
- }
89
+ },
90
90
  ),
91
91
  onPanResponderGrant: () => {
92
92
  // start of a drag value is always (0,0) and offset is the last (translateX, translateY)
@@ -111,14 +111,14 @@ const AnimatedFloatingView = ({
111
111
  easing: Easing.inOut(Easing.quad),
112
112
  }).start();
113
113
  },
114
- })
114
+ }),
115
115
  ).current;
116
116
 
117
117
  useEffect(() => {
118
118
  const logger = getLogger(['AnimatedFloatingView']);
119
119
  logger(
120
120
  'info',
121
- 'react-native-reanimated and/or react-native-gesture-handler libraries are not installed. Please install them to get a more performant draggable local video component'
121
+ 'react-native-reanimated and/or react-native-gesture-handler libraries are not installed. Please install them to get a more performant draggable local video component',
122
122
  );
123
123
  }, []);
124
124