Skip to content

Commit

Permalink
Merge pull request #764 from opentok/develop
Browse files Browse the repository at this point in the history
v2.28
  • Loading branch information
marinaserranomontes authored Jul 12, 2024
2 parents 93b005b + dc1eafc commit e4952a4
Show file tree
Hide file tree
Showing 7 changed files with 1,129 additions and 935 deletions.
3 changes: 3 additions & 0 deletions @types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,9 @@ declare module "opentok-react-native" {

/**
* Sets video transformers for the publisher (or clears them if passed an empty array).
* To use this method, add `pod 'VonageClientSDKVideoTransformers'` to your
* Podfile and add `implementation "com.vonage:client-sdk-video-transformers:2.28.0"`
* to your your app/build.gradle file.
*/
setVideoTransformers: (transformers: Array<{
name: string,
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 2.28.0 (July 2024)

- [Update]: This version updates the Vonage Video Android SDK and iOS SDK to version 2.28.0.

- [Update]: The Vonage Video iOS and Android SDKs loaded by this version are reduced in size by removing Vonage Media Library code.

**Important:** In order to use the `OTPublisher.setVideoTransformers()` method (which uses the Vonage Media Library), you must add the Vonage Media Library separately from the Vonage Video React Native SDK. For details, see [Vonage Media Library integration](https://tokbox.com/developer/guides/vonage-media-processor/react-native/#vonage-media-library-integration).

- [Update]: This version adds support for reading the Certificate Authority certificates in the trust store of the host so that it can use them as valid root certificates when connecting to OpenTok services.

- [Update]: This version adds support for Apple's requirement of the [signature for the SDK](https://developer.apple.com/support/third-party-SDK-requirements).

- [Update]: This version updates a vulnerable Node module (braces).

# 2.27.6 (June 2024)

- [Fix]: This version fixes some iOS crashes that were introduced in version 2.27.5. Fixes issue #757.
Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ See the system requirements for the [OpenTok Android SDK](https://tokbox.com/dev
```
target '<YourProjectName>' do
# Pods for <YourProject>
pod 'OTXCFramework', '2.27.3'
pod 'OTXCFramework', '2.28.0'
end
```
Expand All @@ -63,6 +63,12 @@ See the system requirements for the [OpenTok Android SDK](https://tokbox.com/dev
When you create an archive of your app, the [privacy manifest settings required by Apple's App store](https://developer.apple.com/support/third-party-SDK-requirements) are added automatically with this version of the OpenTok React Native SDK.
3. If your app will use the `OTPublisher.setVideoTransformers()` method, you need to include the following in your Podfile:
```
pod 'VonageClientSDKVideoTransformers'
```
If you try to archive the app and it fails, please do the following:
1. Go to *Target*.
Expand Down Expand Up @@ -121,6 +127,12 @@ If you try to archive the app and it fails, please do the following:
<uses-permission android:name="android.permission.CAMERA" tools:node="remove"/>
```
3. If your app will use the `OTPublisher.setVideoTransformers()` method, you need to include the following in your app/build.gradle file:
```
implementation "com.vonage:client-sdk-video-transformers:2.28.0"
```
#### Bintray sunset
Bintray support has ended (official announcement: [https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/](https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/)). In your app build.gradle file you need to remove reference to `jcenter` and replace it with `mavenCentral`. Example:
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ android {
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.facebook.react:react-native:${_reactNativeVersion}" // From node_modules
implementation 'com.opentok.android:opentok-android-sdk:2.27.1'
implementation 'com.opentok.android:opentok-android-sdk:2.28.0'
}
2 changes: 1 addition & 1 deletion opentok-react-native.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Pod::Spec.new do |s|
s.source_files = "ios/**/*.{h,m,swift}"

s.dependency 'React'
s.dependency 'OTXCFramework','2.27.3'
s.dependency 'OTXCFramework','2.28.0'
end
Loading

0 comments on commit e4952a4

Please sign in to comment.