From f1714bc84c5328944ccc88737e0f5365dcea0025 Mon Sep 17 00:00:00 2001 From: YuliaGrigorieva Date: Fri, 22 Sep 2023 13:16:06 -0400 Subject: [PATCH] Update native modules to use Voximplant Android SDK 2.37.0 and Voximplant iOS SDK 2.50.0, update changelog and sdk version to 1.40.0 --- CHANGELOG.md | 17 +++++++++++------ android/build.gradle | 2 +- package.json | 2 +- react-native-voximplant.podspec | 4 ++-- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6ec186..77876c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,20 @@ # Changelog +### 1.40.0 +- Update native Android and iOS modules to use Voximplant Android SDK 2.37.0 and Voximplant iOS SDK 2.50.0 +- Introduce new API to handle video receive stop on a remote video stream and its reason (see 1.40.0-beta changelog) + ### 1.40.0-beta - This is a beta SDK version. Not recommended for production use. - Update native Android and iOS modules to use Voximplant Android SDK 2.37.0-beta and Voximplant iOS SDK 2.50.0-beta -- Endpoint.startReceiving and Endpoint.stopReceiving API return type void instead of Promise. The result of the API call is now provided via events: - - EndpointEvents.StartReceivingVideoStream - - EndpointEvents.StopReceivingVideoStream +- [Endpoint.startReceiving](https://voximplant.com/docs/references/reactnative/voximplant/endpoint#startreceiving) and [Endpoint.stopReceiving](https://voximplant.com/docs/references/reactnative/voximplant/endpoint#stopreceiving) API return type void instead of Promise. The result of the API call is now provided via events: + - [EndpointEvents.StartReceivingVideoStream](https://voximplant.com/docs/references/reactnative/voximplant/endpointeventtypes#startreceivevideostream) + - [EndpointEvents.StopReceivingVideoStream](https://voximplant.com/docs/references/reactnative/voximplant/endpointeventtypes#stopreceivevideostream) - Introduce new API to handle video receive stop on a remote video stream: - - EndpointEvents.StartReceivingVideoStream - - EndpointEvents.StopReceivingVideoStream -- Introduce new API VideoStreamReceiveStopReason to handle the reason for video receive stop on a remote video stream. + - [EndpointEvents.StartReceivingVideoStream](https://voximplant.com/docs/references/reactnative/voximplant/endpointeventtypes#startreceivevideostream) + - [EndpointEvents.StopReceivingVideoStream](https://voximplant.com/docs/references/reactnative/voximplant/endpointeventtypes#stopreceivevideostream) +- Introduce new API [VideoStreamReceiveStopReason](https://voximplant.com/docs/references/reactnative/voximplant/videostreamreceivestopreason) to handle the reason for video receive stop on a remote video stream. + ### 1.38.0 - Update native Android and iOS modules to use Voximplant Android SDK 2.35.3 and Voximplant iOS SDK 2.48.2 diff --git a/android/build.gradle b/android/build.gradle index 0fc1621..6eacb8b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -48,7 +48,7 @@ repositories { dependencies { implementation fileTree(dir: "libs", include: ["*.jar"]) implementation "com.facebook.react:react-native:+" - implementation "com.voximplant:voximplant-sdk:2.37.0-beta" + implementation "com.voximplant:voximplant-sdk:2.37.0" implementation "androidx.annotation:annotation:1.5.0" } diff --git a/package.json b/package.json index 23e175a..e93d66a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-voximplant", - "version": "1.40.0-beta", + "version": "1.40.0", "description": "VoxImplant Mobile SDK for embedding voice and video communication into React Native apps.", "nativePackage": true, "keywords": [ diff --git a/react-native-voximplant.podspec b/react-native-voximplant.podspec index 5f820b2..ba44c0a 100644 --- a/react-native-voximplant.podspec +++ b/react-native-voximplant.podspec @@ -10,8 +10,8 @@ Pod::Spec.new do |s| s.homepage = 'https://github.com/voximplant/react-native-voximplant' s.source = {:path => './ios/'} s.summary = 'RN voximplant' - s.version = '1.40.0-beta' - s.dependency 'VoxImplantSDK', '2.50.0-beta' + s.version = '1.40.0' + s.dependency 'VoxImplantSDK', '2.50.0' if fabric_enabled s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1" s.pod_target_xcconfig = {