Skip to content

Commit

Permalink
Merge pull request #154 from voximplant/update_native_sdk
Browse files Browse the repository at this point in the history
Update ios/android native SDK versions
  • Loading branch information
pe1ros authored Apr 25, 2022
2 parents aabc1d1 + 12017f9 commit f1fc3de
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 1.32.0
- Update native Android and iOS modules to use Voximplant Android SDK 2.32.4 and Voximplant iOS SDK 2.46.8
- Fix for [#153](https://github.com/voximplant/react-native-voximplant/issues/153)

### 1.31.0
- Update native Android and iOS modules to use Voximplant Android SDK 2.32.3 and Voximplant iOS SDK 2.46.7
- Introduce [ClientConfig.forceRelayTraffic](https://voximplant.com/docs/references/reactnative/voximplant/clientconfig#forcerelaytraffic) option to specify force traffic to go through TURN servers
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ repositories {
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.facebook.react:react-native:+"
implementation "com.voximplant:voximplant-sdk:2.32.3"
implementation "com.voximplant:voximplant-sdk:2.32.4"
implementation "androidx.annotation:annotation:1.2.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public String getName() {
//region React methods
@ReactMethod
public void init(ReadableMap settings) {
Voximplant.subVersion = "react-1.31.0";
Voximplant.subVersion = "react-1.32.0";
ClientConfig config = Utils.convertClientConfigFromMap(settings);
mClient = Voximplant.getClientInstance(Executors.newSingleThreadExecutor(), mReactContext, config);
mClient.setClientIncomingCallListener(this);
Expand Down
6 changes: 3 additions & 3 deletions ios/RNVIClientModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ - (void)stopObserving {
RCT_EXPORT_METHOD(initWithOptions:(NSDictionary *)options) {
VILogLevel logLevel = [RNVIUtils convertLogLevelFromString:[options objectForKey:@"logLevel"]];
[VIClient setLogLevel:logLevel];
[VIClient setVersionExtension:@"react-1.31.0"];
BOOL h264RecoveryMode = [options objectForKey:@"h264RecoveryMode"];
[VIClient setVersionExtension:@"react-1.32.0"];
BOOL h264RecoveryMode = [[options objectForKey:@"h264RecoveryMode"] boolValue];
if (h264RecoveryMode) {
RTCInitFieldTrialDictionary(@{
kRTCFieldTrialVoximplantH264RecoveryModeKey: kRTCFieldTrialEnabledValue
Expand All @@ -93,7 +93,7 @@ - (void)stopObserving {
} else {
_client = [RNVICallManager getClient];
}
BOOL forceRelayTraffic = [options objectForKey:@"forceRelayTraffic"];
BOOL forceRelayTraffic = [[options objectForKey:@"forceRelayTraffic"] boolValue];
_client.enableForceRelayTraffic = forceRelayTraffic;
_client.sessionDelegate = self;
_client.callManagerDelegate = self;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-voximplant",
"version": "1.31.0",
"version": "1.32.0",
"description": "VoxImplant Mobile SDK for embedding voice and video communication into React Native apps.",
"nativePackage": true,
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions react-native-voximplant.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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.31.0'
s.dependency 'VoxImplantSDK', '2.46.7'
s.version = '1.32.0'
s.dependency 'VoxImplantSDK', '2.46.8'
s.dependency 'React'
end

0 comments on commit f1fc3de

Please sign in to comment.