Skip to content

Commit

Permalink
Merge pull request #1722 from 100mslive/develop
Browse files Browse the repository at this point in the history
Release 1.9.12: Develop to main
  • Loading branch information
Decoder07 authored Mar 4, 2024
2 parents dfe6ed4 + b929137 commit 2f45caf
Show file tree
Hide file tree
Showing 47 changed files with 1,153 additions and 429 deletions.
15 changes: 15 additions & 0 deletions packages/hms_room_kit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@
| hms_room_kit | [![Pub Version](https://img.shields.io/pub/v/hms_room_kit)](https://pub.dev/packages/hms_room_kit) |
| hmssdk_flutter | [![Pub Version](https://img.shields.io/pub/v/hmssdk_flutter)](https://pub.dev/packages/hmssdk_flutter) |

## 1.0.15 - 2024-03-04

| Package | Version |
| -------------- | ------------------------------------------------------------------------------------------------------ |
| hms_room_kit | 1.0.15 |
| hmssdk_flutter | 1.9.12 |

### 🚀 Added

- Ability to fetch concluded and draft polls

Prebuilt now fetches all the polls happened during the session. Additionally, users can now retrieve draft polls from other platforms and launch them.

Updated `hmssdk_flutter` package version to 1.9.12

## 1.0.14 - 2024-02-26

| Package | Version |
Expand Down
14 changes: 7 additions & 7 deletions packages/hms_room_kit/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ PODS:
- HMSBroadcastExtensionSDK (0.0.9)
- HMSHLSPlayerSDK (0.0.2):
- HMSAnalyticsSDK (= 0.0.2)
- HMSSDK (1.5.0):
- HMSSDK (1.5.1):
- HMSAnalyticsSDK (= 0.0.2)
- HMSWebRTC (= 1.0.5116)
- hmssdk_flutter (1.9.6):
- hmssdk_flutter (1.9.11):
- Flutter
- HMSBroadcastExtensionSDK (= 0.0.9)
- HMSHLSPlayerSDK (= 0.0.2)
- HMSSDK (= 1.5.0)
- HMSSDK (= 1.5.1)
- HMSWebRTC (1.0.5116)
- path_provider_foundation (0.0.1):
- Flutter
Expand Down Expand Up @@ -65,13 +65,13 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817
HMSAnalyticsSDK: 4d2a88a729b1eb42f3d25f217c28937ec318a5b7
HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb
HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3
HMSSDK: 0d1901d64faf2661d1183c1ba2881e2531a5eeba
hmssdk_flutter: 9f3b16d9bfc1e9a2ccd63f5d9b6a6d51669ed5ac
HMSSDK: ab468de17246fcc8d6315ea490e9d9b30431d6b3
hmssdk_flutter: 21fdd404f04dc0443f106f1f1a4f510a98418cb5
HMSWebRTC: ae54e9dd91b869051b283b43b14f57d43b7bf8e1
path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
Expand All @@ -81,4 +81,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: cc1f88378b4bfcf93a6ce00d2c587857c6008d3b

COCOAPODS: 1.15.0
COCOAPODS: 1.15.2
22 changes: 11 additions & 11 deletions packages/hms_room_kit/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ packages:
dependency: "direct main"
description:
name: flutter_svg
sha256: d39e7f95621fc84376bc0f7d504f05c3a41488c562f4a8ad410569127507402c
sha256: "7b4ca6cf3304575fe9c8ec64813c8d02ee41d2afe60bcfe0678bcb5375d596a2"
url: "https://pub.dev"
source: hosted
version: "2.0.9"
version: "2.0.10+1"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down Expand Up @@ -214,15 +214,15 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.14"
version: "1.0.15"
hmssdk_flutter:
dependency: transitive
description:
name: hmssdk_flutter
sha256: "5dedf840502cf20f5d22f5718c9cf620c6694f73b48156cc17015ecde0237bb7"
sha256: "2f689fad643f851447b2e95b55547cead6852fc6678c3c39fc62fb016754053e"
url: "https://pub.dev"
source: hosted
version: "1.9.11"
version: "1.9.12"
http:
dependency: transitive
description:
Expand Down Expand Up @@ -688,26 +688,26 @@ packages:
dependency: transitive
description:
name: vector_graphics
sha256: "4ac59808bbfca6da38c99f415ff2d3a5d7ca0a6b4809c71d9cf30fba5daf9752"
sha256: "32c3c684e02f9bc0afb0ae0aa653337a2fe022e8ab064bcd7ffda27a74e288e3"
url: "https://pub.dev"
source: hosted
version: "1.1.10+1"
version: "1.1.11+1"
vector_graphics_codec:
dependency: transitive
description:
name: vector_graphics_codec
sha256: f3247e7ab0ec77dc759263e68394990edc608fb2b480b80db8aa86ed09279e33
sha256: c86987475f162fadff579e7320c7ddda04cd2fdeffbe1129227a85d9ac9e03da
url: "https://pub.dev"
source: hosted
version: "1.1.10+1"
version: "1.1.11+1"
vector_graphics_compiler:
dependency: transitive
description:
name: vector_graphics_compiler
sha256: "18489bdd8850de3dd7ca8a34e0c446f719ec63e2bab2e7a8cc66a9028dd76c5a"
sha256: "12faff3f73b1741a36ca7e31b292ddeb629af819ca9efe9953b70bd63fc8cd81"
url: "https://pub.dev"
source: hosted
version: "1.1.10+1"
version: "1.1.11+1"
vector_math:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion packages/hms_room_kit/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.0.14
version: 1.0.15

environment:
sdk: ">=2.19.6 <3.0.0"
Expand Down
5 changes: 4 additions & 1 deletion packages/hms_room_kit/lib/src/common/constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ class Constant {
"https://public.app.100ms.live/meeting/xvm-wxwo-gbl";

/// [Constant.roomCode] is the meeting code that will be used
static String roomCode = "";
static String? roomCode = "";

///[Constant.authToken] is auth token to join the room
static String? authToken = "";

/// [Constant.streamingUrl] is the streaming url that will be used
static String streamingUrl = "";
Expand Down
23 changes: 19 additions & 4 deletions packages/hms_room_kit/lib/src/hms_prebuilt.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ class HMSPrebuilt extends StatelessWidget {
///
/// Example: For the public Room: https://public.app.100ms.live/meeting/xvm-wxwo-gbl
/// The room code is: xvm-wxwo-gbl
final String roomCode;
final String? roomCode;

///[authToken]: The auth token to join the room
final String? authToken;

///The options for the prebuilt
///For more details checkout the [HMSPrebuiltOptions] class
Expand All @@ -28,15 +31,26 @@ class HMSPrebuilt extends StatelessWidget {
final Function? onLeave;

///The key for the widget
const HMSPrebuilt(
{super.key, required this.roomCode, this.options, this.onLeave});
HMSPrebuilt(
{super.key,
required this.roomCode,
this.options,
this.onLeave,
this.authToken}) {
if (roomCode == null && authToken == null) {
throw ArgumentError.notNull(
"At least one parameter roomCode or authToken must be provided.");
}
}

///Builds the widget
///Returns a [ScreenController] widget
///The [ScreenController] is the main widget that renders the prebuilt
///For more details checkout the [ScreenController] class
///It takes the [roomCode],[options] and [onLeave] as parameters
///It takes the [roomCode],[authToken], [options] and [onLeave] as parameters
///The [roomCode] is the room code of the room to join
///The [authToken] is the auth token to join the room
///User need to pass either [roomCode] or [authToken] to join the room
///The [options] are the options for the prebuilt
///For more details checkout the [HMSPrebuiltOptions] class
///The [options] are optional and are used to customize the prebuilt
Expand All @@ -45,6 +59,7 @@ class HMSPrebuilt extends StatelessWidget {
Widget build(BuildContext context) {
return ScreenController(
roomCode: roomCode,
authToken: authToken,
options: options,
onLeave: onLeave,
);
Expand Down
7 changes: 1 addition & 6 deletions packages/hms_room_kit/lib/src/meeting/meeting_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,13 @@ import 'package:hms_room_kit/src/widgets/common_widgets/hms_left_room_screen.dar

///[MeetingPage] is the main page of the meeting
///It takes the following parameters:
///[meetingLink] is the link of the meeting
///[isRoomMute] is the flag to mute the room
class MeetingPage extends StatefulWidget {
final String meetingLink;
final bool isRoomMute;
final HMSAudioDevice currentAudioDeviceMode;

const MeetingPage(
{Key? key,
required this.meetingLink,
this.isRoomMute = true,
required this.currentAudioDeviceMode})
{Key? key, this.isRoomMute = true, required this.currentAudioDeviceMode})
: super(key: key);

@override
Expand Down
Loading

0 comments on commit 2f45caf

Please sign in to comment.