@stream-io/video-react-native-sdk 0.0.1-alpha.395 → 0.0.1-alpha.397

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
+ ## [0.0.1-alpha.397](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-0.0.1-alpha.396...@stream-io/video-react-native-sdk-0.0.1-alpha.397) (2023-08-29)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * drop permission requests component ([#1005](https://github.com/GetStream/stream-video-js/issues/1005)) ([0f65717](https://github.com/GetStream/stream-video-js/commit/0f65717353dc013a0cc5c50429df871ddd99b465))
11
+
12
+
13
+
14
+ ## [0.0.1-alpha.396](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-0.0.1-alpha.395...@stream-io/video-react-native-sdk-0.0.1-alpha.396) (2023-08-29)
15
+
16
+
17
+
5
18
  ## [0.0.1-alpha.395](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-0.0.1-alpha.394...@stream-io/video-react-native-sdk-0.0.1-alpha.395) (2023-08-29)
6
19
 
7
20
 
@@ -19,7 +19,6 @@ const MediaStreamManagement_1 = require("./MediaStreamManagement");
19
19
  const StreamCall = ({ call, mediaDeviceInitialState = {}, children, }) => {
20
20
  return (<video_react_bindings_1.StreamCallProvider call={call}>
21
21
  <MediaStreamManagement_1.MediaStreamManagement {...mediaDeviceInitialState}>
22
- <PermissionRequest />
23
22
  <AndroidKeepCallAlive />
24
23
  <IosInformCallkeepCallEnd />
25
24
  {children}
@@ -27,14 +26,6 @@ const StreamCall = ({ call, mediaDeviceInitialState = {}, children, }) => {
27
26
  </video_react_bindings_1.StreamCallProvider>);
28
27
  };
29
28
  exports.StreamCall = StreamCall;
30
- /**
31
- * This is a renderless component that is used to handler the permission requests using the usePermissionRequest hook.
32
- * usePermissionRequest needs to be called as a child of StreamCallProvider.
33
- */
34
- const PermissionRequest = () => {
35
- (0, hooks_1.usePermissionRequest)();
36
- return null;
37
- };
38
29
  /**
39
30
  * This is a renderless component is used to keep the call alive on Android device using useAndroidKeepCallAliveEffect.
40
31
  * useAndroidKeepCallAliveEffect needs to called inside a child of StreamCallProvider.
@@ -1 +1 @@
1
- {"version":3,"file":"StreamCall.js","sourceRoot":"","sources":["../../../src/providers/StreamCall.tsx"],"names":[],"mappings":";;;;;;AAAA,0EAAqE;AACrE,kDAAiD;AAEjD,oCAA+E;AAC/E,6GAA0G;AAC1G,mEAGiC;AAajC;;;;;;GAMG;AACI,MAAM,UAAU,GAAG,CAAC,EACzB,IAAI,EACJ,uBAAuB,GAAG,EAAE,EAC5B,QAAQ,GAC2B,EAAE,EAAE;IACvC,OAAO,CACL,CAAC,yCAAkB,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAC7B;MAAA,CAAC,6CAAqB,CAAC,IAAI,uBAAuB,CAAC,CACjD;QAAA,CAAC,iBAAiB,CAAC,AAAD,EAClB;QAAA,CAAC,oBAAoB,CAAC,AAAD,EACrB;QAAA,CAAC,wBAAwB,CAAC,AAAD,EACzB;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,6CAAqB,CACzB;IAAA,EAAE,yCAAkB,CAAC,CACtB,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,UAAU,cAerB;AAEF;;;GAGG;AACH,MAAM,iBAAiB,GAAG,GAAG,EAAE;IAC7B,IAAA,4BAAoB,GAAE,CAAC;IACvB,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,oBAAoB,GAAG,GAAG,EAAE;IAChC,IAAA,qCAA6B,GAAE,CAAC;IAChC,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,wBAAwB,GAAG,GAAG,EAAE;IACpC,IAAA,2EAAoC,GAAE,CAAC;IACvC,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
1
+ {"version":3,"file":"StreamCall.js","sourceRoot":"","sources":["../../../src/providers/StreamCall.tsx"],"names":[],"mappings":";;;;;;AAAA,0EAAqE;AACrE,kDAAiD;AAEjD,oCAAyD;AACzD,6GAA0G;AAC1G,mEAGiC;AAajC;;;;;;GAMG;AACI,MAAM,UAAU,GAAG,CAAC,EACzB,IAAI,EACJ,uBAAuB,GAAG,EAAE,EAC5B,QAAQ,GAC2B,EAAE,EAAE;IACvC,OAAO,CACL,CAAC,yCAAkB,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAC7B;MAAA,CAAC,6CAAqB,CAAC,IAAI,uBAAuB,CAAC,CACjD;QAAA,CAAC,oBAAoB,CAAC,AAAD,EACrB;QAAA,CAAC,wBAAwB,CAAC,AAAD,EACzB;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,6CAAqB,CACzB;IAAA,EAAE,yCAAkB,CAAC,CACtB,CAAC;AACJ,CAAC,CAAC;AAdW,QAAA,UAAU,cAcrB;AAEF;;;GAGG;AACH,MAAM,oBAAoB,GAAG,GAAG,EAAE;IAChC,IAAA,qCAA6B,GAAE,CAAC;IAChC,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,wBAAwB,GAAG,GAAG,EAAE;IACpC,IAAA,2EAAoC,GAAE,CAAC;IACvC,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.0.1-alpha.395";
1
+ export declare const version = "0.0.1-alpha.397";
package/dist/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '0.0.1-alpha.395';
4
+ exports.version = '0.0.1-alpha.397';
5
5
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-native-sdk",
3
- "version": "0.0.1-alpha.395",
3
+ "version": "0.0.1-alpha.397",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,7 +1,7 @@
1
1
  import { StreamCallProvider } from '@stream-io/video-react-bindings';
2
2
  import React, { PropsWithChildren } from 'react';
3
3
  import { Call } from '@stream-io/video-client';
4
- import { useAndroidKeepCallAliveEffect, usePermissionRequest } from '../hooks';
4
+ import { useAndroidKeepCallAliveEffect } from '../hooks';
5
5
  import { useIosCallkeepWithCallingStateEffect } from '../hooks/push/useIosCallkeepWithCallingStateEffect';
6
6
  import {
7
7
  MediaDevicesInitialState,
@@ -34,7 +34,6 @@ export const StreamCall = ({
34
34
  return (
35
35
  <StreamCallProvider call={call}>
36
36
  <MediaStreamManagement {...mediaDeviceInitialState}>
37
- <PermissionRequest />
38
37
  <AndroidKeepCallAlive />
39
38
  <IosInformCallkeepCallEnd />
40
39
  {children}
@@ -43,15 +42,6 @@ export const StreamCall = ({
43
42
  );
44
43
  };
45
44
 
46
- /**
47
- * This is a renderless component that is used to handler the permission requests using the usePermissionRequest hook.
48
- * usePermissionRequest needs to be called as a child of StreamCallProvider.
49
- */
50
- const PermissionRequest = () => {
51
- usePermissionRequest();
52
- return null;
53
- };
54
-
55
45
  /**
56
46
  * This is a renderless component is used to keep the call alive on Android device using useAndroidKeepCallAliveEffect.
57
47
  * useAndroidKeepCallAliveEffect needs to called inside a child of StreamCallProvider.