Skip to content

Commit

Permalink
Update changelog and sdk version to 1.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
YuliaGrigorieva committed Jun 24, 2020
1 parent 238a50b commit 36b447b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 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.20.0
- Update native Android and iOS modules to use Voximplant Android SDK 2.19.0 and Voximplant iOS SDK 2.32.1
- Introduce AudioFile API to play audio files

### 1.19.0
- Update native Android and iOS modules to use Voximplant Android SDK 2.17.0 and Voximplant iOS SDK 2.31.0
- Add Call.localVideoStreams and Endpoint.videoStreams properties to access video streams
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,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.19.0";
Voximplant.subVersion = "react-1.20.0";
ClientConfig config = new ClientConfig();
config.enableVideo = enableVideo;
config.enableDebugLogging = enableDebugLogging;
Expand Down
2 changes: 1 addition & 1 deletion ios/VIClientModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ - (void)stopObserving {
}

RCT_REMAP_METHOD(initWithOptions, init:(VILogLevel)logLevel bundleId:(NSString *)bundleId h264RecoveryMode:(BOOL)h264RecoveryMode) {
[VIClient setVersionExtension:@"react-1.19.0"];
[VIClient setVersionExtension:@"react-1.20.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.19.0",
"version": "1.20.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.19.0'
s.version = '1.20.0'
s.dependency 'VoxImplantSDK', '2.32.1'
s.dependency 'React'
end
4 changes: 2 additions & 2 deletions src/EventHandlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ const CameraSwitchError = {
* @property {string} name - Name of the event
* @property {Voximplant.Hardware.AudioFile} audioFile - Audio file that triggered the event
* @property {boolean} result - True if the audio file has started successfully
* @property {number} error - Error code on iOS if the audio file failed to start
* @property {string} error - Error code on iOS if the audio file failed to start
*/
const AudioFileStarted = {

Expand All @@ -256,7 +256,7 @@ const AudioFileStarted = {
* @property {string} name - Name of the event
* @property {Voximplant.Hardware.AudioFile} audioFile - Audio file that triggered the event
* @property {boolean} result - True if the audio file has stopped successfully
* @property {number} error - Error code on iOS if the audio file failed to stop
* @property {string} error - Error code on iOS if the audio file failed to stop
*/
const AudioFileStopped = {

Expand Down

0 comments on commit 36b447b

Please sign in to comment.