@stream-io/video-react-native-sdk 1.29.0-beta.3 → 1.29.1

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 (224) hide show
  1. package/CHANGELOG.md +3126 -0
  2. package/android/src/main/AndroidManifest.xml +1 -8
  3. package/android/src/main/AndroidManifestNew.xml +0 -11
  4. package/android/src/main/java/com/streamvideo/reactnative/StreamVideoReactNativeModule.kt +5 -42
  5. package/android/src/main/java/com/streamvideo/reactnative/audio/utils/WebRtcAudioUtils.kt +6 -70
  6. package/android/src/main/java/com/streamvideo/reactnative/callmanager/StreamInCallManagerModule.kt +4 -6
  7. package/android/src/main/java/com/streamvideo/reactnative/util/CallAliveServiceChecker.kt +95 -0
  8. package/dist/commonjs/components/Call/CallContent/CallContent.js +7 -2
  9. package/dist/commonjs/components/Call/CallContent/CallContent.js.map +1 -1
  10. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js +8 -1
  11. package/dist/commonjs/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  12. package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js +3 -0
  13. package/dist/commonjs/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
  14. package/dist/commonjs/hooks/push/useIosCallkeepWithCallingStateEffect.js +160 -0
  15. package/dist/commonjs/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -0
  16. package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js +31 -18
  17. package/dist/commonjs/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
  18. package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js +97 -64
  19. package/dist/commonjs/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
  20. package/dist/commonjs/index.js +0 -1
  21. package/dist/commonjs/index.js.map +1 -1
  22. package/dist/commonjs/modules/call-manager/CallManager.js +0 -26
  23. package/dist/commonjs/modules/call-manager/CallManager.js.map +1 -1
  24. package/dist/commonjs/providers/StreamCall/index.js +6 -6
  25. package/dist/commonjs/providers/StreamCall/index.js.map +1 -1
  26. package/dist/commonjs/utils/StreamVideoRN/index.js +21 -33
  27. package/dist/commonjs/utils/StreamVideoRN/index.js.map +1 -1
  28. package/dist/commonjs/utils/internal/registerSDKGlobals.js +15 -52
  29. package/dist/commonjs/utils/internal/registerSDKGlobals.js.map +1 -1
  30. package/dist/commonjs/utils/push/android.js +202 -155
  31. package/dist/commonjs/utils/push/android.js.map +1 -1
  32. package/dist/commonjs/utils/push/internal/ios.js +32 -16
  33. package/dist/commonjs/utils/push/internal/ios.js.map +1 -1
  34. package/dist/commonjs/utils/push/internal/rxSubjects.js +20 -1
  35. package/dist/commonjs/utils/push/internal/rxSubjects.js.map +1 -1
  36. package/dist/commonjs/utils/push/internal/utils.js +16 -28
  37. package/dist/commonjs/utils/push/internal/utils.js.map +1 -1
  38. package/dist/commonjs/utils/push/ios.js.map +1 -1
  39. package/dist/commonjs/utils/push/libs/callkeep.js +17 -0
  40. package/dist/commonjs/utils/push/libs/callkeep.js.map +1 -0
  41. package/dist/commonjs/utils/push/libs/index.js +19 -8
  42. package/dist/commonjs/utils/push/libs/index.js.map +1 -1
  43. package/dist/commonjs/utils/push/libs/notifee/index.js +19 -0
  44. package/dist/commonjs/utils/push/libs/notifee/index.js.map +1 -1
  45. package/dist/commonjs/utils/push/libs/voipPushNotification.js +17 -0
  46. package/dist/commonjs/utils/push/libs/voipPushNotification.js.map +1 -0
  47. package/dist/commonjs/utils/push/setupIosCallKeepEvents.js +205 -0
  48. package/dist/commonjs/utils/push/setupIosCallKeepEvents.js.map +1 -0
  49. package/dist/commonjs/utils/push/setupIosVoipPushEvents.js +6 -7
  50. package/dist/commonjs/utils/push/setupIosVoipPushEvents.js.map +1 -1
  51. package/dist/commonjs/version.js +1 -1
  52. package/dist/commonjs/version.js.map +1 -1
  53. package/dist/module/components/Call/CallContent/CallContent.js +7 -2
  54. package/dist/module/components/Call/CallContent/CallContent.js.map +1 -1
  55. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js +8 -1
  56. package/dist/module/components/Call/CallContent/RTCViewPipIOS.js.map +1 -1
  57. package/dist/module/components/Call/CallContent/RTCViewPipNative.js +3 -0
  58. package/dist/module/components/Call/CallContent/RTCViewPipNative.js.map +1 -1
  59. package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js +153 -0
  60. package/dist/module/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -0
  61. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js +31 -18
  62. package/dist/module/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
  63. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js +99 -66
  64. package/dist/module/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
  65. package/dist/module/index.js +0 -1
  66. package/dist/module/index.js.map +1 -1
  67. package/dist/module/modules/call-manager/CallManager.js +0 -26
  68. package/dist/module/modules/call-manager/CallManager.js.map +1 -1
  69. package/dist/module/providers/StreamCall/index.js +6 -6
  70. package/dist/module/providers/StreamCall/index.js.map +1 -1
  71. package/dist/module/utils/StreamVideoRN/index.js +21 -33
  72. package/dist/module/utils/StreamVideoRN/index.js.map +1 -1
  73. package/dist/module/utils/internal/registerSDKGlobals.js +16 -53
  74. package/dist/module/utils/internal/registerSDKGlobals.js.map +1 -1
  75. package/dist/module/utils/push/android.js +204 -157
  76. package/dist/module/utils/push/android.js.map +1 -1
  77. package/dist/module/utils/push/internal/ios.js +32 -16
  78. package/dist/module/utils/push/internal/ios.js.map +1 -1
  79. package/dist/module/utils/push/internal/rxSubjects.js +19 -0
  80. package/dist/module/utils/push/internal/rxSubjects.js.map +1 -1
  81. package/dist/module/utils/push/internal/utils.js +15 -25
  82. package/dist/module/utils/push/internal/utils.js.map +1 -1
  83. package/dist/module/utils/push/ios.js.map +1 -1
  84. package/dist/module/utils/push/libs/callkeep.js +11 -0
  85. package/dist/module/utils/push/libs/callkeep.js.map +1 -0
  86. package/dist/module/utils/push/libs/index.js +2 -1
  87. package/dist/module/utils/push/libs/index.js.map +1 -1
  88. package/dist/module/utils/push/libs/notifee/index.js +18 -0
  89. package/dist/module/utils/push/libs/notifee/index.js.map +1 -1
  90. package/dist/module/utils/push/libs/voipPushNotification.js +11 -0
  91. package/dist/module/utils/push/libs/voipPushNotification.js.map +1 -0
  92. package/dist/module/utils/push/setupIosCallKeepEvents.js +199 -0
  93. package/dist/module/utils/push/setupIosCallKeepEvents.js.map +1 -0
  94. package/dist/module/utils/push/setupIosVoipPushEvents.js +6 -7
  95. package/dist/module/utils/push/setupIosVoipPushEvents.js.map +1 -1
  96. package/dist/module/version.js +1 -1
  97. package/dist/module/version.js.map +1 -1
  98. package/dist/typescript/components/Call/CallContent/CallContent.d.ts +2 -2
  99. package/dist/typescript/components/Call/CallContent/CallContent.d.ts.map +1 -1
  100. package/dist/typescript/components/Call/CallContent/RTCViewPipIOS.d.ts +4 -0
  101. package/dist/typescript/components/Call/CallContent/RTCViewPipIOS.d.ts.map +1 -1
  102. package/dist/typescript/components/Call/CallContent/RTCViewPipNative.d.ts +9 -6
  103. package/dist/typescript/components/Call/CallContent/RTCViewPipNative.d.ts.map +1 -1
  104. package/dist/typescript/hooks/push/useIosCallkeepWithCallingStateEffect.d.ts +5 -0
  105. package/dist/typescript/hooks/push/useIosCallkeepWithCallingStateEffect.d.ts.map +1 -0
  106. package/dist/typescript/hooks/push/useIosVoipPushEventsSetupEffect.d.ts.map +1 -1
  107. package/dist/typescript/hooks/useAndroidKeepCallAliveEffect.d.ts.map +1 -1
  108. package/dist/typescript/index.d.ts +0 -1
  109. package/dist/typescript/index.d.ts.map +1 -1
  110. package/dist/typescript/modules/call-manager/CallManager.d.ts +0 -5
  111. package/dist/typescript/modules/call-manager/CallManager.d.ts.map +1 -1
  112. package/dist/typescript/utils/StreamVideoRN/index.d.ts +2 -20
  113. package/dist/typescript/utils/StreamVideoRN/index.d.ts.map +1 -1
  114. package/dist/typescript/utils/StreamVideoRN/types.d.ts +29 -54
  115. package/dist/typescript/utils/StreamVideoRN/types.d.ts.map +1 -1
  116. package/dist/typescript/utils/internal/registerSDKGlobals.d.ts.map +1 -1
  117. package/dist/typescript/utils/push/android.d.ts +2 -1
  118. package/dist/typescript/utils/push/android.d.ts.map +1 -1
  119. package/dist/typescript/utils/push/internal/ios.d.ts.map +1 -1
  120. package/dist/typescript/utils/push/internal/rxSubjects.d.ts +12 -0
  121. package/dist/typescript/utils/push/internal/rxSubjects.d.ts.map +1 -1
  122. package/dist/typescript/utils/push/internal/utils.d.ts +1 -8
  123. package/dist/typescript/utils/push/internal/utils.d.ts.map +1 -1
  124. package/dist/typescript/utils/push/ios.d.ts +2 -1
  125. package/dist/typescript/utils/push/ios.d.ts.map +1 -1
  126. package/dist/typescript/utils/push/libs/callkeep.d.ts +3 -0
  127. package/dist/typescript/utils/push/libs/callkeep.d.ts.map +1 -0
  128. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts +2 -16
  129. package/dist/typescript/utils/push/libs/firebaseMessaging/index.d.ts.map +1 -1
  130. package/dist/typescript/utils/push/libs/index.d.ts +2 -1
  131. package/dist/typescript/utils/push/libs/index.d.ts.map +1 -1
  132. package/dist/typescript/utils/push/libs/notifee/index.d.ts +1 -0
  133. package/dist/typescript/utils/push/libs/notifee/index.d.ts.map +1 -1
  134. package/dist/typescript/utils/push/libs/voipPushNotification.d.ts +3 -0
  135. package/dist/typescript/utils/push/libs/voipPushNotification.d.ts.map +1 -0
  136. package/dist/typescript/utils/push/setupIosCallKeepEvents.d.ts +6 -0
  137. package/dist/typescript/utils/push/setupIosCallKeepEvents.d.ts.map +1 -0
  138. package/dist/typescript/utils/push/setupIosVoipPushEvents.d.ts.map +1 -1
  139. package/dist/typescript/version.d.ts +1 -1
  140. package/dist/typescript/version.d.ts.map +1 -1
  141. package/expo-config-plugin/dist/withAndroidManifest.js +33 -1
  142. package/expo-config-plugin/dist/withAndroidPermissions.js +7 -2
  143. package/expo-config-plugin/dist/withAppDelegate.js +197 -19
  144. package/expo-config-plugin/dist/withMainActivity.js +1 -1
  145. package/expo-config-plugin/dist/withiOSInfoPlist.js +3 -2
  146. package/ios/PictureInPicture/StreamAVPictureInPictureVideoCallViewController.swift +8 -0
  147. package/ios/PictureInPicture/StreamPictureInPictureController.swift +8 -0
  148. package/ios/PictureInPicture/StreamPictureInPictureVideoRenderer.swift +10 -0
  149. package/ios/RTCViewPip.swift +6 -0
  150. package/ios/RTCViewPipManager.mm +1 -0
  151. package/ios/StreamInCallManager.m +0 -2
  152. package/ios/StreamInCallManager.swift +7 -19
  153. package/ios/StreamVideoReactNative.h +4 -7
  154. package/ios/StreamVideoReactNative.m +102 -191
  155. package/package.json +19 -14
  156. package/src/components/Call/CallContent/CallContent.tsx +6 -1
  157. package/src/components/Call/CallContent/RTCViewPipIOS.tsx +18 -2
  158. package/src/components/Call/CallContent/RTCViewPipNative.tsx +4 -7
  159. package/src/hooks/push/useIosCallkeepWithCallingStateEffect.ts +235 -0
  160. package/src/hooks/push/useIosVoipPushEventsSetupEffect.ts +34 -21
  161. package/src/hooks/useAndroidKeepCallAliveEffect.ts +120 -94
  162. package/src/index.ts +0 -1
  163. package/src/modules/call-manager/CallManager.ts +0 -36
  164. package/src/modules/call-manager/native-module.d.ts +0 -7
  165. package/src/providers/StreamCall/index.tsx +6 -6
  166. package/src/utils/StreamVideoRN/index.ts +30 -40
  167. package/src/utils/StreamVideoRN/types.ts +29 -56
  168. package/src/utils/internal/registerSDKGlobals.ts +23 -47
  169. package/src/utils/push/android.ts +309 -231
  170. package/src/utils/push/internal/ios.ts +42 -27
  171. package/src/utils/push/internal/rxSubjects.ts +29 -0
  172. package/src/utils/push/internal/utils.ts +15 -38
  173. package/src/utils/push/ios.ts +6 -1
  174. package/src/utils/push/libs/callkeep.ts +16 -0
  175. package/src/utils/push/libs/index.ts +2 -1
  176. package/src/utils/push/libs/notifee/index.ts +27 -0
  177. package/src/utils/push/libs/voipPushNotification.ts +17 -0
  178. package/src/utils/push/setupIosCallKeepEvents.ts +252 -0
  179. package/src/utils/push/setupIosVoipPushEvents.ts +7 -11
  180. package/src/version.ts +1 -1
  181. package/android/src/main/java/com/streamvideo/reactnative/keepalive/KeepAliveNotification.kt +0 -83
  182. package/android/src/main/java/com/streamvideo/reactnative/keepalive/StreamCallKeepAliveHeadlessService.kt +0 -134
  183. package/dist/commonjs/hooks/push/useCallingExpWithCallingStateEffect.js +0 -121
  184. package/dist/commonjs/hooks/push/useCallingExpWithCallingStateEffect.js.map +0 -1
  185. package/dist/commonjs/utils/internal/audioSessionPromise.js +0 -57
  186. package/dist/commonjs/utils/internal/audioSessionPromise.js.map +0 -1
  187. package/dist/commonjs/utils/internal/callingx.js +0 -136
  188. package/dist/commonjs/utils/internal/callingx.js.map +0 -1
  189. package/dist/commonjs/utils/keepCallAliveHeadlessTask.js +0 -48
  190. package/dist/commonjs/utils/keepCallAliveHeadlessTask.js.map +0 -1
  191. package/dist/commonjs/utils/push/libs/callingx.js +0 -75
  192. package/dist/commonjs/utils/push/libs/callingx.js.map +0 -1
  193. package/dist/commonjs/utils/push/setupCallingExpEvents.js +0 -97
  194. package/dist/commonjs/utils/push/setupCallingExpEvents.js.map +0 -1
  195. package/dist/module/hooks/push/useCallingExpWithCallingStateEffect.js +0 -114
  196. package/dist/module/hooks/push/useCallingExpWithCallingStateEffect.js.map +0 -1
  197. package/dist/module/utils/internal/audioSessionPromise.js +0 -50
  198. package/dist/module/utils/internal/audioSessionPromise.js.map +0 -1
  199. package/dist/module/utils/internal/callingx.js +0 -127
  200. package/dist/module/utils/internal/callingx.js.map +0 -1
  201. package/dist/module/utils/keepCallAliveHeadlessTask.js +0 -42
  202. package/dist/module/utils/keepCallAliveHeadlessTask.js.map +0 -1
  203. package/dist/module/utils/push/libs/callingx.js +0 -67
  204. package/dist/module/utils/push/libs/callingx.js.map +0 -1
  205. package/dist/module/utils/push/setupCallingExpEvents.js +0 -91
  206. package/dist/module/utils/push/setupCallingExpEvents.js.map +0 -1
  207. package/dist/typescript/hooks/push/useCallingExpWithCallingStateEffect.d.ts +0 -5
  208. package/dist/typescript/hooks/push/useCallingExpWithCallingStateEffect.d.ts.map +0 -1
  209. package/dist/typescript/utils/internal/audioSessionPromise.d.ts +0 -16
  210. package/dist/typescript/utils/internal/audioSessionPromise.d.ts.map +0 -1
  211. package/dist/typescript/utils/internal/callingx.d.ts +0 -13
  212. package/dist/typescript/utils/internal/callingx.d.ts.map +0 -1
  213. package/dist/typescript/utils/keepCallAliveHeadlessTask.d.ts +0 -10
  214. package/dist/typescript/utils/keepCallAliveHeadlessTask.d.ts.map +0 -1
  215. package/dist/typescript/utils/push/libs/callingx.d.ts +0 -9
  216. package/dist/typescript/utils/push/libs/callingx.d.ts.map +0 -1
  217. package/dist/typescript/utils/push/setupCallingExpEvents.d.ts +0 -8
  218. package/dist/typescript/utils/push/setupCallingExpEvents.d.ts.map +0 -1
  219. package/src/hooks/push/useCallingExpWithCallingStateEffect.ts +0 -147
  220. package/src/utils/internal/audioSessionPromise.ts +0 -52
  221. package/src/utils/internal/callingx.ts +0 -192
  222. package/src/utils/keepCallAliveHeadlessTask.ts +0 -54
  223. package/src/utils/push/libs/callingx.ts +0 -90
  224. package/src/utils/push/setupCallingExpEvents.ts +0 -117
@@ -1,10 +1,8 @@
1
- // import { getVoipPushNotificationLib } from './libs';
2
-
1
+ import { getVoipPushNotificationLib } from './libs';
3
2
  import { Platform } from 'react-native';
4
3
  import { onVoipNotificationReceived } from './internal/ios';
5
4
  import { setPushLogoutCallback } from '../internal/pushLogoutCallback';
6
5
  import { videoLoggerSystem } from '@stream-io/video-client';
7
- import { getCallingxLib } from './libs';
8
6
  export function setupIosVoipPushEvents(pushConfig) {
9
7
  if (Platform.OS !== 'ios' || !pushConfig.ios?.pushProviderName) {
10
8
  return;
@@ -15,13 +13,14 @@ export function setupIosVoipPushEvents(pushConfig) {
15
13
  logger.debug('ios pushProviderName is not defined, so skipping the setupIosVoipPushEvents');
16
14
  return;
17
15
  }
18
- const callingx = getCallingxLib();
19
- const voipNotificationReceivedListener = callingx.addEventListener('voipNotificationReceived', params => {
20
- onVoipNotificationReceived(params, pushConfig);
16
+ const voipPushNotification = getVoipPushNotificationLib();
17
+ logger.debug('notification event listener added');
18
+ voipPushNotification.addEventListener('notification', notification => {
19
+ onVoipNotificationReceived(notification, pushConfig);
21
20
  });
22
21
  setPushLogoutCallback(async () => {
23
22
  videoLoggerSystem.getLogger('setPushLogoutCallback').debug('notification event listener removed');
24
- voipNotificationReceivedListener.remove();
23
+ voipPushNotification.removeEventListener('notification');
25
24
  });
26
25
  }
27
26
  //# sourceMappingURL=setupIosVoipPushEvents.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["Platform","onVoipNotificationReceived","setPushLogoutCallback","videoLoggerSystem","getCallingxLib","setupIosVoipPushEvents","pushConfig","OS","ios","pushProviderName","logger","getLogger","debug","callingx","voipNotificationReceivedListener","addEventListener","params","remove"],"sourceRoot":"../../../../src","sources":["utils/push/setupIosVoipPushEvents.ts"],"mappings":"AAAA;;AAEA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SAASC,0BAA0B,QAAQ,gBAAgB;AAC3D,SAASC,qBAAqB,QAAQ,gCAAgC;AAEtE,SAASC,iBAAiB,QAAQ,yBAAyB;AAC3D,SAASC,cAAc,QAAQ,QAAQ;AAEvC,OAAO,SAASC,sBAAsBA,CACpCC,UAAkD,EAClD;EACA,IAAIN,QAAQ,CAACO,EAAE,KAAK,KAAK,IAAI,CAACD,UAAU,CAACE,GAAG,EAAEC,gBAAgB,EAAE;IAC9D;EACF;EACA,MAAMC,MAAM,GAAGP,iBAAiB,CAACQ,SAAS,CAAC,wBAAwB,CAAC;EACpE,IAAI,CAACL,UAAU,CAACE,GAAG,CAACC,gBAAgB,EAAE;IACpC;IACAC,MAAM,CAACE,KAAK,CACV,6EACF,CAAC;IACD;EACF;EAEA,MAAMC,QAAQ,GAAGT,cAAc,CAAC,CAAC;EACjC,MAAMU,gCAAgC,GAAGD,QAAQ,CAACE,gBAAgB,CAChE,0BAA0B,EACzBC,MAAM,IAAK;IACVf,0BAA0B,CAACe,MAAM,EAAEV,UAAU,CAAC;EAChD,CACF,CAAC;EAEDJ,qBAAqB,CAAC,YAAY;IAChCC,iBAAiB,CACdQ,SAAS,CAAC,uBAAuB,CAAC,CAClCC,KAAK,CAAC,qCAAqC,CAAC;IAC/CE,gCAAgC,CAACG,MAAM,CAAC,CAAC;EAC3C,CAAC,CAAC;AACJ","ignoreList":[]}
1
+ {"version":3,"names":["getVoipPushNotificationLib","Platform","onVoipNotificationReceived","setPushLogoutCallback","videoLoggerSystem","setupIosVoipPushEvents","pushConfig","OS","ios","pushProviderName","logger","getLogger","debug","voipPushNotification","addEventListener","notification","removeEventListener"],"sourceRoot":"../../../../src","sources":["utils/push/setupIosVoipPushEvents.ts"],"mappings":"AAAA,SAASA,0BAA0B,QAAQ,QAAQ;AAEnD,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,0BAA0B,QAAQ,gBAAgB;AAC3D,SAASC,qBAAqB,QAAQ,gCAAgC;AAEtE,SAASC,iBAAiB,QAAQ,yBAAyB;AAE3D,OAAO,SAASC,sBAAsBA,CACpCC,UAAkD,EAClD;EACA,IAAIL,QAAQ,CAACM,EAAE,KAAK,KAAK,IAAI,CAACD,UAAU,CAACE,GAAG,EAAEC,gBAAgB,EAAE;IAC9D;EACF;EACA,MAAMC,MAAM,GAAGN,iBAAiB,CAACO,SAAS,CAAC,wBAAwB,CAAC;EACpE,IAAI,CAACL,UAAU,CAACE,GAAG,CAACC,gBAAgB,EAAE;IACpC;IACAC,MAAM,CAACE,KAAK,CACV,6EACF,CAAC;IACD;EACF;EACA,MAAMC,oBAAoB,GAAGb,0BAA0B,CAAC,CAAC;EAEzDU,MAAM,CAACE,KAAK,CAAC,mCAAmC,CAAC;EACjDC,oBAAoB,CAACC,gBAAgB,CAAC,cAAc,EAAGC,YAAY,IAAK;IACtEb,0BAA0B,CAACa,YAAY,EAAET,UAAU,CAAC;EACtD,CAAC,CAAC;EACFH,qBAAqB,CAAC,YAAY;IAChCC,iBAAiB,CACdO,SAAS,CAAC,uBAAuB,CAAC,CAClCC,KAAK,CAAC,qCAAqC,CAAC;IAC/CC,oBAAoB,CAACG,mBAAmB,CAAC,cAAc,CAAC;EAC1D,CAAC,CAAC;AACJ","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- export const version = '1.29.0-beta.3';
1
+ export const version = '1.29.1';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["version"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,eAAe","ignoreList":[]}
1
+ {"version":3,"names":["version"],"sourceRoot":"../../src","sources":["version.ts"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,QAAQ","ignoreList":[]}
@@ -7,7 +7,7 @@ import { type ScreenShareOverlayProps } from '../../utility/ScreenShareOverlay';
7
7
  export type StreamReactionType = StreamReaction & {
8
8
  icon: string;
9
9
  };
10
- type CallContentComponentProps = ParticipantViewComponentProps & Pick<CallParticipantsListComponentProps, 'ParticipantView'> & {
10
+ type CallContentComponentProps = ParticipantViewComponentProps & Pick<CallParticipantsListComponentProps, 'ParticipantView' | 'mirror'> & {
11
11
  /**
12
12
  * Component to customize the CallControls component.
13
13
  */
@@ -50,6 +50,6 @@ export type CallContentProps = Pick<HangUpCallButtonProps, 'onHangupCallHandler'
50
50
  */
51
51
  initialInCallManagerAudioMode?: 'video' | 'audio';
52
52
  };
53
- export declare const CallContent: ({ onHangupCallHandler, CallParticipantsList, CallControls, FloatingParticipantView, ScreenShareOverlay, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, layout, landscape, supportedReactions, initialInCallManagerAudioMode, iOSPiPIncludeLocalParticipantVideo, disablePictureInPicture, }: CallContentProps) => React.JSX.Element;
53
+ export declare const CallContent: ({ onHangupCallHandler, CallParticipantsList, CallControls, FloatingParticipantView, ScreenShareOverlay, ParticipantLabel, ParticipantNetworkQualityIndicator, ParticipantReaction, ParticipantVideoFallback, ParticipantView, VideoRenderer, mirror, layout, landscape, supportedReactions, initialInCallManagerAudioMode, iOSPiPIncludeLocalParticipantVideo, disablePictureInPicture, }: CallContentProps) => React.JSX.Element;
54
54
  export {};
55
55
  //# sourceMappingURL=CallContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CallContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallContent/CallContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAcpE,OAAO,EACL,KAAK,gBAAgB,EAErB,KAAK,qBAAqB,EAC3B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAEL,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EACnC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,yBAAyB,EAC/B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,kCAAkC,CAAC;AAI1C,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,yBAAyB,GAAG,6BAA6B,GAC5D,IAAI,CAAC,kCAAkC,EAAE,iBAAiB,CAAC,GAAG;IAC5D;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC5D;;OAEG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;IACnF;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;IAC7E;;OAEG;I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BAAiB,GAAG,QAAQ,CAAC,GAAG;IACvE;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IAC5D;;OAEG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;IACnF;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC;IAC7E;;OAEG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC;CAC1E,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,qBAAqB,EACrB,qBAAqB,CACtB,GACC,yBAAyB,GAAG;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC9B;;OAEG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAK1C,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,kCAAkC,CAAC,EAAE,OAAO,CAAC;IAC7C;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;;;;OAOG;IACH,6BAA6B,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CACnD,CAAC;AAEJ,eAAO,MAAM,WAAW,GAAI,2XAmBzB,gBAAgB,sBAiKlB,CAAC"}
@@ -1,6 +1,10 @@
1
1
  import React from 'react';
2
2
  type Props = {
3
3
  includeLocalParticipantVideo?: boolean;
4
+ /**
5
+ * Optional video mirroring override.
6
+ */
7
+ mirror?: boolean;
4
8
  /**
5
9
  * Callback that is called when the PiP mode state changes.
6
10
  * @param active - true when PiP started, false when PiP stopped
@@ -1 +1 @@
1
- {"version":3,"file":"RTCViewPipIOS.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallContent/RTCViewPipIOS.tsx"],"names":[],"mappings":"AAUA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAY/D,KAAK,KAAK,GAAG;IACX,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,aAAa,oCAAsB,KAAK,uBA6GnD,CAAC"}
1
+ {"version":3,"file":"RTCViewPipIOS.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallContent/RTCViewPipIOS.tsx"],"names":[],"mappings":"AAUA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAY/D,KAAK,KAAK,GAAG;IACX,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,aAAa,oCAAsB,KAAK,uBAyHnD,CAAC"}
@@ -2,14 +2,17 @@ import React from 'react';
2
2
  export type PiPChangeEvent = {
3
3
  active: boolean;
4
4
  };
5
- export declare function onNativeCallClosed(reactTag: number): void;
6
- export declare function onNativeDimensionsUpdated(reactTag: number, width: number, height: number): void;
7
- /** Wrapper for the native view
8
- * meant to stay private and not exposed */
9
- export declare const RTCViewPipNative: React.NamedExoticComponent<{
5
+ type RTCViewPipNativeProps = {
10
6
  streamURL?: string;
7
+ mirror?: boolean;
11
8
  onPiPChange?: (event: {
12
9
  nativeEvent: PiPChangeEvent;
13
10
  }) => void;
14
- } & React.RefAttributes<React.Ref<any>>>;
11
+ };
12
+ export declare function onNativeCallClosed(reactTag: number): void;
13
+ export declare function onNativeDimensionsUpdated(reactTag: number, width: number, height: number): void;
14
+ /** Wrapper for the native view
15
+ * meant to stay private and not exposed */
16
+ export declare const RTCViewPipNative: React.NamedExoticComponent<RTCViewPipNativeProps & React.RefAttributes<React.Ref<any>>>;
17
+ export {};
15
18
  //# sourceMappingURL=RTCViewPipNative.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RTCViewPipNative.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallContent/RTCViewPipNative.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAUF,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,QAMlD;AAED,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,QAaf;AAED;2CAC2C;AAC3C,eAAO,MAAM,gBAAgB;gBAIX,MAAM;kBACJ,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,cAAc,CAAA;KAAE,KAAK,IAAI;wCAkBnE,CAAC"}
1
+ {"version":3,"file":"RTCViewPipNative.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/CallContent/RTCViewPipNative.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,cAAc,CAAA;KAAE,KAAK,IAAI,CAAC;CAChE,CAAC;AAKF,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,QAMlD;AAED,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,QAaf;AAED;2CAC2C;AAC3C,eAAO,MAAM,gBAAgB,yFAmB5B,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This hook is used to inform the callkeep library that the call has been joined or ended.
3
+ */
4
+ export declare const useIosCallkeepWithCallingStateEffect: () => void;
5
+ //# sourceMappingURL=useIosCallkeepWithCallingStateEffect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useIosCallkeepWithCallingStateEffect.d.ts","sourceRoot":"","sources":["../../../../src/hooks/push/useIosCallkeepWithCallingStateEffect.ts"],"names":[],"mappings":"AAmDA;;GAEG;AACH,eAAO,MAAM,oCAAoC,YAoLhD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useIosVoipPushEventsSetupEffect.d.ts","sourceRoot":"","sources":["../../../../src/hooks/push/useIosVoipPushEventsSetupEffect.ts"],"names":[],"mappings":"AAoCA;;;GAGG;AACH,eAAO,MAAM,+BAA+B,YAgI3C,CAAC"}
1
+ {"version":3,"file":"useIosVoipPushEventsSetupEffect.d.ts","sourceRoot":"","sources":["../../../../src/hooks/push/useIosVoipPushEventsSetupEffect.ts"],"names":[],"mappings":"AAoCA;;;GAGG;AACH,eAAO,MAAM,+BAA+B,YA6I3C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useAndroidKeepCallAliveEffect.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAndroidKeepCallAliveEffect.ts"],"names":[],"mappings":"AA+EA;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,YA2HzC,CAAC"}
1
+ {"version":3,"file":"useAndroidKeepCallAliveEffect.d.ts","sourceRoot":"","sources":["../../../src/hooks/useAndroidKeepCallAliveEffect.ts"],"names":[],"mappings":"AAqHA;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,YA+GzC,CAAC"}
@@ -4,7 +4,6 @@ import 'text-encoding-polyfill';
4
4
  import 'react-native-url-polyfill/auto';
5
5
  /** i18next polyfill to handle intl format for pluralization. For more info see https://www.i18next.com/misc/json-format#i-18-next-json-v4 */
6
6
  import 'intl-pluralrules';
7
- import './utils/keepCallAliveHeadlessTask';
8
7
  export * from '@stream-io/video-client';
9
8
  export * from '@stream-io/video-react-bindings';
10
9
  export * from './components';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,+CAA+C;AAC/C,OAAO,wBAAwB,CAAC;AAChC,8BAA8B;AAC9B,OAAO,gCAAgC,CAAC;AACxC,6IAA6I;AAC7I,OAAO,kBAAkB,CAAC;AAK1B,OAAO,mCAAmC,CAAC;AAa3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AAIvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,+CAA+C;AAC/C,OAAO,wBAAwB,CAAC;AAChC,8BAA8B;AAC9B,OAAO,gCAAgC,CAAC;AACxC,6IAA6I;AAC7I,OAAO,kBAAkB,CAAC;AAiB1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AAIvC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,cAAc,+BAA+B,CAAC"}
@@ -64,11 +64,6 @@ export declare class CallManager {
64
64
  * in the native layer.
65
65
  */
66
66
  logAudioState: () => void;
67
- /**
68
- * For debugging purposes, returns the current audio state as a string.
69
- * @returns A string containing the current audio state information.
70
- */
71
- getAudioStateLog: () => string;
72
67
  }
73
68
  export {};
74
69
  //# sourceMappingURL=CallManager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CallManager.d.ts","sourceRoot":"","sources":["../../../../src/modules/call-manager/CallManager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAWvE,cAAM,kBAAkB;IACtB,OAAO,CAAC,YAAY,CAAC,CAAqB;IAE1C;;OAEG;IACH,oBAAoB,QAAa,OAAO,CAAC,iBAAiB,CAAC,CAGzD;IAEF;;;;OAIG;IACH,iBAAiB,GAAI,cAAc,MAAM,KAAG,IAAI,CAG9C;IAEF;;;OAGG;IACH,4BAA4B,GAC1B,UAAU,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,IAAI,KACvD,CAAC,MAAM,IAAI,CAAC,CAKb;CACH;AAED,cAAM,cAAc;IAClB;;OAEG;IACH,kBAAkB,QAAO,IAAI,CAG3B;CACH;AAED,cAAM,cAAc;IAClB;;OAEG;IACH,OAAO,GAAI,MAAM,OAAO,KAAG,IAAI,CAM7B;IAEF;;OAEG;IACH,sBAAsB,GAAI,OAAO,OAAO,KAAG,IAAI,CAE7C;CACH;AAeD,qBAAa,WAAW;IACtB,OAAO,qBAA4B;IACnC,GAAG,iBAAwB;IAC3B,OAAO,iBAAwB;IAE/B;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,GAAI,SAAS,yBAAyB,KAAG,IAAI,CAkBhD;IAEF;;OAEG;IACH,IAAI,QAAO,IAAI,CAQb;IAEF;;;OAGG;IACH,aAAa,QAAO,IAAI,CAAkC;IAE1D;;;OAGG;IACH,gBAAgB,QAAO,MAAM,CAAqC;CACnE"}
1
+ {"version":3,"file":"CallManager.d.ts","sourceRoot":"","sources":["../../../../src/modules/call-manager/CallManager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAQvE,cAAM,kBAAkB;IACtB,OAAO,CAAC,YAAY,CAAC,CAAqB;IAE1C;;OAEG;IACH,oBAAoB,QAAa,OAAO,CAAC,iBAAiB,CAAC,CAGzD;IAEF;;;;OAIG;IACH,iBAAiB,GAAI,cAAc,MAAM,KAAG,IAAI,CAG9C;IAEF;;;OAGG;IACH,4BAA4B,GAC1B,UAAU,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,IAAI,KACvD,CAAC,MAAM,IAAI,CAAC,CAKb;CACH;AAED,cAAM,cAAc;IAClB;;OAEG;IACH,kBAAkB,QAAO,IAAI,CAG3B;CACH;AAED,cAAM,cAAc;IAClB;;OAEG;IACH,OAAO,GAAI,MAAM,OAAO,KAAG,IAAI,CAM7B;IAEF;;OAEG;IACH,sBAAsB,GAAI,OAAO,OAAO,KAAG,IAAI,CAE7C;CACH;AAED,qBAAa,WAAW;IACtB,OAAO,qBAA4B;IACnC,GAAG,iBAAwB;IAC3B,OAAO,iBAAwB;IAE/B;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,GAAI,SAAS,yBAAyB,KAAG,IAAI,CAUhD;IAEF;;OAEG;IACH,IAAI,QAAO,IAAI,CAEb;IAEF;;;OAGG;IACH,aAAa,QAAO,IAAI,CAAkC;CAC3D"}
@@ -12,6 +12,7 @@ export declare class StreamVideoRN {
12
12
  * This function accepts a partial config object that will be deeply merged with the default config.
13
13
  */
14
14
  static updateConfig(updateConfig: DeepPartial<Omit<StreamVideoConfig, 'push'>>): void;
15
+ static updateAndroidIncomingCallChannel(updateChannel: Partial<NonNullable<StreamVideoConfig['push']>['android']['incomingCallChannel']>): void;
15
16
  /**
16
17
  * Set the push config for StreamVideoRN.
17
18
  * This method must be called **outside** of your application lifecycle, e.g. alongside your
@@ -24,26 +25,7 @@ export declare class StreamVideoRN {
24
25
  * import App from './App';
25
26
  * // Set push config
26
27
  * const pushConfig = {}; // construct your config
27
- * // Set CallKit/Android Telecom API integration options. All params are optional. If not provided, the default values will be used.
28
- * const callingExpOptions = {
29
- * ios: {
30
- * callsHistory: true,
31
- * displayCallTimeout: 60000,
32
- * sound: 'ringtone',
33
- * imageName: 'callkit_icon',
34
- * },
35
- * android: {
36
- * incomingChannel: {
37
- * id: 'stream_incoming_call_notifications',
38
- * name: 'Call notifications',
39
- * vibration: true,
40
- * sound: 'default',
41
- * },
42
- * titleTransformer: (text: string) => text,
43
- * subtitleTransformer: (text: string) => text,
44
- * },
45
- * };
46
- * StreamVideoRN.setPushConfig(pushConfig, callingExpOptions);
28
+ * StreamVideoRN.setPushConfig(pushConfig);
47
29
  * AppRegistry.registerComponent('app', () => App);
48
30
  */
49
31
  static setPushConfig(pushConfig: NonNullable<StreamVideoConfig['push']>): void;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/StreamVideoRN/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAiC,EAC/B,KAAK,2BAA2B,EACjC,MAAM,sCAAsC,CAAC;AAW9C,KAAK,WAAW,CAAC,CAAC,IAAI;KACnB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAChE,CAAC;AAgDF,qBAAa,aAAa;IACxB,OAAO,CAAC,MAAM,CAAC,MAAM,CAA+B;IACpD,OAAO,CAAC,MAAM,CAAC,eAAe,CAA+B;IAE7D;;;;OAIG;IACH,MAAM,CAAC,YAAY,CACjB,YAAY,EAAE,WAAW,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAK5D;;;;;;;;;;;;;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AC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,qBAAqB,CAAC,CACzE;IAWH;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAsBvE,MAAM,CAAC,SAAS;IAIhB;;;OAGG;IACH,MAAM,CAAC,YAAY;IASnB,MAAM,CAAC,wBAAwB;IAI/B;;;;OAIG;IACH,MAAM,CAAC,gCAAgC,CACrC,QAAQ,EAAE,2BAA2B;IAavC;;OAEG;WACU,YAAY;IAIzB;;OAEG;WACU,YAAY;IAIzB;;;OAGG;WACU,6BAA6B,IAAI,OAAO,CAAC,OAAO,CAAC;IAQ9D;;;OAGG;WACU,4BAA4B,IAAI,OAAO,CAAC,OAAO,CAAC;IAQ7D;;;OAGG;WACU,wBAAwB,IAAI,OAAO,CAAC,OAAO,CAAC;CAO1D"}
@@ -1,15 +1,5 @@
1
1
  import { type ClientPublishOptions, StreamVideoClient, type Call } from '@stream-io/video-client';
2
2
  import type { AndroidChannel } from '@notifee/react-native';
3
- export type AndroidChannelConfig = {
4
- id: string;
5
- name: string;
6
- sound?: string;
7
- vibration?: boolean;
8
- };
9
- export type KeepAliveAndroidNotificationTexts = {
10
- title: string;
11
- body: string;
12
- };
13
3
  export type NonRingingPushEvent = 'call.live_started' | 'call.notification' | 'call.missed';
14
4
  export type StreamVideoConfig = {
15
5
  /**
@@ -32,27 +22,6 @@ export type StreamVideoConfig = {
32
22
  * @example "production-apn-video" or "staging-apn-video" based on the environment
33
23
  */
34
24
  pushProviderName?: string;
35
- supportsVideo?: boolean;
36
- /**
37
- * Sound to play when an incoming call is received. Must be a valid sound resource name in the project.
38
- * @default '' (no sound)
39
- */
40
- sound?: string;
41
- /**
42
- * Image to display when an incoming call is received. Must be a valid image resource name in the project.
43
- * @default '' (no image)
44
- */
45
- imageName?: string;
46
- /**
47
- * Enable calls history. When enabled, the call will be added to the calls history.
48
- * @default false
49
- */
50
- callsHistory?: boolean;
51
- /**
52
- * Timeout to display an incoming call. When the call is displayed for more than the timeout, the call will be rejected.
53
- * @default 60000 (1 minute)
54
- */
55
- displayCallTimeout?: number;
56
25
  };
57
26
  android: {
58
27
  /**
@@ -82,21 +51,28 @@ export type StreamVideoConfig = {
82
51
  * The notification channel to be used for incoming calls for Android.
83
52
  * @example
84
53
  * {
85
- * id: 'incoming_calls_channel',
86
- * name: 'Incoming calls',
87
- * sound?: string;
88
- * vibration?: boolean;
54
+ * id: 'stream_incoming_call',
55
+ * name: 'Incoming call notifications',
56
+ * importance: AndroidImportance.HIGH,
89
57
  * }
90
58
  */
91
- incomingChannel?: AndroidChannelConfig;
59
+ incomingCallChannel?: AndroidChannel;
92
60
  /**
93
- * The transformer to be used to transform the call title in the notification for ringing and ongoing calls for Android.
94
- */
95
- titleTransformer?: (memberName: string, incoming: boolean) => string;
96
- /**
97
- * The transformer to be used to transform the call subtitle for ringing and ongoing calls for Android.
61
+ * Functions to create the texts shown in the notification for incoming calls in Android.
62
+ * @example
63
+ * {
64
+ * getTitle: (createdUserName: string) => `Incoming call from ${createdUserName}`,
65
+ * getBody: (createdUserName: string) => `Tap to answer the call`
66
+ * getAcceptButtonTitle?: () => `Accept`,
67
+ * getDeclineButtonTitle?: () => `Decline`,
68
+ * }
98
69
  */
99
- subtitleTransformer?: (call_cid: string, incoming: boolean) => string;
70
+ incomingCallNotificationTextGetters?: {
71
+ getTitle: (createdUserName: string) => string;
72
+ getBody: (createdUserName: string) => string;
73
+ getAcceptButtonTitle?: () => string;
74
+ getDeclineButtonTitle?: () => string;
75
+ };
100
76
  /**
101
77
  * Functions to create the texts shown in the notification for non ringing calls in Android.
102
78
  * @example
@@ -122,16 +98,6 @@ export type StreamVideoConfig = {
122
98
  getBody: (type: NonRingingPushEvent, createdUserName: string) => string;
123
99
  };
124
100
  };
125
- /**
126
- * Whether to enable ongoing calls.
127
- * @default false
128
- */
129
- enableOngoingCalls?: boolean;
130
- /**
131
- * Whether to reject calls when the user is busy.
132
- * @default false
133
- */
134
- shouldRejectCallWhenBusy?: boolean;
135
101
  /**
136
102
  * This function is used to create a custom video client.
137
103
  * This is used create a video client for incoming calls in the background and inform call events to the server.
@@ -151,6 +117,12 @@ export type StreamVideoConfig = {
151
117
  * }
152
118
  */
153
119
  createStreamVideoClient: () => Promise<StreamVideoClient | undefined>;
120
+ /** @deprecated This method will be removed in the future. Please watch for incoming and outgoing calls in the root component of your app.
121
+ Please see https://getstream.io/video/docs/react-native/advanced/ringing-calls/#watch-for-incoming-and-outgoing-calls for more information */
122
+ navigateAcceptCall?: () => void;
123
+ /** @deprecated This method will be removed in the future. Please watch for incoming and outgoing calls in the root component of your app.
124
+ Please see https://getstream.io/video/docs/react-native/advanced/ringing-calls/#watch-for-incoming-and-outgoing-calls for more information */
125
+ navigateToIncomingCall?: () => void;
154
126
  /** Callback that is called when a non ringing push notification was tapped */
155
127
  onTapNonRingingCallNotification?: (call_cid: string, type: NonRingingPushEvent) => void;
156
128
  };
@@ -159,11 +131,14 @@ export type StreamVideoConfig = {
159
131
  /**
160
132
  * The notification channel to keep call alive in the background for Android using a foreground service.
161
133
  */
162
- channel: Omit<AndroidChannelConfig, 'sound' | 'vibration'>;
134
+ channel: AndroidChannel;
163
135
  /**
164
136
  * The texts shown in the notification to keep call alive in the background
165
137
  */
166
- notificationTexts: KeepAliveAndroidNotificationTexts;
138
+ notificationTexts: {
139
+ title: string;
140
+ body: string;
141
+ };
167
142
  /**
168
143
  * The task to run in the foreground service
169
144
  * The task must resolve a promise once complete
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/utils/StreamVideoRN/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EACzB,iBAAiB,EACjB,KAAK,IAAI,EACV,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,MAAM,oBA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E;QAC9E,+BAA+B,CAAC,EAAE,CAChC,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,mBAAmB,KACtB,IAAI,CAAC;KACX,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;YACF;;;eAGG;YACH,SAAS,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;SAC1C,CAAC;KACH,CAAC;CACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"registerSDKGlobals.d.ts","sourceRoot":"","sources":["../../../../src/utils/internal/registerSDKGlobals.ts"],"names":[],"mappings":"AAoEA,wBAAgB,kBAAkB,SAIjC"}
1
+ {"version":3,"file":"registerSDKGlobals.d.ts","sourceRoot":"","sources":["../../../../src/utils/internal/registerSDKGlobals.ts"],"names":[],"mappings":"AA4CA,wBAAgB,kBAAkB,SAIjC"}
@@ -11,8 +11,9 @@ export declare function initAndroidPushToken(client: StreamVideoClient, pushConf
11
11
  * For Ringing and Non-Ringing calls.
12
12
  */
13
13
  export declare const firebaseDataHandler: (data: FirebaseMessagingTypes.RemoteMessage["data"]) => Promise<void>;
14
- export declare const onAndroidNotifeeEvent: ({ event }: {
14
+ export declare const onAndroidNotifeeEvent: ({ event, isBackground, }: {
15
15
  event: Event;
16
+ isBackground: boolean;
16
17
  }) => Promise<void>;
17
18
  export {};
18
19
  //# sourceMappingURL=android.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"android.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/android.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,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4BAA4B;AAC5B,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,iBAAiB,EACzB,UAAU,EAAE,UAAU,EACtB,sBAAsB,EAAE,CAAC,WAAW,EAAE,MAAM,IAAI,KAAK,IAAI,iBAmE1D;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAC9B,MAAM,sBAAsB,CAAC,aAAa,CAAC,MAAM,CAAC,kBAuRnD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAU,0BAGzC;IACD,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;CACvB,kBA2GA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/internal/ios.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAI9D,eAAO,MAAM,0BAA0B,GACrC,cAAc,GAAG,EACjB,YAAY,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,kBAyGnD,CAAC"}
1
+ {"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/internal/ios.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAG9D,eAAO,MAAM,0BAA0B,GACrC,cAAc,GAAG,EACjB,YAAY,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,kBAuHnD,CAAC"}
@@ -29,4 +29,16 @@ export declare const pushAndroidBackgroundDeliveredIncomingCallCId$: BehaviorSub
29
29
  * Note: it should be subscribed only when a user has connected to the websocket of Stream
30
30
  */
31
31
  export declare const pushRejectedIncomingCallCId$: BehaviorSubject<string | undefined>;
32
+ /**
33
+ * This rxjs subject is used to store the call cid of the incoming call from ios voip pushkit notification
34
+ */
35
+ export declare const voipPushNotificationCallCId$: BehaviorSubject<string | undefined>;
36
+ /** The pair of cid of a call and its corresponding uuid created in the native side */
37
+ type CallkeepMap = {
38
+ uuid: string;
39
+ cid: string;
40
+ };
41
+ export declare const voipCallkeepCallOnForegroundMap$: BehaviorSubject<CallkeepMap | undefined>;
42
+ export declare const voipCallkeepAcceptedCallOnNativeDialerMap$: BehaviorSubject<CallkeepMap | undefined>;
43
+ export {};
32
44
  //# sourceMappingURL=rxSubjects.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rxSubjects.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/internal/rxSubjects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAErE;;;GAGG;AACH,eAAO,MAAM,uBAAuB;SAC3B,MAAM;UAAQ,mBAAmB;cAC9B,CAAC;AAEb;;;GAGG;AACH,eAAO,MAAM,4BAA4B,qCAE7B,CAAC;AAEb;;;GAGG;AACH,eAAO,MAAM,0BAA0B,qCAE3B,CAAC;AAEb;;;;GAIG;AACH,eAAO,MAAM,8CAA8C,qCACP,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,4BAA4B,qCAE7B,CAAC"}
1
+ {"version":3,"file":"rxSubjects.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/internal/rxSubjects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAErE;;;GAGG;AACH,eAAO,MAAM,uBAAuB;SAC3B,MAAM;UAAQ,mBAAmB;cAC9B,CAAC;AAEb;;;GAGG;AACH,eAAO,MAAM,4BAA4B,qCAE7B,CAAC;AAEb;;;GAGG;AACH,eAAO,MAAM,0BAA0B,qCAE3B,CAAC;AAEb;;;;GAIG;AACH,eAAO,MAAM,8CAA8C,qCACP,CAAC;AAErD;;;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"}
@@ -10,7 +10,7 @@ type CanAddPushWSSubscriptionsRef = {
10
10
  */
11
11
  export declare const shouldCallBeEnded: (callFromPush: Call, created_by_id: string | undefined, receiver_id: string | undefined) => {
12
12
  mustEndCall: boolean;
13
- endCallReason: "rejected" | "answeredElsewhere" | "canceled" | "unknown";
13
+ callkeepReason: number;
14
14
  };
15
15
  export declare const processCallFromPushInBackground: (pushConfig: PushConfig, call_cid: string, action: Parameters<typeof processCallFromPush>[2]) => Promise<void>;
16
16
  /**
@@ -39,12 +39,5 @@ export declare const clearPushWSEventSubscriptions: (call_cid: string) => void;
39
39
  * It is used to avoid adding the push WS subscriptions when the client is connected to WS in the foreground
40
40
  */
41
41
  export declare const canAddPushWSSubscriptionsRef: CanAddPushWSSubscriptionsRef;
42
- export declare const canListenToWS: () => boolean;
43
- export declare const shouldCallBeClosed: (call: Call, pushData: {
44
- [key: string]: string | object;
45
- }) => {
46
- mustEndCall: boolean;
47
- endCallReason: "rejected" | "answeredElsewhere" | "canceled" | "unknown";
48
- };
49
42
  export {};
50
43
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/internal/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EAEJ,iBAAiB,EAElB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AAMnC,KAAK,UAAU,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAEzD,KAAK,4BAA4B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EzD,KAAK,4BAA4B,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAC5B,cAAc,IAAI,EAClB,eAAe,MAAM,GAAG,SAAS,EACjC,aAAa,MAAM,GAAG,SAAS;;;CAwChC,CAAC;AAMF,eAAO,MAAM,+BAA+B,GAC1C,YAAY,UAAU,EACtB,UAAU,MAAM,EAChB,QAAQ,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,kBAiBlD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,GAC9B,QAAQ,iBAAiB,EACzB,UAAU,MAAM,EAChB,QAAQ,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,qBAAqB,EAChE,YAAY,UAAU,kBAoCvB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,GACzC,QAAQ,iBAAiB,EACzB,UAAU,MAAM,EAChB,4BAA4B,mBAAmB,kBAqBhD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,GAAI,UAAU,MAAM,SAM7D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE,4BAE1C,CAAC"}
@@ -4,8 +4,9 @@ import { StreamVideoClient } from '@stream-io/video-client';
4
4
  import type { Event } from '@notifee/react-native';
5
5
  type PushConfig = NonNullable<StreamVideoConfig['push']>;
6
6
  export declare const oniOSExpoNotificationEvent: (event: ExpoNotification) => void;
7
- export declare const oniOSNotifeeEvent: ({ event }: {
7
+ export declare const oniOSNotifeeEvent: ({ event, }: {
8
8
  event: Event;
9
+ isBackground: boolean;
9
10
  }) => void;
10
11
  export declare function onPushNotificationiOSStreamVideoEvent(notification: PushNotificationiOSType): void;
11
12
  /** Send token to stream */
@@ -1 +1 @@
1
- {"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/ios.ts"],"names":[],"mappings":"AACA,OAAO,KAA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E,OAAO,CAAC;CACvB,SAkBA,CAAC;AAEF,wBAAgB,qCAAqC,CACnD,YAAY,EAAE,uBAAuB,QAkCtC;AAED,2BAA2B;AAC3B,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,iBAAiB,EACzB,UAAU,EAAE,UAAU,EACtB,sBAAsB,EAAE,CAAC,WAAW,EAAE,MAAM,IAAI,KAAK,IAAI,iBAiF1D"}
@@ -0,0 +1,3 @@
1
+ export type RNCallKeepType = typeof import('react-native-callkeep').default;
2
+ export declare function getCallKeepLib(): typeof import("react-native-callkeep").default;
3
+ //# sourceMappingURL=callkeep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callkeep.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/callkeep.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,cAAc,uBAAuB,EAAE,OAAO,CAAC;AAQ5E,wBAAgB,cAAc,mDAO7B"}
@@ -1,20 +1,6 @@
1
1
  import { type Type } from './lib';
2
2
  export type { FirebaseMessagingTypes } from '@react-native-firebase/messaging';
3
3
  export type FirebaseMessagingType = Type;
4
- export declare function getFirebaseMessagingLib(): {
5
- (app?: import("@react-native-firebase/app").ReactNativeFirebase.FirebaseApp): import("@react-native-firebase/messaging").Messaging;
6
- readonly SDK_VERSION: string;
7
- } & import("@react-native-firebase/messaging/dist/typescript/commonjs/lib/types/messaging").Statics & {
8
- messaging: import("@react-native-firebase/app").ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<import("@react-native-firebase/messaging").Messaging, import("@react-native-firebase/messaging/dist/typescript/commonjs/lib/types/messaging").Statics>;
9
- firebase: import("@react-native-firebase/app").ReactNativeFirebase.Module;
10
- app(name?: string): import("@react-native-firebase/app").ReactNativeFirebase.FirebaseApp;
11
- };
12
- export declare function getFirebaseMessagingLibNoThrow(isExpo: boolean): ({
13
- (app?: import("@react-native-firebase/app").ReactNativeFirebase.FirebaseApp): import("@react-native-firebase/messaging").Messaging;
14
- readonly SDK_VERSION: string;
15
- } & import("@react-native-firebase/messaging/dist/typescript/commonjs/lib/types/messaging").Statics & {
16
- messaging: import("@react-native-firebase/app").ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<import("@react-native-firebase/messaging").Messaging, import("@react-native-firebase/messaging/dist/typescript/commonjs/lib/types/messaging").Statics>;
17
- firebase: import("@react-native-firebase/app").ReactNativeFirebase.Module;
18
- app(name?: string): import("@react-native-firebase/app").ReactNativeFirebase.FirebaseApp;
19
- }) | undefined;
4
+ 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>;
5
+ export declare function getFirebaseMessagingLibNoThrow(isExpo: boolean): import("@react-native-firebase/app").ReactNativeFirebase.FirebaseModuleWithStatics<import("@react-native-firebase/messaging").FirebaseMessagingTypes.Module, import("@react-native-firebase/messaging").FirebaseMessagingTypes.Statics> | undefined;
20
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/push/libs/firebaseMessaging/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAGvC,YAAY,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC;AAKzC,wBAAgB,uBAAuB;;;;;;;EAQtC;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,OAAO;;;;;;;eAc7D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/push/libs/firebaseMessaging/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAGvC,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,uPAc7D"}
@@ -1,6 +1,7 @@
1
1
  export * from './expoNotifications';
2
2
  export * from './firebaseMessaging';
3
3
  export * from './iosPushNotification';
4
+ export * from './voipPushNotification';
5
+ export * from './callkeep';
4
6
  export * from './notifee';
5
- export * from './callingx';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC"}
@@ -19,6 +19,7 @@ declare enum AndroidForegroundServiceType {
19
19
  }
20
20
  export declare function getNotifeeLibThrowIfNotInstalledForPush(): typeof import("@notifee/react-native");
21
21
  export declare function getNotifeeLibNoThrowForKeepCallAlive(): typeof import("@notifee/react-native") | undefined;
22
+ export declare function getKeepCallAliveForegroundServiceTypes(): Promise<AndroidForegroundServiceType[]>;
22
23
  export declare function getIncomingCallForegroundServiceTypes(): AndroidForegroundServiceType[];
23
24
  export {};
24
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/push/libs/notifee/index.ts"],"names":[],"mappings":"AAAA,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,uDAEnD;AAED,wBAAgB,qCAAqC,mCAKpD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/utils/push/libs/notifee/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AAGvC,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,uDAQnD;AAED,wBAAsB,sCAAsC,4CAiB3D;AAED,wBAAgB,qCAAqC,mCAKpD"}
@@ -0,0 +1,3 @@
1
+ export type VoipPushNotificationType = typeof import('react-native-voip-push-notification').default;
2
+ export declare function getVoipPushNotificationLib(): typeof import("react-native-voip-push-notification").default;
3
+ //# sourceMappingURL=voipPushNotification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"voipPushNotification.d.ts","sourceRoot":"","sources":["../../../../../src/utils/push/libs/voipPushNotification.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAClC,cAAc,qCAAqC,EAAE,OAAO,CAAC;AAQ/D,wBAAgB,0BAA0B,iEAOzC"}
@@ -0,0 +1,6 @@
1
+ import type { StreamVideoConfig } from '../StreamVideoRN/types';
2
+ /**
3
+ * This hook is used to listen to callkeep events and do the necessary actions
4
+ */
5
+ export declare function setupIosCallKeepEvents(pushConfig: NonNullable<StreamVideoConfig['push']>): void;
6
+ //# sourceMappingURL=setupIosCallKeepEvents.d.ts.map
@@ -0,0 +1 @@
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;AAWhE;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,QA4KnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"setupIosVoipPushEvents.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/setupIosVoipPushEvents.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAI3D,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,QA4BnD"}
1
+ {"version":3,"file":"setupIosVoipPushEvents.d.ts","sourceRoot":"","sources":["../../../../src/utils/push/setupIosVoipPushEvents.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAG3D,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,QAyBnD"}
@@ -1,2 +1,2 @@
1
- export declare const version = "1.29.0-beta.3";
1
+ export declare const version = "1.29.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,kBAAkB,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}