Skip to content

Commit

Permalink
Merge pull request #129 from AgoraIO-Community/cloud-recording
Browse files Browse the repository at this point in the history
fix: remove cloud recording being shown by default
  • Loading branch information
tadaspetra authored Mar 16, 2023
2 parents d9e2e0d + ae3e4e3 commit 279a812
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.3.1

- BUG FIX: No longer shows cloud recording by default. Need to enable it with `cloudRecordingEnabled: true`

## 1.3.0

- Added Cloud Recording. Follow the [Guide](https://github.com/AgoraIO-Community/VideoUIKit-Flutter/wiki/Examples#cloud-recording)
Expand Down
2 changes: 1 addition & 1 deletion lib/models/agora_rtm_mute_request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class AgoraUIKit {
String platform = platformStr();

String framework = "flutter";
String version = "1.3.0";
String version = "1.3.1";

AgoraUIKit.fromJson(Map<String, dynamic> json)
: platform = json['platform'],
Expand Down
8 changes: 5 additions & 3 deletions lib/src/buttons/buttons.dart
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,11 @@ class _AgoraVideoButtonsState extends State<AgoraVideoButtons> {
_disconnectCallButton(),
_switchCameraButton(),
_disableVideoButton(),
CloudRecordingButton(
client: widget.client,
),
widget.cloudRecordingEnabled!
? CloudRecordingButton(
client: widget.client,
)
: Container(),
widget.addScreenSharing!
? _screenSharingButton()
: Container(),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: agora_uikit
description: Flutter plugin to simply integrate Agora Video Calling or Live
Video Streaming to your app with just a few lines of code.
version: 1.3.0
version: 1.3.1
homepage: https://www.agora.io/en/
repository: https://github.com/AgoraIO-Community/VideoUIKit-Flutter

Expand Down

0 comments on commit 279a812

Please sign in to comment.