Skip to content

Commit 4eb85d2

Browse files
authored
Merge pull request #3 from Vonage/version-2.30.1
Version 2.30.1
2 parents 537a3d8 + eabe96f commit 4eb85d2

File tree

6 files changed

+15
-5
lines changed

6 files changed

+15
-5
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,9 @@ DerivedData
2222
project.xcworkspace
2323

2424
android/.gradle
25+
26+
# From the new-architecture version
27+
.yarn/
28+
android/generated/
29+
ios/generated/
30+
example/

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.30.1 (May 2025)
2+
3+
- [Fix]: This version fixes a crashing bug (on iOS) that was introduced in version 2.30.0.
4+
15
# 2.30.0 (May 2025)
26

37
- [Update]: This version updates the Vonage Video Android SDK and iOS SDK to version 2.30.0. For more information, see the [Android SDK release notes](https://developer.vonage.com/en/video/client-sdks/android/release-notes) and the [iOS SDK release notes](https://developer.vonage.com/en/video/client-sdks/ios/release-notes).

ios/OpenTokReactNative/OTSessionManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class OTSessionManager: RCTEventEmitter {
5151
// settings.iceConfig = sessionOptions["iceConfig"];
5252
settings.proxyURL = Utils.sanitizeStringProperty(sessionOptions["proxyUrl"] as Any);
5353
settings.ipWhitelist = Utils.sanitizeBooleanProperty(sessionOptions["ipWhitelist"] as Any);
54-
settings.iceConfig = Utils.sanitizeIceServer(sessionOptions["customServers"] as Any, sessionOptions["transportPolicy"] as Any, sessionOptions["includeServers"] as Any);
54+
settings.iceConfig = Utils.sanitizeIceServer(sessionOptions["customServers"] as Any, sessionOptions["transportPolicy"] as Any, sessionOptions["includeServers"] as Any, Utils.sanitizeBooleanProperty(sessionOptions["filterOutLanCandidates"]));
5555
settings.singlePeerConnection = Utils.sanitizeBooleanProperty(sessionOptions["enableSinglePeerConnection"] as Any);
5656
settings.sessionMigration = Utils.sanitizeBooleanProperty(sessionOptions["sessionMigration"] as Any);
5757
OTRN.sharedState.sessions.updateValue(OTSession(apiKey: apiKey, sessionId: sessionId, delegate: self, settings: settings)!, forKey: sessionId);

ios/OpenTokReactNative/Utils/Utils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class Utils {
105105
return iceServerList
106106
}
107107

108-
static func sanitizeIceServer(_ serverList: Any, _ transportPolicy: Any, _ includeServer: Any, _ filterOutLanCandidates: filterOutLanCandidates: Boolean) -> OTSessionICEConfig {
108+
static func sanitizeIceServer(_ serverList: Any, _ transportPolicy: Any, _ includeServer: Any, _ filterOutLanCandidates: Bool) -> OTSessionICEConfig {
109109
let myICEServerConfiguration: OTSessionICEConfig = OTSessionICEConfig();
110110
myICEServerConfiguration.includeServers = Utils.sanitizeIncludeServer(includeServer);
111111
myICEServerConfiguration.transportPolicy = Utils.sanitizeTransportPolicy(transportPolicy);

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vonage/client-sdk-video-react-native",
3-
"version": "2.30.0",
3+
"version": "2.30.1",
44
"description": "React Native components for Vonage Video iOS and Android SDKs",
55
"main": "src/index.js",
66
"homepage": "https://developer.vonage.com/en/video/overview",

0 commit comments

Comments
 (0)