Skip to content

Commit

Permalink
Update changelog and sdk version to 1.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
YuliaGrigorieva committed Jan 21, 2022
1 parent af4d06f commit fb05500
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

### 1.28.0
- Update native Android and iOS modules to use Voximplant Android SDK 2.29.1 and Voximplant iOS SDK 2.46.1
- Introduce new APIs to restore the connection to the Voximplant Cloud if it was closed due to network issues during a call:
- [ClientEvents.Reconnecting](/docs/references/reactnative/voximplant/clienteventtypes#reconnecting) - notifies
that the connection to the Voximplant Cloud is lost and the client is reconnecting
- [ClientEvents.Reconnected](/docs/references/reactnative/voximplant/clienteventtypes#reconnected) - notifies
that the connection to the Voximplant Cloud is restored
- [ClientState.RECONNECTING](/docs/references/reactnative/voximplant/clientstate#reconnecting) - client state
representing that the client is reconnecting to the Voximplant Cloud
- [CallEvents.CallReconnecting](/docs/references/reactnative/voximplant/calleventtypes#callreconnecting) - notifies
that the SDK is reconnecting to the Voximplant Cloud and media streams may not be active
- [CallEvents.CallReconnected](/docs/references/reactnative/voximplant/calleventtypes#callreconnected) - notifies
that the SDK is successfully reconnected to the Voximplant Cloud and media streams are restored
- [CallError.RECONNECTING](/docs/references/reactnative/voximplant/callerror#reconnecting) - call error
that informs that a call operation cannot be completed while a call is reconnecting
- Fix for [#139](https://github.com/voximplant/react-native-voximplant/issues/139)
- Fix for [#136](https://github.com/voximplant/react-native-voximplant/issues/136)
- Breaking changes for iOS: VIClientModule (native iOS module) is renamed to RNVIClientModule.
If VIClientModule is used in the application AppDelegate, it is required to change its name in the import statement and API method call

### 1.27.1
- Fix: "attempted to remove more listeners than added" error on RN 0.64 or below

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public String getName() {
@ReactMethod
public void init(boolean enableVideo, boolean enableDebugLogging, boolean enableCameraMirroring, boolean enableLogcatLogging,
String videoCodec, String packageName, String requestAudioFocusMode) {
Voximplant.subVersion = "react-1.27.1";
Voximplant.subVersion = "react-1.28.0";
ClientConfig config = new ClientConfig();
config.enableVideo = enableVideo;
config.enableDebugLogging = enableDebugLogging;
Expand Down
2 changes: 1 addition & 1 deletion ios/RNVIClientModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ - (void)stopObserving {
}

RCT_REMAP_METHOD(initWithOptions, init:(VILogLevel)logLevel bundleId:(NSString *)bundleId h264RecoveryMode:(BOOL)h264RecoveryMode) {
[VIClient setVersionExtension:@"react-1.27.1"];
[VIClient setVersionExtension:@"react-1.28.0"];
[VIClient setLogLevel:logLevel];
if (h264RecoveryMode) {
RTCInitFieldTrialDictionary(@{
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.27.1",
"version": "1.28.0",
"description": "VoxImplant Mobile SDK for embedding voice and video communication into React Native apps.",
"nativePackage": true,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion 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.27.1'
s.version = '1.28.0'
s.dependency 'VoxImplantSDK', '2.46.1'
s.dependency 'React'
end

0 comments on commit fb05500

Please sign in to comment.