Skip to content

Commit

Permalink
Voximplant Flutter SDK 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirBrejcha committed Nov 3, 2020
1 parent a7831f8 commit 5b24e0c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 2.4.2
* Fix a crash on stop non-looped VIAudioFile (iOS)

## 2.4.1
* Reformat code according to Dartfmt
* Fix VIAudioDeviceManager.getAudioDevice always throws issue
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'com.voximplant.flutter_voximplant'
version '2.4.1'
version '2.4.2'

buildscript {
repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class VoximplantPlugin implements MethodCallHandler, FlutterPlugin {
private AudioFileManager mAudioFileManager;

public VoximplantPlugin() {
Voximplant.subVersion = "flutter-2.4.1";
Voximplant.subVersion = "flutter-2.4.2";
}

private void configure(Context context, TextureRegistry textures, BinaryMessenger messenger) {
Expand Down
10 changes: 4 additions & 6 deletions ios/Classes/VIAudioFileModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,10 @@ - (void)audioFile:(VIAudioFile *)audioFile didStopPlaying:(NSError *)playbackErr
if (playbackError) {
error = [VoximplantUtils convertAudioFileErrorToString:playbackError.code];
}
if (_fileID) {
self.eventSink(@{
@"name": @"didStopPlaying",
@"error": error
});
}
self.eventSink(@{
@"name": @"didStopPlaying",
@"error": error ?: [NSNull null]
});
}
}

Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/VoximplantPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ - (instancetype)initWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar
self.audioFileManager = [[VIAudioFileManager alloc] initWithPlugin:self];
self.cameraModule = [[VICameraModule alloc] init];
self.messagingModule = [[VIMessagingModule alloc] initWithRegistrar:self.registrar];
[VIClient setVersionExtension:@"flutter-2.4.1"];
[VIClient setVersionExtension:@"flutter-2.4.2"];
}
return self;
}
Expand Down
2 changes: 1 addition & 1 deletion ios/flutter_voximplant.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
Pod::Spec.new do |s|
s.name = 'flutter_voximplant'
s.version = '2.4.1'
s.version = '2.4.2'
s.summary = 'Voximplant Flutter SDK'
s.description = <<-DESC
Voximplant plugin for embedding voice and video communication into Flutter applications.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_voximplant
description: Voximplant plugin for embedding voice and video communication into Flutter applications.
version: 2.4.1
version: 2.4.2
authors:
- Voximplant Team <[email protected]>
- Yulia Grigorieva <[email protected]>
Expand Down

0 comments on commit 5b24e0c

Please sign in to comment.