@stream-io/video-react-native-sdk 0.5.0 → 0.5.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.
- package/CHANGELOG.md +7 -0
- package/dist/commonjs/version.js +1 -1
- package/dist/module/version.js +1 -1
- package/dist/typescript/version.d.ts +1 -1
- package/expo-config-plugin/dist/index.js +1 -1
- package/expo-config-plugin/dist/withAndroidPermissions.d.ts +2 -1
- package/expo-config-plugin/dist/withAndroidPermissions.js +9 -4
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
### [0.5.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-0.5.0...@stream-io/video-react-native-sdk-0.5.1) (2024-03-01)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **react-native:** do not add screenshare permissions by default ([6bb3113](https://github.com/GetStream/stream-video-js/commit/6bb3113574f22fe6d5c6c9da41528da7502974ec))
|
|
11
|
+
|
|
5
12
|
## [0.5.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-0.4.3...@stream-io/video-react-native-sdk-0.5.0) (2024-02-26)
|
|
6
13
|
|
|
7
14
|
### Dependency Updates
|
package/dist/commonjs/version.js
CHANGED
package/dist/module/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '0.5.
|
|
1
|
+
export const version = '0.5.1';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "0.5.
|
|
1
|
+
export declare const version = "0.5.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -21,7 +21,7 @@ const withStreamVideoReactNativeSDK = (config, props) => {
|
|
|
21
21
|
() => (0, withiOSInfoPlist_1.default)(config, props),
|
|
22
22
|
() => (0, withIosScreenCapture_1.default)(config, props),
|
|
23
23
|
// android
|
|
24
|
-
withAndroidPermissions_1.default,
|
|
24
|
+
() => (0, withAndroidPermissions_1.default)(config, props),
|
|
25
25
|
withAppBuildGradle_1.default,
|
|
26
26
|
withBuildProperties_1.default,
|
|
27
27
|
() => (0, withAndroidManifest_1.default)(config, props),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
-
|
|
2
|
+
import { ConfigProps } from './common/types';
|
|
3
|
+
declare const withStreamVideoReactNativeSDKAndroidPermissions: ConfigPlugin<ConfigProps>;
|
|
3
4
|
export default withStreamVideoReactNativeSDKAndroidPermissions;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const config_plugins_1 = require("@expo/config-plugins");
|
|
4
|
-
const withStreamVideoReactNativeSDKAndroidPermissions = (
|
|
5
|
-
|
|
6
|
-
'android.permission.POST_NOTIFICATIONS',
|
|
4
|
+
const withStreamVideoReactNativeSDKAndroidPermissions = (configuration, props) => {
|
|
5
|
+
const foregroundServicePermissions = [
|
|
7
6
|
'android.permission.FOREGROUND_SERVICE',
|
|
8
7
|
'android.permission.FOREGROUND_SERVICE_MICROPHONE',
|
|
9
|
-
|
|
8
|
+
];
|
|
9
|
+
if (props?.enableScreenshare) {
|
|
10
|
+
foregroundServicePermissions.push('android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION');
|
|
11
|
+
}
|
|
12
|
+
const config = config_plugins_1.AndroidConfig.Permissions.withPermissions(configuration, [
|
|
13
|
+
'android.permission.POST_NOTIFICATIONS',
|
|
14
|
+
...foregroundServicePermissions,
|
|
10
15
|
'android.permission.BLUETOOTH',
|
|
11
16
|
'android.permission.BLUETOOTH_CONNECT',
|
|
12
17
|
'android.permission.BLUETOOTH_ADMIN',
|
package/package.json
CHANGED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '0.5.
|
|
1
|
+
export const version = '0.5.1';
|