@stream-io/video-react-native-sdk 1.11.1 → 1.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.11.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.11.2...@stream-io/video-react-native-sdk-1.11.3) (2025-04-15)
6
+
7
+ ### Dependency Updates
8
+
9
+ - `@stream-io/video-client` updated to version `1.19.3`
10
+ - `@stream-io/video-react-bindings` updated to version `1.5.15`
11
+
12
+ ## [1.11.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.11.1...@stream-io/video-react-native-sdk-1.11.2) (2025-04-11)
13
+
14
+ ### Dependency Updates
15
+
16
+ - `@stream-io/video-client` updated to version `1.19.2`
17
+ - `@stream-io/video-react-bindings` updated to version `1.5.14`
18
+
19
+ ### Bug Fixes
20
+
21
+ - race condition on Expo iOS when processing incoming voip push notification ([#1757](https://github.com/GetStream/stream-video-js/issues/1757)) ([cd5542b](https://github.com/GetStream/stream-video-js/commit/cd5542b6624e3aa731e7f9f63c7b291f95f7ab10))
22
+
5
23
  ## [1.11.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.11.0...@stream-io/video-react-native-sdk-1.11.1) (2025-04-09)
6
24
 
7
25
  ### Dependency Updates
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.version = void 0;
7
- const version = exports.version = '1.11.1';
7
+ const version = exports.version = '1.11.3';
8
8
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export const version = '1.11.1';
1
+ export const version = '1.11.3';
2
2
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const version = "1.11.1";
1
+ export declare const version = "1.11.3";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -130,19 +130,21 @@ function addAudioSessionMethods(contents) {
130
130
  }
131
131
  function addDidReceiveIncomingPushCallback(contents) {
132
132
  const onIncomingPush = `
133
- // send event to JS
134
- [RNVoipPushNotificationManager didReceiveIncomingPushWithPayload:payload forType:(NSString *)type];
135
-
136
- // process the payload
133
+ // process the payload and store it in the native module's cache
137
134
  NSDictionary *stream = payload.dictionaryPayload[@"stream"];
138
135
  NSString *uuid = [[NSUUID UUID] UUIDString];
139
136
  NSString *createdCallerName = stream[@"created_by_display_name"];
140
137
  NSString *cid = stream[@"call_cid"];
141
138
 
139
+ // store the call cid and uuid in the native module's cache
142
140
  [StreamVideoReactNative registerIncomingCall:cid uuid:uuid];
143
141
 
142
+ // set the completion handler - this one is called by the JS SDK
144
143
  [RNVoipPushNotificationManager addCompletionHandler:uuid completionHandler:completion];
145
144
 
145
+ // send event to JS - the JS SDK will handle the rest and call the 'completionHandler'
146
+ [RNVoipPushNotificationManager didReceiveIncomingPushWithPayload:payload forType:(NSString *)type];
147
+
146
148
  // display the incoming call notification
147
149
  [RNCallKeep reportNewIncomingCall: uuid
148
150
  handle: createdCallerName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-native-sdk",
3
- "version": "1.11.1",
3
+ "version": "1.11.3",
4
4
  "description": "Stream Video SDK for React Native",
5
5
  "author": "https://getstream.io",
6
6
  "homepage": "https://getstream.io/video/docs/react-native/",
@@ -45,8 +45,8 @@
45
45
  "!**/.*"
46
46
  ],
47
47
  "dependencies": {
48
- "@stream-io/video-client": "1.19.1",
49
- "@stream-io/video-react-bindings": "1.5.13",
48
+ "@stream-io/video-client": "1.19.3",
49
+ "@stream-io/video-react-bindings": "1.5.15",
50
50
  "intl-pluralrules": "2.0.1",
51
51
  "lodash.merge": "^4.6.2",
52
52
  "react-native-url-polyfill": "1.3.0",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '1.11.1';
1
+ export const version = '1.11.3';