@stream-io/video-react-native-sdk 0.1.7 → 0.1.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,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [0.1.8](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-0.1.7...@stream-io/video-react-native-sdk-0.1.8) (2023-10-13)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **react-native:** misc expo config plugin bugs ([bba3f84](https://github.com/GetStream/stream-video-js/commit/bba3f8437cb0f7a662adef4e89fbc487225a5ed5))
11
+
5
12
  ### [0.1.7](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-native-sdk-0.1.6...@stream-io/video-react-native-sdk-0.1.7) (2023-10-13)
6
13
 
7
14
  ### Dependency Updates
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.version = void 0;
7
- const version = '0.1.7';
7
+ const version = '0.1.8';
8
8
  exports.version = version;
9
9
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export const version = '0.1.7';
1
+ export const version = '0.1.8';
2
2
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const version = "0.1.7";
1
+ export declare const version = "0.1.8";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -5,4 +5,4 @@ export type RingingPushNotifications = {
5
5
  export type ConfigProps = {
6
6
  ringingPushNotifications?: RingingPushNotifications;
7
7
  enableNonRingingPushNotifications?: boolean;
8
- };
8
+ } | undefined;
@@ -11,9 +11,6 @@ android {
11
11
  compileOptions {
12
12
  sourceCompatibility JavaVersion.VERSION_1_8
13
13
  targetCompatibility JavaVersion.VERSION_11
14
- }
15
- kotlinOptions {
16
- jvmTarget = "1.8"
17
14
  }`);
18
15
  return config;
19
16
  });
@@ -11,7 +11,7 @@ const DID_UPDATE_PUSH_CREDENTIALS = 'pushRegistry:didUpdatePushCredentials:forTy
11
11
  const DID_RECEIVE_INCOMING_PUSH = 'pushRegistry:didReceiveIncomingPushWithPayload:forType:withCompletionHandler:';
12
12
  const withPushAppDelegate = (configuration, props) => {
13
13
  return (0, config_plugins_1.withAppDelegate)(configuration, (config) => {
14
- if (!props.ringingPushNotifications) {
14
+ if (!props?.ringingPushNotifications) {
15
15
  // user doesnt want to use ringing push notifications, so quit early
16
16
  return config;
17
17
  }
@@ -9,7 +9,7 @@ const withStreamVideoReactNativeSDKiOSInfoPList = (configuration, props) => {
9
9
  if (!config.modResults.UIBackgroundModes.includes('audio')) {
10
10
  config.modResults.UIBackgroundModes.push('audio');
11
11
  }
12
- if (props.enableNonRingingPushNotifications) {
12
+ if (props?.enableNonRingingPushNotifications) {
13
13
  if (!config.modResults.UIBackgroundModes.includes('remote-notification')) {
14
14
  config.modResults.UIBackgroundModes.push('remote-notification');
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-native-sdk",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "module": "dist/module/index.js",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '0.1.7';
1
+ export const version = '0.1.8';