@stream-io/video-react-native-sdk 1.0.6 → 1.0.8

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,19 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.0.8](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.0.7...@stream-io/video-react-native-sdk-1.0.8) (2024-09-13)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `@stream-io/video-client` updated to version `1.6.4`
10
+ * `@stream-io/video-react-bindings` updated to version `1.0.4`
11
+ ## [1.0.7](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.0.6...@stream-io/video-react-native-sdk-1.0.7) (2024-09-11)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * replace dataSync with shortService for android foreground service type ([#1485](https://github.com/GetStream/stream-video-js/issues/1485)) ([2681535](https://github.com/GetStream/stream-video-js/commit/26815357f66b43f94e1d939fb30a6cdb85c77a5f))
17
+
5
18
  ## [1.0.6](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-1.0.5...@stream-io/video-react-native-sdk-1.0.6) (2024-09-11)
6
19
 
7
20
  ### 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.0.6';
7
+ const version = exports.version = '1.0.8';
8
8
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export const version = '1.0.6';
1
+ export const version = '1.0.8';
2
2
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const version = "1.0.6";
1
+ export declare const version = "1.0.8";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -45,10 +45,10 @@ public class MainApplication extends Application implements ReactApplication {
45
45
  Add service named `app.notifee.core.ForegroundService`.
46
46
 
47
47
  ```xml
48
- <service android:name="app.notifee.core.ForegroundService" android:stopWithTask="true" android:foregroundServiceType="microphone"/>
48
+ <service android:name="app.notifee.core.ForegroundService" android:stopWithTask="true" android:foregroundServiceType="shortService"/>
49
49
  ```
50
50
 
51
- The `@stream-io/video-react-native-sdk` also adds the appropriate android permissions such as `POST_NOTIFICATIONS`, `FOREGROUND_SERVICE`, `FOREGROUND_SERVICE_MICROPHONE`, `BLUETOOTH`, `BLUETOOTH_ADMIN` and `BLUETOOTH_CONNECT` to the `AndroidManifest.xml`.
51
+ The `@stream-io/video-react-native-sdk` also adds the appropriate android permissions such as `POST_NOTIFICATIONS`, `FOREGROUND_SERVICE`, `BLUETOOTH`, `BLUETOOTH_ADMIN` and `BLUETOOTH_CONNECT` to the `AndroidManifest.xml`.
52
52
 
53
53
  ### iOS
54
54
 
@@ -7,9 +7,9 @@ function getNotifeeService() {
7
7
  <service
8
8
  android:name="app.notifee.core.ForegroundService"
9
9
  android:stopWithTask="true"
10
- android:foregroundServiceType="dataSync" />
10
+ android:foregroundServiceType="shortService" />
11
11
  */
12
- const foregroundServiceType = 'dataSync';
12
+ const foregroundServiceType = 'shortService';
13
13
  let head = prefixAndroidKeys({
14
14
  name: 'app.notifee.core.ForegroundService',
15
15
  stopWithTask: 'true',
@@ -9,9 +9,6 @@ const withStreamVideoReactNativeSDKAndroidPermissions = (configuration, props) =
9
9
  ];
10
10
  if (props?.ringingPushNotifications || props?.enableScreenshare) {
11
11
  permissions.push('android.permission.POST_NOTIFICATIONS', 'android.permission.FOREGROUND_SERVICE');
12
- if (props?.ringingPushNotifications) {
13
- permissions.push('android.permission.FOREGROUND_SERVICE_DATA_SYNC');
14
- }
15
12
  if (props?.enableScreenshare) {
16
13
  permissions.push('android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION');
17
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-native-sdk",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "module": "dist/module/index.js",
@@ -46,8 +46,8 @@
46
46
  "!**/.*"
47
47
  ],
48
48
  "dependencies": {
49
- "@stream-io/video-client": "1.6.3",
50
- "@stream-io/video-react-bindings": "1.0.3",
49
+ "@stream-io/video-client": "1.6.4",
50
+ "@stream-io/video-react-bindings": "1.0.4",
51
51
  "intl-pluralrules": "2.0.1",
52
52
  "lodash.merge": "^4.6.2",
53
53
  "react-native-url-polyfill": "1.3.0",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '1.0.6';
1
+ export const version = '1.0.8';