From 7de4906ad2e996a86bc29fe419886a0efc4658cf Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Mon, 22 Jul 2024 16:04:52 +0530 Subject: [PATCH 01/38] Added Change Role option in prebuilt --- .../change_role_option_dialog.dart | 211 ------------------ .../participants_bottom_sheet.dart | 52 ++++- .../remote_peer_bottom_sheet.dart | 50 +++++ .../widgets/common_widgets/hms_dropdown.dart | 57 +++-- 4 files changed, 135 insertions(+), 235 deletions(-) delete mode 100644 packages/hms_room_kit/lib/src/widgets/app_dialogs/change_role_option_dialog.dart diff --git a/packages/hms_room_kit/lib/src/widgets/app_dialogs/change_role_option_dialog.dart b/packages/hms_room_kit/lib/src/widgets/app_dialogs/change_role_option_dialog.dart deleted file mode 100644 index 5fe15ce12..000000000 --- a/packages/hms_room_kit/lib/src/widgets/app_dialogs/change_role_option_dialog.dart +++ /dev/null @@ -1,211 +0,0 @@ -//Package imports -import 'package:dropdown_button2/dropdown_button2.dart'; -import 'package:flutter/material.dart'; -import 'package:collection/collection.dart'; - -//Project imports -import 'package:hmssdk_flutter/hmssdk_flutter.dart'; - -import 'package:hms_room_kit/src/common/app_color.dart'; -import 'package:hms_room_kit/src/common/utility_functions.dart'; -import 'package:hms_room_kit/src/widgets/common_widgets/hms_dropdown.dart'; -import 'package:hms_room_kit/src/widgets/common_widgets/hms_subtitle_text.dart'; -import 'package:hms_room_kit/src/widgets/common_widgets/hms_text_style.dart'; -import 'package:hms_room_kit/src/widgets/common_widgets/hms_title_text.dart'; - -class ChangeRoleOptionDialog extends StatefulWidget { - final String peerName; - final List roles; - final Function(HMSRole, bool) changeRole; - final bool force; - final HMSPeer peer; - const ChangeRoleOptionDialog({ - super.key, - required this.peerName, - required this.roles, - required this.changeRole, - required this.peer, - this.force = true, - }); - - @override - ChangeRoleOptionDialogState createState() => ChangeRoleOptionDialogState(); -} - -class ChangeRoleOptionDialogState extends State { - late bool askPermission; - HMSRole? valueChoose; - - void _updateDropDownValue(dynamic newValue) { - valueChoose = newValue; - } - - @override - void initState() { - super.initState(); - askPermission = !widget.force; - valueChoose = widget.roles[0]; - } - - @override - Widget build(BuildContext context) { - String message = "Change the role of ‘${widget.peerName}’ to"; - double width = MediaQuery.of(context).size.width; - return AlertDialog( - shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(12)), - actionsPadding: const EdgeInsets.only(left: 20, right: 20, bottom: 10), - backgroundColor: themeBottomSheetColor, - insetPadding: const EdgeInsets.symmetric(horizontal: 20, vertical: 8), - contentPadding: - const EdgeInsets.only(top: 20, bottom: 15, left: 24, right: 24), - title: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - HMSTitleText( - text: "Change Role", - fontSize: 20, - letterSpacing: 0.15, - textColor: themeDefaultColor, - ), - const SizedBox( - height: 8, - ), - HMSSubtitleText(text: message, textColor: themeSubHeadingColor), - ], - ), - content: Column( - crossAxisAlignment: CrossAxisAlignment.start, - mainAxisSize: MainAxisSize.min, - children: [ - Container( - padding: const EdgeInsets.only(left: 10, right: 5), - decoration: BoxDecoration( - color: themeSurfaceColor, - borderRadius: BorderRadius.circular(10.0), - border: Border.all( - color: borderColor, style: BorderStyle.solid, width: 0.80), - ), - child: DropdownButtonHideUnderline( - child: HMSDropDown( - dropDownItems: [ - ...widget.roles - .sortedBy((element) => element.priority.toString()) - .map((role) => DropdownMenuItem( - value: role, - child: HMSTitleText( - text: role.name, - textColor: themeDefaultColor, - fontWeight: FontWeight.w400, - ), - )) - .toList(), - ], - iconStyleData: IconStyleData( - icon: const Icon(Icons.keyboard_arrow_down), - iconEnabledColor: themeDefaultColor, - ), - selectedValue: valueChoose, - updateSelectedValue: _updateDropDownValue)), - ), - const SizedBox( - height: 15, - ), - if (!widget.peer.isLocal) - Row( - children: [ - SizedBox( - width: 25, - height: 25, - child: Checkbox( - value: askPermission, - activeColor: Colors.blue, - onChanged: (bool? value) { - if (value != null) { - askPermission = value; - setState(() {}); - } - }), - ), - const SizedBox( - width: 10.5, - ), - SizedBox( - width: width * 0.5, - child: Text( - "Request permission from the user", - style: HMSTextStyle.setTextStyle( - color: themeDefaultColor, - fontSize: 14, - height: 20 / 14, - letterSpacing: 0.25, - ), - )), - ], - ), - ], - ), - actions: [ - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - ElevatedButton( - style: ButtonStyle( - shadowColor: MaterialStateProperty.all(themeSurfaceColor), - backgroundColor: - MaterialStateProperty.all(themeBottomSheetColor), - shape: MaterialStateProperty.all( - RoundedRectangleBorder( - side: const BorderSide( - width: 1, color: Color.fromRGBO(107, 125, 153, 1)), - borderRadius: BorderRadius.circular(8.0), - ))), - onPressed: () => Navigator.pop(context, false), - child: Padding( - padding: - const EdgeInsets.symmetric(vertical: 12, horizontal: 10), - child: Text('Cancel', - style: HMSTextStyle.setTextStyle( - color: themeDefaultColor, - fontSize: 16, - fontWeight: FontWeight.w600, - letterSpacing: 0.50)), - )), - ElevatedButton( - style: ButtonStyle( - shadowColor: MaterialStateProperty.all(themeSurfaceColor), - backgroundColor: MaterialStateProperty.all(hmsdefaultColor), - shape: MaterialStateProperty.all( - RoundedRectangleBorder( - side: BorderSide(width: 1, color: hmsdefaultColor), - borderRadius: BorderRadius.circular(8.0), - ))), - onPressed: () => { - if (valueChoose == null) - { - Utilities.showToast("Please select a role"), - } - else - { - Navigator.pop(context), - widget.changeRole(valueChoose!, !askPermission) - } - }, - child: Padding( - padding: - const EdgeInsets.symmetric(vertical: 12, horizontal: 10), - child: Text( - 'Change', - style: HMSTextStyle.setTextStyle( - color: themeDefaultColor, - fontSize: 16, - fontWeight: FontWeight.w600, - letterSpacing: 0.50), - ), - ), - ), - ], - ) - ], - ); - } -} diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart index df5b53833..758621ae5 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart @@ -14,6 +14,7 @@ import 'package:hmssdk_flutter/hmssdk_flutter.dart'; ///Project imports import 'package:hms_room_kit/hms_room_kit.dart'; +import 'package:hms_room_kit/src/widgets/bottom_sheets/change_role_bottom_sheet.dart'; import 'package:hms_room_kit/src/widgets/toasts/hms_toasts_type.dart'; import 'package:hms_room_kit/src/layout_api/hms_room_layout.dart'; import 'package:hms_room_kit/src/model/participant_store.dart'; @@ -177,6 +178,34 @@ class _ParticipantsBottomSheetState extends State { break; case 5: + ///This is called when someone clicks on switch Role + Navigator.pop(context); + showModalBottomSheet( + isScrollControlled: true, + backgroundColor: HMSThemeColors.surfaceDim, + shape: const RoundedRectangleBorder( + borderRadius: BorderRadius.only( + topLeft: Radius.circular(16), + topRight: Radius.circular(16)), + ), + context: context, + builder: (ctx) => ChangeNotifierProvider.value( + value: meetingStore, + child: Padding( + padding: EdgeInsets.only( + bottom: MediaQuery.of(ctx).viewInsets.bottom), + child: ChangeRoleBottomSheet( + peerName: peer.name, + roles: meetingStore.roles, + peer: peer, + changeRole: (newRole, isForceChange) => + meetingStore.changeRoleOfPeer( + peer: peer, + roleName: newRole, + forceChange: true)))), + ); + case 6: + ///This is called when someone clicks on remove Participant meetingStore.removePeerFromRoom(peer); break; @@ -299,9 +328,30 @@ class _ParticipantsBottomSheetState extends State { ), ]), ), - if (removePeerPermission) + if (changeRolePermission) PopupMenuItem( value: 5, + child: Row(children: [ + SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/peer_settings.svg", + colorFilter: ColorFilter.mode( + HMSThemeColors.onSurfaceHighEmphasis, + BlendMode.srcIn)), + const SizedBox( + width: 8, + ), + HMSTitleText( + text: "Switch Role", + textColor: HMSThemeColors.onSurfaceHighEmphasis, + fontSize: 14, + lineHeight: 20, + letterSpacing: 0.1, + ), + ]), + ), + if (removePeerPermission) + PopupMenuItem( + value: 6, child: Row(children: [ SvgPicture.asset( "packages/hms_room_kit/lib/src/assets/icons/peer_remove.svg", diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart index 30e5525cb..81857294f 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart @@ -8,6 +8,7 @@ import 'package:flutter_svg/flutter_svg.dart'; import 'package:hms_room_kit/hms_room_kit.dart'; import 'package:hms_room_kit/src/meeting/meeting_store.dart'; import 'package:hms_room_kit/src/model/peer_track_node.dart'; +import 'package:hms_room_kit/src/widgets/bottom_sheets/change_role_bottom_sheet.dart'; import 'package:hms_room_kit/src/widgets/common_widgets/hms_cross_button.dart'; import 'package:hms_room_kit/src/widgets/common_widgets/hms_subheading_text.dart'; import 'package:hmssdk_flutter/hmssdk_flutter.dart'; @@ -220,6 +221,55 @@ class _RemotePeerBottomSheetState extends State { textColor: widget.peerTrackNode.track == null ? HMSThemeColors.onSurfaceLowEmphasis : HMSThemeColors.onSurfaceHighEmphasis)), + if (widget.meetingStore.localPeer?.role.permissions + .changeRole ?? + false) + ListTile( + horizontalTitleGap: 2, + onTap: () async { + Navigator.pop(context); + showModalBottomSheet( + isScrollControlled: true, + backgroundColor: HMSThemeColors.surfaceDim, + shape: const RoundedRectangleBorder( + borderRadius: BorderRadius.only( + topLeft: Radius.circular(16), + topRight: Radius.circular(16)), + ), + context: context, + builder: (ctx) => ChangeNotifierProvider.value( + value: widget.meetingStore, + child: Padding( + padding: EdgeInsets.only( + bottom: MediaQuery.of(ctx) + .viewInsets + .bottom), + child: ChangeRoleBottomSheet( + peerName: + widget.peerTrackNode.peer.name, + roles: widget.meetingStore.roles, + peer: widget.peerTrackNode.peer, + changeRole: (newRole, isForceChange) => + widget.meetingStore + .changeRoleOfPeer( + peer: widget + .peerTrackNode.peer, + roleName: newRole, + forceChange: + isForceChange)))), + ); + }, + contentPadding: EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/peer_settings.svg", + semanticsLabel: "fl_change_role", + colorFilter: ColorFilter.mode( + HMSThemeColors.onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubheadingText( + text: "Switch Role", + textColor: HMSThemeColors.onSurfaceHighEmphasis)), // ListTile( // horizontalTitleGap: 2, // onTap: () async { diff --git a/packages/hms_room_kit/lib/src/widgets/common_widgets/hms_dropdown.dart b/packages/hms_room_kit/lib/src/widgets/common_widgets/hms_dropdown.dart index 41380e833..dfdd2b4d6 100644 --- a/packages/hms_room_kit/lib/src/widgets/common_widgets/hms_dropdown.dart +++ b/packages/hms_room_kit/lib/src/widgets/common_widgets/hms_dropdown.dart @@ -1,7 +1,14 @@ +library; + +///Package imports import 'package:dropdown_button2/dropdown_button2.dart'; import 'package:flutter/material.dart'; -import 'package:hms_room_kit/src/common/app_color.dart'; +///Project imports +import 'package:hms_room_kit/hms_room_kit.dart'; + +///[HMSDropDown] is a dropdown that allows the user to select an item from a list of items +///It is wrapper around the [DropdownButton2] widget and uses 100ms default themes class HMSDropDown extends StatefulWidget { final Key? dropdownKey; final Widget? dropdownHint; @@ -14,19 +21,22 @@ class HMSDropDown extends StatefulWidget { final dynamic selectedValue; final Function(dynamic) updateSelectedValue; final bool isExpanded; - const HMSDropDown( - {super.key, - this.dropdownKey, - this.dropdownHint, - this.dropdownButton, - this.buttonStyleData, - this.dropdownStyleData, - this.menuItemStyleData, - required this.dropDownItems, - this.iconStyleData, - required this.selectedValue, - this.isExpanded = true, - required this.updateSelectedValue}); + final double dropdownWidth; + const HMSDropDown({ + super.key, + this.dropdownKey, + this.dropdownHint, + this.dropdownButton, + this.buttonStyleData, + this.dropdownStyleData, + this.menuItemStyleData, + required this.dropDownItems, + this.iconStyleData, + required this.selectedValue, + this.isExpanded = true, + this.dropdownWidth = 48, + required this.updateSelectedValue, + }); @override State createState() => _HMSDropDownState(); } @@ -42,7 +52,7 @@ class _HMSDropDownState extends State { @override Widget build(BuildContext context) { - final width = MediaQuery.of(context).size.width; + final width = MediaQuery.of(context).size.width - widget.dropdownWidth; return DropdownButton2( key: widget.dropdownKey, hint: widget.dropdownHint, @@ -58,25 +68,26 @@ class _HMSDropDownState extends State { customButton: widget.dropdownButton, dropdownStyleData: widget.dropdownStyleData == null ? DropdownStyleData( - width: width * 0.7, + width: width, decoration: BoxDecoration( - borderRadius: BorderRadius.circular(8), - color: themeSurfaceColor, - border: Border.all(color: borderColor)), - offset: const Offset(-10, -10), + borderRadius: BorderRadius.circular(8), + color: HMSThemeColors.surfaceDefault, + ), ) : widget.dropdownStyleData!, iconStyleData: widget.iconStyleData == null ? IconStyleData( icon: const Icon(Icons.keyboard_arrow_down), - iconEnabledColor: iconColor) + iconEnabledColor: HMSThemeColors.onSurfaceHighEmphasis) : widget.iconStyleData!, buttonStyleData: widget.buttonStyleData == null ? ButtonStyleData( - width: width * 0.7, + width: width, height: 48, + padding: EdgeInsets.symmetric(horizontal: 16), decoration: BoxDecoration( - color: themeSurfaceColor, + color: HMSThemeColors.surfaceDefault, + borderRadius: BorderRadius.circular(8), ), ) : widget.buttonStyleData!, From 425ebd9e818854cb859982797133562d1aab5309 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Mon, 22 Jul 2024 16:05:13 +0530 Subject: [PATCH 02/38] Added bottom sheet for role change --- .../lib/src/assets/icons/peer_settings.svg | 13 ++ .../change_role_bottom_sheet.dart | 142 ++++++++++++++++++ 2 files changed, 155 insertions(+) create mode 100644 packages/hms_room_kit/lib/src/assets/icons/peer_settings.svg create mode 100644 packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart diff --git a/packages/hms_room_kit/lib/src/assets/icons/peer_settings.svg b/packages/hms_room_kit/lib/src/assets/icons/peer_settings.svg new file mode 100644 index 000000000..a0215f427 --- /dev/null +++ b/packages/hms_room_kit/lib/src/assets/icons/peer_settings.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart new file mode 100644 index 000000000..337be7eff --- /dev/null +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart @@ -0,0 +1,142 @@ +library; + +///Dart imports +import 'dart:math' as Math; + +///Package imports +import 'package:dropdown_button2/dropdown_button2.dart'; +import 'package:flutter/material.dart'; +import 'package:collection/collection.dart'; +import 'package:hmssdk_flutter/hmssdk_flutter.dart'; + +///Project imports +import 'package:hms_room_kit/src/widgets/common_widgets/hms_dropdown.dart'; +import 'package:hms_room_kit/hms_room_kit.dart'; +import 'package:hms_room_kit/src/widgets/common_widgets/hms_cross_button.dart'; + +///[ChangeRoleBottomSheet] is a bottom sheet that allows the user to change the role of a peer it contains a dropdown to select the new role for the peer +class ChangeRoleBottomSheet extends StatefulWidget { + final String peerName; + final List roles; + final Function(HMSRole, bool) changeRole; + final bool force; + final HMSPeer peer; + const ChangeRoleBottomSheet({ + super.key, + required this.peerName, + required this.roles, + required this.changeRole, + required this.peer, + this.force = true, + }); + + @override + ChangeRoleBottomSheetState createState() => ChangeRoleBottomSheetState(); +} + +class ChangeRoleBottomSheetState extends State { + HMSRole? roleSelected; + + void _updateDropDownValue(dynamic newValue) { + roleSelected = newValue; + setState(() {}); + } + + @override + void initState() { + super.initState(); + roleSelected = widget.roles[0]; + } + + @override + Widget build(BuildContext context) { + String message = + "Switch the role of '${widget.peerName.substring(0, Math.min(30, widget.peerName.length))}' from '${widget.peer.role.name.substring(0, Math.min(20, widget.peer.role.name.length))}' to "; + return FractionallySizedBox( + heightFactor: 0.3, + child: Padding( + padding: const EdgeInsets.symmetric(horizontal: 24.0), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + HMSTitleText( + text: "Switch Role", + fontSize: 20, + letterSpacing: 0.15, + textColor: HMSThemeColors.onSecondaryHighEmphasis, + ), + HMSCrossButton() + ], + ), + HMSSubtitleText( + text: message, + textColor: HMSThemeColors.onSurfaceMediumEmphasis, + maxLines: 2, + ), + const SizedBox( + height: 24, + ), + DropdownButtonHideUnderline( + child: HMSDropDown( + dropDownItems: [ + ...widget.roles + .sortedBy((element) => element.priority.toString()) + .map((role) => DropdownMenuItem( + value: role, + child: HMSTitleText( + text: role.name, + textColor: HMSThemeColors.onSurfaceHighEmphasis, + fontWeight: FontWeight.w400, + letterSpacing: 0.5, + ), + )) + .toList(), + ], + iconStyleData: IconStyleData( + icon: const Icon(Icons.keyboard_arrow_down), + iconEnabledColor: HMSThemeColors.onSurfaceHighEmphasis, + ), + selectedValue: roleSelected, + updateSelectedValue: _updateDropDownValue)), + const SizedBox( + height: 24, + ), + ElevatedButton( + style: ButtonStyle( + backgroundColor: MaterialStateProperty.all( + roleSelected == null + ? HMSThemeColors.primaryDisabled + : HMSThemeColors.primaryDefault), + shape: MaterialStateProperty.all( + RoundedRectangleBorder( + borderRadius: BorderRadius.circular(8.0), + ))), + onPressed: () => { + Navigator.pop(context), + if (roleSelected != null) + {widget.changeRole(roleSelected!, true)} + }, + child: Row( + children: [ + Expanded( + child: Padding( + padding: const EdgeInsets.symmetric(vertical: 12), + child: Center( + child: HMSTitleText( + text: "Switch Role", + textColor: HMSThemeColors.onPrimaryHighEmphasis), + ), + ), + ), + ], + ), + ), + ], + ), + ), + ); + } +} From c38339e0da5a301b6c06b2a380ced0a7b932a08e Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 25 Jul 2024 15:48:07 +0530 Subject: [PATCH 03/38] Updated sdk versions --- packages/hms_room_kit/example/pubspec.yaml | 2 +- packages/hms_room_kit/pubspec.yaml | 5 +++-- packages/hmssdk_flutter/example/pubspec.yaml | 2 +- packages/hmssdk_flutter/lib/assets/sdk-versions.json | 2 +- packages/hmssdk_flutter/pubspec.yaml | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/hms_room_kit/example/pubspec.yaml b/packages/hms_room_kit/example/pubspec.yaml index 0752a727f..b765a8078 100644 --- a/packages/hms_room_kit/example/pubspec.yaml +++ b/packages/hms_room_kit/example/pubspec.yaml @@ -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.1.5 +version: 1.1.6 environment: sdk: ">=3.0.0 <4.0.0" diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index 459cb3ea2..157ba8097 100644 --- a/packages/hms_room_kit/pubspec.yaml +++ b/packages/hms_room_kit/pubspec.yaml @@ -1,6 +1,6 @@ name: hms_room_kit description: 100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps. -version: 1.1.5 +version: 1.1.6 homepage: https://www.100ms.live/ repository: https://github.com/100mslive/100ms-flutter issue_tracker: https://github.com/100mslive/100ms-flutter/issues @@ -14,7 +14,8 @@ dependencies: flutter: sdk: flutter - hmssdk_flutter: 1.10.5 + hmssdk_flutter: + path: ../hmssdk_flutter intl: ^0.19.0 permission_handler: ^11.0.0 provider: ^6.0.5 diff --git a/packages/hmssdk_flutter/example/pubspec.yaml b/packages/hmssdk_flutter/example/pubspec.yaml index d0aaf2e98..1b60c9d20 100644 --- a/packages/hmssdk_flutter/example/pubspec.yaml +++ b/packages/hmssdk_flutter/example/pubspec.yaml @@ -4,7 +4,7 @@ description: Demonstrates how to use the hmssdk_flutter plugin. # The following line prevents the package from being accidentally published to # pub.dev using `pub publish`. This is preferred for private packages. publish_to: "none" # Remove this line if you wish to publish to pub.dev -version: 1.10.5 +version: 1.10.6 environment: sdk: ">=2.16.0 <4.0.0" diff --git a/packages/hmssdk_flutter/lib/assets/sdk-versions.json b/packages/hmssdk_flutter/lib/assets/sdk-versions.json index 473ba10fb..9c42f3556 100644 --- a/packages/hmssdk_flutter/lib/assets/sdk-versions.json +++ b/packages/hmssdk_flutter/lib/assets/sdk-versions.json @@ -1,5 +1,5 @@ { - "flutter": "1.10.5", + "flutter": "1.10.6", "ios": "1.15.0", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", diff --git a/packages/hmssdk_flutter/pubspec.yaml b/packages/hmssdk_flutter/pubspec.yaml index 1e2445444..cb917e07e 100644 --- a/packages/hmssdk_flutter/pubspec.yaml +++ b/packages/hmssdk_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: hmssdk_flutter description: Add Real Time Audio & Video calls, Interactive Live Streaming & Recording, Chat, HLS, RTMP, PiP, CallKit, VoIP, Video conferencing, Stream Player & WebRTC-based communications API -version: 1.10.5 +version: 1.10.6 homepage: https://www.100ms.live/ repository: https://github.com/100mslive/100ms-flutter issue_tracker: https://github.com/100mslive/100ms-flutter/issues From 2e1fc2bfade8e36a46f87159680c8e7261032cae Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 25 Jul 2024 10:20:11 +0000 Subject: [PATCH 04/38] =?UTF-8?q?=F0=9F=A4=96=20Automated=20Format=20and?= =?UTF-8?q?=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/pubspec.lock | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 6c8d07012..151c71ca3 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -335,15 +335,14 @@ packages: path: "../../hms_room_kit" relative: true source: path - version: "1.1.5" + version: "1.1.6" hmssdk_flutter: dependency: transitive description: - name: hmssdk_flutter - sha256: "2da8500708d8a8ebfa3d3ffb2f1deafd0ff23828dfaff6fdd1b4367da6337cf0" - url: "https://pub.dev" - source: hosted - version: "1.10.5" + path: ".." + relative: true + source: path + version: "1.10.6" http: dependency: transitive description: From 4e43ea3dbb8522e31ccfbf10207fde7304262ded Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 25 Jul 2024 16:21:28 +0530 Subject: [PATCH 05/38] ISS-22778: Updated DateTime parsing (#1796) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated DateTime parsing * 🤖 Automated Format and Fix * Fixed chat ui issue without pinned messages * 🤖 Automated Format and Fix --------- Co-authored-by: Decoder07 --- .../widgets/bottom_sheets/chat_bottom_sheet.dart | 16 +++++++++++++--- .../common_widgets/message_container.dart | 4 +++- .../hms/hmssdk_flutter/HMSMessageExtension.kt | 3 +-- .../hls_player/HMSHLSCueExtension.kt | 8 ++++---- .../Classes/HLSPlayer/HMSHLSCueExtension.swift | 4 ++-- .../ios/Classes/Models/HMSMessageExtension.swift | 2 +- .../lib/src/model/hls_player/hms_hls_cue.dart | 6 +++--- .../lib/src/model/hms_date_extension.dart | 6 ------ .../lib/src/model/hms_message.dart | 4 ++-- 9 files changed, 29 insertions(+), 24 deletions(-) diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_bottom_sheet.dart index 553f835af..d000273b5 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_bottom_sheet.dart @@ -153,9 +153,19 @@ class _ChatBottomSheetState extends State { child: const HMSEmptyChatWidget()))) : Expanded( child: Column(children: [ - Expanded( - flex: 1, - child: const PinChatWidget()), + Selector( + selector: (_, meetingStore) => + meetingStore + .pinnedMessages.length, + builder: + (_, pinnedMessageLength, __) { + return pinnedMessageLength > 0 + ? Expanded( + flex: 1, + child: + const PinChatWidget()) + : const SizedBox(); + }), /// List containing chats Expanded( diff --git a/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart b/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart index d3753bba5..86c44e56c 100644 --- a/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart +++ b/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart @@ -97,7 +97,9 @@ class MessageContainer extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.end, children: [ HMSSubtitleText( - text: formatter.format(message.time), + text: message.time == null + ? "" + : formatter.format(message.time!), textColor: HMSThemeColors.onSurfaceMediumEmphasis, ), const SizedBox( diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSMessageExtension.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSMessageExtension.kt index 0436770e2..2decbdcd2 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSMessageExtension.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSMessageExtension.kt @@ -10,8 +10,7 @@ class HMSMessageExtension { if (message == null)return null args["message_id"] = message.messageId args["message"] = message.message - args["time"] = - SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(message.serverReceiveTime).toString() + args["time"] = message.serverReceiveTime args["type"] = message.type if (message.sender != null) { args["sender"] = HMSPeerExtension.toDictionary(message.sender)!! diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/hls_player/HMSHLSCueExtension.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/hls_player/HMSHLSCueExtension.kt index f64c1b8a5..45356f2da 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/hls_player/HMSHLSCueExtension.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/hls_player/HMSHLSCueExtension.kt @@ -5,12 +5,12 @@ import java.text.SimpleDateFormat class HMSHLSCueExtension { companion object { - fun toDictionary(hmsHlsCue: HmsHlsCue): HashMap { - val args = HashMap() + fun toDictionary(hmsHlsCue: HmsHlsCue): HashMap { + val args = HashMap() args["id"] = hmsHlsCue.id - args["start_date"] = SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(hmsHlsCue.startDate).toString() - args["end_date"] = SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(hmsHlsCue.endDate).toString() + args["start_date"] = hmsHlsCue.startDate + args["end_date"] = hmsHlsCue.endDate args["payload"] = hmsHlsCue.payloadval return args diff --git a/packages/hmssdk_flutter/ios/Classes/HLSPlayer/HMSHLSCueExtension.swift b/packages/hmssdk_flutter/ios/Classes/HLSPlayer/HMSHLSCueExtension.swift index 5267f5d19..dcda74bac 100644 --- a/packages/hmssdk_flutter/ios/Classes/HLSPlayer/HMSHLSCueExtension.swift +++ b/packages/hmssdk_flutter/ios/Classes/HLSPlayer/HMSHLSCueExtension.swift @@ -15,9 +15,9 @@ class HMSHLSCueExtension { var dict = [String: Any?]() dict["id"] = hmsHlsCue.id - dict["start_date"] = "\(hmsHlsCue.startDate)" + dict["start_date"] = (hmsHlsCue.startDate.timeIntervalSince1970 * 1000) if let endDate = hmsHlsCue.endDate { - dict["end_date"] = "\(endDate)" + dict["end_date"] = (endDate.timeIntervalSince1970 * 1000) } dict["payload"] = hmsHlsCue.payload diff --git a/packages/hmssdk_flutter/ios/Classes/Models/HMSMessageExtension.swift b/packages/hmssdk_flutter/ios/Classes/Models/HMSMessageExtension.swift index d384b3a28..668b4affe 100644 --- a/packages/hmssdk_flutter/ios/Classes/Models/HMSMessageExtension.swift +++ b/packages/hmssdk_flutter/ios/Classes/Models/HMSMessageExtension.swift @@ -20,7 +20,7 @@ class HMSMessageExtension { dict["type"] = message.type - dict["time"] = "\(message.time)" + dict["time"] = Int(message.time.timeIntervalSince1970 * 1000) dict["hms_message_recipient"] = HMSMessageRecipientExtension.toDictionary(message.recipient) diff --git a/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart b/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart index 1ffd1408f..cfed56ff0 100644 --- a/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart +++ b/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart @@ -10,7 +10,7 @@ class HMSHLSCue { final String? id; // startDate of the timed event - final DateTime startDate; + final DateTime? startDate; // endDate of the timed event final DateTime? endDate; @@ -22,10 +22,10 @@ class HMSHLSCue { factory HMSHLSCue.fromMap(Map map) { return HMSHLSCue( - startDate: HMSDateExtension.convertDateFromString(map["start_date"]), + startDate: HMSDateExtension.convertDateFromEpoch(map["start_date"]), endDate: map["end_date"] == null ? null - : HMSDateExtension.convertDateFromString(map["end_date"]), + : HMSDateExtension.convertDateFromEpoch(map["end_date"]), id: map["id"], payload: map["payload"]); } diff --git a/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart b/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart index caf3f96c0..f4e3c0572 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart @@ -7,12 +7,6 @@ import 'dart:developer'; class HMSDateExtension { - ///Returns DateTime object from String - static DateTime convertDateFromString(String date) { - DateTime _dateTime = DateTime.parse(date).toLocal(); - return _dateTime; - } - ///Returns optional DateTime object from epoch in milliseconds static DateTime? convertDateFromEpoch(int date) { try { diff --git a/packages/hmssdk_flutter/lib/src/model/hms_message.dart b/packages/hmssdk_flutter/lib/src/model/hms_message.dart index a7093063b..2367ff0e3 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_message.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_message.dart @@ -31,7 +31,7 @@ class HMSMessage { final String type; ///[time] at which [sender] sent the [message] - final DateTime time; + final DateTime? time; HMSMessageRecipient? hmsMessageRecipient; HMSMessage( @@ -56,7 +56,7 @@ class HMSMessage { sender: sender, message: messageMap['message'] as String, type: messageMap['type'] as String, - time: HMSDateExtension.convertDateFromString(messageMap['time']), + time: HMSDateExtension.convertDateFromEpoch(messageMap['time']), hmsMessageRecipient: recipient); } From 5039f8a77f8c701394aa9c360b2efc5d2c432103 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 25 Jul 2024 16:30:47 +0530 Subject: [PATCH 06/38] Updated changelog --- .../example/ExampleAppChangelog.txt | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 810325734..697559da5 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -1,18 +1,12 @@ Board: https://app.devrev.ai/100ms/vistas/vista-250 -- Caption text is not in sync with other app -https://app.devrev.ai/100ms/works/ISS-22834 +- Change Role on Prebuilt +https://app.devrev.ai/100ms/works/ISS-22877 -- Noise cancellation layout API -https://app.devrev.ai/100ms/works/ISS-22858 +- Update DateTime parsing with `convertDateFromEpoch` in SDK +https://app.devrev.ai/100ms/works/ISS-22778 -- Sample application not able to access microphone from a background in Android 14. -https://app.devrev.ai/100ms/works/ISS-22907 - -- Transcription replaces older transcription from view -https://app.devrev.ai/100ms/works/ISS-22845 - -Room Kit: 1.1.5 -Core SDK: 1.10.5 +Room Kit: 1.1.6 +Core SDK: 1.10.6 Android SDK: 2.9.64 iOS SDK: 1.15.0 From cdfe2fdef8fe0bd40231045570a033443f68306f Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 25 Jul 2024 16:45:12 +0530 Subject: [PATCH 07/38] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?19=20(519)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Podfile.lock | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index d0c8a5858..84d69865e 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -36,8 +36,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 518 - versionName "1.5.218" + versionCode 519 + versionName "1.5.219" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index 135ec9926..56ece5a0b 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -133,7 +133,7 @@ PODS: - HMSSDK (1.15.0): - HMSAnalyticsSDK (= 0.0.2) - HMSWebRTC (= 1.0.6170) - - hmssdk_flutter (1.10.5): + - hmssdk_flutter (1.10.6): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) @@ -316,7 +316,7 @@ SPEC CHECKSUMS: HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 HMSNoiseCancellationModels: a3bda1405a16015632f4bcabd46ce48f35103b02 HMSSDK: fc3d2141c654e9fdca7f27c290c17b6b61b9dc92 - hmssdk_flutter: 5e98234b680a0c7f814671aa5ad649b67d6fe670 + hmssdk_flutter: 9df25dd1c713bf543a2294ec3cc61d8a5f8b81a0 HMSWebRTC: b5ffaf5d6133ae2a4c841beaf1e5e4fe06d0fb07 image_picker_ios: 99dfe1854b4fa34d0364e74a78448a0151025425 MLImage: 7bb7c4264164ade9bf64f679b40fb29c8f33ee9b diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 2389fb90c..920473093 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.218 + 1.5.219 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 518 + 519 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From f2fbc18d9ef0c4312ff5188ee68f72baaadc7619 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Mon, 29 Jul 2024 17:09:34 +0530 Subject: [PATCH 08/38] Added checks for showing change role --- .../src/widgets/bottom_sheets/change_role_bottom_sheet.dart | 1 + .../src/widgets/bottom_sheets/participants_bottom_sheet.dart | 2 +- .../src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart index 337be7eff..3f0454ccc 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart @@ -83,6 +83,7 @@ class ChangeRoleBottomSheetState extends State { child: HMSDropDown( dropDownItems: [ ...widget.roles + .where((role) => ((role.name != widget.peer.role.name) && (role.name != '__internal_recorder'))) .sortedBy((element) => element.priority.toString()) .map((role) => DropdownMenuItem( value: role, diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart index 758621ae5..34cbf292d 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart @@ -328,7 +328,7 @@ class _ParticipantsBottomSheetState extends State { ), ]), ), - if (changeRolePermission) + if (changeRolePermission && meetingStore.roles.length > 1) PopupMenuItem( value: 5, child: Row(children: [ diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart index 81857294f..ff2e637c1 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart @@ -221,9 +221,9 @@ class _RemotePeerBottomSheetState extends State { textColor: widget.peerTrackNode.track == null ? HMSThemeColors.onSurfaceLowEmphasis : HMSThemeColors.onSurfaceHighEmphasis)), - if (widget.meetingStore.localPeer?.role.permissions + if ((widget.meetingStore.localPeer?.role.permissions .changeRole ?? - false) + false) && (widget.meetingStore.roles.length > 1)) ListTile( horizontalTitleGap: 2, onTap: () async { From 8bc7b11515fd33bedf5be4aa9176c8deb6930df7 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Mon, 29 Jul 2024 17:14:52 +0530 Subject: [PATCH 09/38] Updated gem file --- .../example/android/Gemfile.lock | 38 ++++++++++--------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/Gemfile.lock b/packages/hmssdk_flutter/example/android/Gemfile.lock index fee1f0f00..0ec40a255 100644 --- a/packages/hmssdk_flutter/example/android/Gemfile.lock +++ b/packages/hmssdk_flutter/example/android/Gemfile.lock @@ -10,25 +10,25 @@ GEM i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.6) - public_suffix (>= 2.0.2, < 6.0) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.929.0) - aws-sdk-core (3.196.1) + aws-partitions (1.958.0) + aws-sdk-core (3.201.3) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.81.0) - aws-sdk-core (~> 3, >= 3.193.0) - aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.151.0) - aws-sdk-core (~> 3, >= 3.194.0) + aws-sdk-kms (1.88.0) + aws-sdk-core (~> 3, >= 3.201.0) + aws-sigv4 (~> 1.5) + aws-sdk-s3 (1.156.0) + aws-sdk-core (~> 3, >= 3.201.0) aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.8) - aws-sigv4 (1.8.0) + aws-sigv4 (~> 1.5) + aws-sigv4 (1.9.0) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) base64 (0.2.0) @@ -44,7 +44,7 @@ GEM domain_name (0.6.20240107) dotenv (2.8.1) emoji_regex (3.2.3) - excon (0.110.0) + excon (0.111.0) faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -66,7 +66,7 @@ GEM faraday-httpclient (1.0.1) faraday-multipart (1.0.4) multipart-post (~> 2) - faraday-net_http (1.0.1) + faraday-net_http (1.0.2) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) faraday-rack (1.0.0) @@ -160,16 +160,16 @@ GEM os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) highline (2.0.3) - http-cookie (1.0.5) + http-cookie (1.0.6) domain_name (~> 0.5) httpclient (2.8.3) i18n (1.14.5) concurrent-ruby (~> 1.0) jmespath (1.6.2) json (2.7.2) - jwt (2.8.1) + jwt (2.8.2) base64 - mini_magick (4.12.0) + mini_magick (4.13.2) mini_mime (1.1.5) minitest (5.22.3) multi_json (1.15.0) @@ -180,14 +180,15 @@ GEM optparse (0.5.0) os (1.1.4) plist (3.7.1) - public_suffix (5.0.5) + public_suffix (6.0.1) rake (13.2.1) representable (3.2.0) declarative (< 0.1.0) trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) retriable (3.1.2) - rexml (3.2.6) + rexml (3.2.9) + strscan rouge (2.0.7) ruby2_keywords (0.0.5) rubyzip (2.3.2) @@ -200,6 +201,7 @@ GEM simctl (1.6.10) CFPropertyList naturally + strscan (3.1.0) terminal-notifier (2.0.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) From 48bdb0b2fbcda5d6b1c3e8f6186e252cd70e957a Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Tue, 30 Jul 2024 12:45:37 +0530 Subject: [PATCH 10/38] Updated gemlock file --- packages/hmssdk_flutter/example/android/Gemfile.lock | 4 ++-- packages/hmssdk_flutter/example/ios/Gemfile.lock | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/Gemfile.lock b/packages/hmssdk_flutter/example/android/Gemfile.lock index 0ec40a255..c0bfbe11e 100644 --- a/packages/hmssdk_flutter/example/android/Gemfile.lock +++ b/packages/hmssdk_flutter/example/android/Gemfile.lock @@ -15,7 +15,7 @@ GEM artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.958.0) + aws-partitions (1.959.0) aws-sdk-core (3.201.3) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) @@ -28,7 +28,7 @@ GEM aws-sdk-core (~> 3, >= 3.201.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) - aws-sigv4 (1.9.0) + aws-sigv4 (1.9.1) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) base64 (0.2.0) diff --git a/packages/hmssdk_flutter/example/ios/Gemfile.lock b/packages/hmssdk_flutter/example/ios/Gemfile.lock index 795ca6aea..4a2152c75 100644 --- a/packages/hmssdk_flutter/example/ios/Gemfile.lock +++ b/packages/hmssdk_flutter/example/ios/Gemfile.lock @@ -15,8 +15,8 @@ GEM artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.955.0) - aws-sdk-core (3.201.1) + aws-partitions (1.959.0) + aws-sdk-core (3.201.3) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) @@ -28,7 +28,7 @@ GEM aws-sdk-core (~> 3, >= 3.201.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) - aws-sigv4 (1.8.0) + aws-sigv4 (1.9.1) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) base64 (0.2.0) @@ -66,7 +66,7 @@ GEM faraday-httpclient (1.0.1) faraday-multipart (1.0.4) multipart-post (~> 2) - faraday-net_http (1.0.1) + faraday-net_http (1.0.2) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) faraday-rack (1.0.0) @@ -181,7 +181,7 @@ GEM optparse (0.5.0) os (1.1.4) plist (3.7.1) - public_suffix (6.0.0) + public_suffix (6.0.1) rake (13.2.1) representable (3.2.0) declarative (< 0.1.0) From df5690cc4c28a507e9d6b4f5a72beb0ee608c497 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Tue, 30 Jul 2024 13:12:07 +0530 Subject: [PATCH 11/38] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?20=20(520)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Gemfile.lock | 2 +- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 84d69865e..3739f6891 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -36,8 +36,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 519 - versionName "1.5.219" + versionCode 520 + versionName "1.5.220" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Gemfile.lock b/packages/hmssdk_flutter/example/ios/Gemfile.lock index 4a2152c75..23188b68c 100644 --- a/packages/hmssdk_flutter/example/ios/Gemfile.lock +++ b/packages/hmssdk_flutter/example/ios/Gemfile.lock @@ -74,7 +74,7 @@ GEM faraday_middleware (1.2.0) faraday (~> 1.0) fastimage (2.3.1) - fastlane (2.221.1) + fastlane (2.222.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 920473093..f7598d65c 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.219 + 1.5.220 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 519 + 520 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From ea8e62a4daab3f35000cc5cd47bb7333a6e7c008 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:27:44 +0530 Subject: [PATCH 12/38] Fix: Username is not honoured while skip preview is true (#1807) --- packages/hms_room_kit/lib/src/preview_meeting_flow.dart | 4 +++- .../src/widgets/bottom_sheets/change_role_bottom_sheet.dart | 3 ++- .../src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart | 5 +++-- .../lib/src/widgets/common_widgets/message_container.dart | 4 +--- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/hms_room_kit/lib/src/preview_meeting_flow.dart b/packages/hms_room_kit/lib/src/preview_meeting_flow.dart index 9391cc15e..86ccbcc9b 100644 --- a/packages/hms_room_kit/lib/src/preview_meeting_flow.dart +++ b/packages/hms_room_kit/lib/src/preview_meeting_flow.dart @@ -42,7 +42,9 @@ class _PreviewMeetingFlowState extends State { Widget build(BuildContext context) { return HMSRoomLayout.skipPreview ? MeetingScreenController( - user: widget.prebuiltOptions?.userId ?? "", + user: widget.prebuiltOptions?.userName ?? + widget.prebuiltOptions?.userId ?? + "", localPeerNetworkQuality: null, options: widget.prebuiltOptions, tokenData: widget.tokenData, diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart index 3f0454ccc..06b0df5f4 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/change_role_bottom_sheet.dart @@ -83,7 +83,8 @@ class ChangeRoleBottomSheetState extends State { child: HMSDropDown( dropDownItems: [ ...widget.roles - .where((role) => ((role.name != widget.peer.role.name) && (role.name != '__internal_recorder'))) + .where((role) => ((role.name != widget.peer.role.name) && + (role.name != '__internal_recorder'))) .sortedBy((element) => element.priority.toString()) .map((role) => DropdownMenuItem( value: role, diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart index ff2e637c1..a2259d32e 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/remote_peer_bottom_sheet.dart @@ -222,8 +222,9 @@ class _RemotePeerBottomSheetState extends State { ? HMSThemeColors.onSurfaceLowEmphasis : HMSThemeColors.onSurfaceHighEmphasis)), if ((widget.meetingStore.localPeer?.role.permissions - .changeRole ?? - false) && (widget.meetingStore.roles.length > 1)) + .changeRole ?? + false) && + (widget.meetingStore.roles.length > 1)) ListTile( horizontalTitleGap: 2, onTap: () async { diff --git a/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart b/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart index 86c44e56c..d3753bba5 100644 --- a/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart +++ b/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart @@ -97,9 +97,7 @@ class MessageContainer extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.end, children: [ HMSSubtitleText( - text: message.time == null - ? "" - : formatter.format(message.time!), + text: formatter.format(message.time), textColor: HMSThemeColors.onSurfaceMediumEmphasis, ), const SizedBox( From 5dca78c3459729ab5ed6f66977d7619a4fd9462c Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Tue, 6 Aug 2024 13:24:59 +0530 Subject: [PATCH 13/38] Fixed date error --- packages/hms_room_kit/example/pubspec.lock | 79 ++++++++++++------- .../common_widgets/message_container.dart | 4 +- packages/hms_room_kit/pubspec.lock | 77 +++++++++++------- packages/hmssdk_flutter/example/pubspec.lock | 68 ++++++++++------ packages/hmssdk_flutter/pubspec.lock | 68 ++++++++++------ 5 files changed, 196 insertions(+), 100 deletions(-) diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index c62245892..5e23cde1c 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -61,10 +61,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" cross_file: dependency: transitive description: @@ -238,15 +238,14 @@ packages: path: ".." relative: true source: path - version: "1.1.5" + version: "1.1.6" hmssdk_flutter: dependency: transitive description: - name: hmssdk_flutter - sha256: "2da8500708d8a8ebfa3d3ffb2f1deafd0ff23828dfaff6fdd1b4367da6337cf0" - url: "https://pub.dev" - source: hosted - version: "1.10.5" + path: "../../hmssdk_flutter" + relative: true + source: path + version: "1.10.6" http: dependency: transitive description: @@ -343,6 +342,30 @@ packages: url: "https://pub.dev" source: hosted version: "0.6.7" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + url: "https://pub.dev" + source: hosted + version: "10.0.4" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + url: "https://pub.dev" + source: hosted + version: "3.0.3" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" linkify: dependency: transitive description: @@ -371,26 +394,26 @@ packages: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.8.0" meta: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.12.0" mime: dependency: transitive description: @@ -411,10 +434,10 @@ packages: dependency: transitive description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.0" path_parsing: dependency: transitive description: @@ -672,18 +695,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -704,10 +727,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.7.0" tuple: dependency: transitive description: @@ -836,14 +859,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.4.0+2" - web: + vm_service: dependency: transitive description: - name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + name: vm_service + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "14.2.1" webview_flutter: dependency: transitive description: @@ -901,5 +924,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.1.0 <4.0.0" - flutter: ">=3.13.0" + dart: ">=3.3.0 <4.0.0" + flutter: ">=3.18.0-18.0.pre.54" diff --git a/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart b/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart index d3753bba5..86c44e56c 100644 --- a/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart +++ b/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart @@ -97,7 +97,9 @@ class MessageContainer extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.end, children: [ HMSSubtitleText( - text: formatter.format(message.time), + text: message.time == null + ? "" + : formatter.format(message.time!), textColor: HMSThemeColors.onSurfaceMediumEmphasis, ), const SizedBox( diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index df659cc15..3a763c7ec 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -61,10 +61,10 @@ packages: dependency: "direct main" description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" cross_file: dependency: transitive description: @@ -219,11 +219,10 @@ packages: hmssdk_flutter: dependency: "direct main" description: - name: hmssdk_flutter - sha256: "2da8500708d8a8ebfa3d3ffb2f1deafd0ff23828dfaff6fdd1b4367da6337cf0" - url: "https://pub.dev" - source: hosted - version: "1.10.5" + path: "../hmssdk_flutter" + relative: true + source: path + version: "1.10.6" http: dependency: transitive description: @@ -320,6 +319,30 @@ packages: url: "https://pub.dev" source: hosted version: "0.6.7" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + url: "https://pub.dev" + source: hosted + version: "10.0.4" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + url: "https://pub.dev" + source: hosted + version: "3.0.3" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" linkify: dependency: transitive description: @@ -348,26 +371,26 @@ packages: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.8.0" meta: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.12.0" mime: dependency: transitive description: @@ -388,10 +411,10 @@ packages: dependency: transitive description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.0" path_parsing: dependency: transitive description: @@ -649,18 +672,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -681,10 +704,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.7.0" tuple: dependency: "direct main" description: @@ -813,14 +836,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.4.0+2" - web: + vm_service: dependency: transitive description: - name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + name: vm_service + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "14.2.1" webview_flutter: dependency: "direct main" description: @@ -878,5 +901,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.1.0 <4.0.0" - flutter: ">=3.13.0" + dart: ">=3.3.0 <4.0.0" + flutter: ">=3.18.0-18.0.pre.54" diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 151c71ca3..581bbbe4b 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -77,10 +77,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" cross_file: dependency: transitive description: @@ -439,6 +439,30 @@ packages: url: "https://pub.dev" source: hosted version: "0.6.7" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + url: "https://pub.dev" + source: hosted + version: "10.0.4" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + url: "https://pub.dev" + source: hosted + version: "3.0.3" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" linkify: dependency: transitive description: @@ -459,26 +483,26 @@ packages: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.8.0" meta: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.12.0" mime: dependency: transitive description: @@ -523,10 +547,10 @@ packages: dependency: transitive description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.0" path_parsing: dependency: transitive description: @@ -784,18 +808,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -816,10 +840,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.7.0" tuple: dependency: transitive description: @@ -948,14 +972,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.4.0+2" - web: + vm_service: dependency: transitive description: - name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + name: vm_service + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "14.2.1" webview_flutter: dependency: transitive description: @@ -1013,5 +1037,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.1.0 <4.0.0" - flutter: ">=3.13.0" + dart: ">=3.3.0 <4.0.0" + flutter: ">=3.18.0-18.0.pre.54" diff --git a/packages/hmssdk_flutter/pubspec.lock b/packages/hmssdk_flutter/pubspec.lock index 2932c9c3b..644a72000 100644 --- a/packages/hmssdk_flutter/pubspec.lock +++ b/packages/hmssdk_flutter/pubspec.lock @@ -37,10 +37,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" fake_async: dependency: transitive description: @@ -59,6 +59,30 @@ packages: description: flutter source: sdk version: "0.0.0" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + url: "https://pub.dev" + source: hosted + version: "10.0.4" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + url: "https://pub.dev" + source: hosted + version: "3.0.3" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + url: "https://pub.dev" + source: hosted + version: "3.0.1" lints: dependency: "direct dev" description: @@ -71,34 +95,34 @@ packages: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.8.0" meta: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.12.0" path: dependency: transitive description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.0" sky_engine: dependency: transitive description: flutter @@ -116,18 +140,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -148,10 +172,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.7.0" vector_math: dependency: transitive description: @@ -160,14 +184,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" - web: + vm_service: dependency: transitive description: - name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + name: vm_service + sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "14.2.1" sdks: - dart: ">=3.1.0-185.0.dev <4.0.0" - flutter: ">=2.10.0" + dart: ">=3.3.0 <4.0.0" + flutter: ">=3.18.0-18.0.pre.54" From 7abd2da05f20b04185977ed57cb4266ef9b83ed5 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Tue, 6 Aug 2024 18:35:09 +0530 Subject: [PATCH 14/38] chore: removed noise cancellation dependency from hmssdk and moved it to application (#1808) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Removed noise cancellation dependency from hmssdk and moved it to application * 🤖 Automated Format and Fix --------- Co-authored-by: Decoder07 --- packages/hmssdk_flutter/android/build.gradle | 1 - .../example/android/app/build.gradle | 5 ++ packages/hmssdk_flutter/example/pubspec.lock | 68 ++++++------------- packages/hmssdk_flutter/pubspec.lock | 68 ++++++------------- 4 files changed, 49 insertions(+), 93 deletions(-) diff --git a/packages/hmssdk_flutter/android/build.gradle b/packages/hmssdk_flutter/android/build.gradle index 6accc5814..8350bb55f 100644 --- a/packages/hmssdk_flutter/android/build.gradle +++ b/packages/hmssdk_flutter/android/build.gradle @@ -50,7 +50,6 @@ dependencies { implementation "live.100ms:android-sdk:${sdkVersions['android']}" implementation "live.100ms:video-view:${sdkVersions['android']}" implementation "live.100ms:hls-player:${sdkVersions['android']}" - implementation "live.100ms:hms-noise-cancellation-android:${sdkVersions['android']}" implementation 'com.google.code.gson:gson:2.9.0' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.0' diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 3739f6891..cb01c87b0 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -1,5 +1,9 @@ +import groovy.json.JsonSlurper + def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') +def sdkVersions = new JsonSlurper().parse file("../../../lib/assets/sdk-versions.json") + if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) @@ -79,6 +83,7 @@ flutter { dependencies { implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'com.google.firebase:firebase-crashlytics:18.6.2' + implementation "live.100ms:hms-noise-cancellation-android:${sdkVersions['android']}" } apply plugin: 'com.google.gms.google-services' diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 581bbbe4b..151c71ca3 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -77,10 +77,10 @@ packages: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.17.2" cross_file: dependency: transitive description: @@ -439,30 +439,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.6.7" - leak_tracker: - dependency: transitive - description: - name: leak_tracker - sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" - url: "https://pub.dev" - source: hosted - version: "10.0.4" - leak_tracker_flutter_testing: - dependency: transitive - description: - name: leak_tracker_flutter_testing - sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" - url: "https://pub.dev" - source: hosted - version: "3.0.3" - leak_tracker_testing: - dependency: transitive - description: - name: leak_tracker_testing - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" - url: "https://pub.dev" - source: hosted - version: "3.0.1" linkify: dependency: transitive description: @@ -483,26 +459,26 @@ packages: dependency: transitive description: name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb + sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" url: "https://pub.dev" source: hosted - version: "0.12.16+1" + version: "0.12.16" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.5.0" meta: dependency: transitive description: name: meta - sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.9.1" mime: dependency: transitive description: @@ -547,10 +523,10 @@ packages: dependency: transitive description: name: path - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "1.8.3" path_parsing: dependency: transitive description: @@ -808,18 +784,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.1" string_scanner: dependency: transitive description: @@ -840,10 +816,10 @@ packages: dependency: transitive description: name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" + sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" url: "https://pub.dev" source: hosted - version: "0.7.0" + version: "0.6.0" tuple: dependency: transitive description: @@ -972,14 +948,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.4.0+2" - vm_service: + web: dependency: transitive description: - name: vm_service - sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" + name: web + sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 url: "https://pub.dev" source: hosted - version: "14.2.1" + version: "0.1.4-beta" webview_flutter: dependency: transitive description: @@ -1037,5 +1013,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.3.0 <4.0.0" - flutter: ">=3.18.0-18.0.pre.54" + dart: ">=3.1.0 <4.0.0" + flutter: ">=3.13.0" diff --git a/packages/hmssdk_flutter/pubspec.lock b/packages/hmssdk_flutter/pubspec.lock index 644a72000..2932c9c3b 100644 --- a/packages/hmssdk_flutter/pubspec.lock +++ b/packages/hmssdk_flutter/pubspec.lock @@ -37,10 +37,10 @@ packages: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.17.2" fake_async: dependency: transitive description: @@ -59,30 +59,6 @@ packages: description: flutter source: sdk version: "0.0.0" - leak_tracker: - dependency: transitive - description: - name: leak_tracker - sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" - url: "https://pub.dev" - source: hosted - version: "10.0.4" - leak_tracker_flutter_testing: - dependency: transitive - description: - name: leak_tracker_flutter_testing - sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" - url: "https://pub.dev" - source: hosted - version: "3.0.3" - leak_tracker_testing: - dependency: transitive - description: - name: leak_tracker_testing - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" - url: "https://pub.dev" - source: hosted - version: "3.0.1" lints: dependency: "direct dev" description: @@ -95,34 +71,34 @@ packages: dependency: transitive description: name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb + sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" url: "https://pub.dev" source: hosted - version: "0.12.16+1" + version: "0.12.16" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.5.0" meta: dependency: transitive description: name: meta - sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.9.1" path: dependency: transitive description: name: path - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "1.8.3" sky_engine: dependency: transitive description: flutter @@ -140,18 +116,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.1" string_scanner: dependency: transitive description: @@ -172,10 +148,10 @@ packages: dependency: transitive description: name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" + sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" url: "https://pub.dev" source: hosted - version: "0.7.0" + version: "0.6.0" vector_math: dependency: transitive description: @@ -184,14 +160,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" - vm_service: + web: dependency: transitive description: - name: vm_service - sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" + name: web + sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 url: "https://pub.dev" source: hosted - version: "14.2.1" + version: "0.1.4-beta" sdks: - dart: ">=3.3.0 <4.0.0" - flutter: ">=3.18.0-18.0.pre.54" + dart: ">=3.1.0-185.0.dev <4.0.0" + flutter: ">=2.10.0" From 927f7ec80db12ab6a3f037670f8fc37d86f4cb3a Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 29 Aug 2024 13:15:55 +0530 Subject: [PATCH 15/38] feat: added android methods for zoom support (#1811) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: added android methods for zoom support * 🤖 Automated Format and Fix * Resolved conflicts * 🤖 Automated Format and Fix * fixed isZoomSupported method on android * increased app version * Updated changelog * released sample app version 1.5.223 (523) 🍀 * 🤖 Automated Format and Fix * added debug mode flag in zoom controls * 🤖 Automated Format and Fix --------- Co-authored-by: Decoder07 --- .../local_peer_bottom_sheet.dart | 53 +++++++++- .../hms/hmssdk_flutter/HmssdkFlutterPlugin.kt | 2 +- .../methods/HMSCameraControlsAction.kt | 98 ++++++++++++++++++- .../example/ExampleAppChangelog.txt | 7 +- .../example/android/app/build.gradle | 4 +- .../hmssdk_flutter/example/ios/Podfile.lock | 2 +- .../ios/Runner.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/xcschemes/Runner.xcscheme | 2 +- .../example/ios/Runner/Info.plist | 4 +- .../Actions/HMSCameraControlsAction.swift | 55 ++++++++++- .../Classes/SwiftHmssdkFlutterPlugin.swift | 2 +- .../lib/src/common/platform_methods.dart | 28 ++++++ .../lib/src/model/hms_camera_controls.dart | 66 +++++++++++++ 13 files changed, 308 insertions(+), 17 deletions(-) diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/local_peer_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/local_peer_bottom_sheet.dart index 3095335f3..e946f184f 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/local_peer_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/local_peer_bottom_sheet.dart @@ -4,6 +4,7 @@ library; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:hms_room_kit/src/widgets/common_widgets/hms_cross_button.dart'; +import 'package:hmssdk_flutter/hmssdk_flutter.dart'; import 'package:provider/provider.dart'; ///Project imports @@ -51,7 +52,10 @@ class _LocalPeerBottomSheetState extends State { @override Widget build(BuildContext context) { return FractionallySizedBox( - heightFactor: widget.isInsetTile ? 0.26 : 0.2, + heightFactor: + (AppDebugConfig.isDebugMode && widget.meetingStore.isVideoOn) + ? (widget.isInsetTile ? 0.46 : 0.4) + : (widget.isInsetTile ? 0.26 : 0.2), child: Padding( padding: const EdgeInsets.only(top: 16.0, left: 24, right: 24), child: Column( @@ -228,6 +232,53 @@ class _LocalPeerBottomSheetState extends State { widget.meetingStore.peerTracks.length > 1 ? HMSThemeColors.onSurfaceHighEmphasis : HMSThemeColors.onSurfaceLowEmphasis)), + if (AppDebugConfig.isDebugMode && + widget.meetingStore.isVideoOn) + ListTile( + horizontalTitleGap: 2, + onTap: () async { + Navigator.pop(context); + bool isZoomSupported = + await HMSCameraControls.isZoomSupported(); + if (isZoomSupported) { + HMSCameraControls.setZoom(zoomValue: 2); + } + }, + contentPadding: EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/maximize.svg", + semanticsLabel: "fl_local_pin_tile", + height: 20, + width: 20, + colorFilter: ColorFilter.mode( + HMSThemeColors.onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubheadingText( + text: "Zoom In (2x)", + textColor: HMSThemeColors.onSurfaceHighEmphasis)), + + if (AppDebugConfig.isDebugMode && + widget.meetingStore.isVideoOn) + ListTile( + horizontalTitleGap: 2, + onTap: () async { + Navigator.pop(context); + HMSCameraControls.resetZoom(); + }, + contentPadding: EdgeInsets.zero, + leading: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/minimize.svg", + semanticsLabel: "fl_local_pin_tile", + height: 20, + width: 20, + colorFilter: ColorFilter.mode( + HMSThemeColors.onSurfaceHighEmphasis, + BlendMode.srcIn), + ), + title: HMSSubheadingText( + text: "Reset zoom", + textColor: HMSThemeColors.onSurfaceHighEmphasis)), ], ), ), diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt index 3d7cb5cdd..51c2dc636 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HmssdkFlutterPlugin.kt @@ -255,7 +255,7 @@ class HmssdkFlutterPlugin : "capture_snapshot" -> { captureSnapshot(call, result) } - "is_tap_to_focus_supported", "capture_image_at_max_supported_resolution", "is_zoom_supported", "is_flash_supported", "toggle_flash" -> { + "is_tap_to_focus_supported", "capture_image_at_max_supported_resolution", "is_zoom_supported", "is_flash_supported", "toggle_flash", "set_zoom", "reset_zoom", "get_max_zoom", "get_min_zoom" -> { HMSCameraControlsAction.cameraControlsAction(call, result, hmssdk!!, activity.applicationContext) } "get_session_metadata_for_key", "set_session_metadata_for_key" -> { diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSCameraControlsAction.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSCameraControlsAction.kt index 7a1040118..d31f130ff 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSCameraControlsAction.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/methods/HMSCameraControlsAction.kt @@ -24,6 +24,10 @@ class HMSCameraControlsAction { "capture_image_at_max_supported_resolution" -> captureImageAtMaxSupportedResolution(call, result, hmssdk, context) "is_flash_supported" -> isFlashSupported(result, hmssdk) "toggle_flash" -> toggleFlash(result, hmssdk) + "set_zoom" -> setZoom(call, result, hmssdk) + "reset_zoom" -> resetZoom(result, hmssdk) + "get_max_zoom" -> getMaxZoom(result, hmssdk) + "get_min_zoom" -> getMinZoom(result, hmssdk) else -> { result.notImplemented() } @@ -54,7 +58,7 @@ class HMSCameraControlsAction { hmssdk.getLocalPeer()?.let { localPeer -> localPeer.videoTrack?.let { localVideoTrack -> localVideoTrack.getCameraControl()?.let { cameraControl -> - HMSResultExtension.toDictionary(true, cameraControl.isZoomSupported()) + result.success(HMSResultExtension.toDictionary(true, cameraControl.isZoomSupported())) return } } @@ -206,5 +210,97 @@ class HMSCameraControlsAction { return } } + + private fun setZoom( + call: MethodCall, + result: Result, + hmssdk: HMSSDK + ){ + val zoomValue = call.argument("zoom_value") + zoomValue?.let { _zoomValue -> + hmssdk.getLocalPeer()?.let { localPeer -> + localPeer.videoTrack?.let { localVideoTrack -> + localVideoTrack.getCameraControl()?.setZoom( + _zoomValue.toFloat() + ) + } ?: run { + result.success(HMSResultExtension.toDictionary(false, HMSExceptionExtension.getError("local video track is null"))) + return + } + } ?: run { + result.success(HMSResultExtension.toDictionary(false, HMSExceptionExtension.getError("local peer is null"))) + return + } + }?:run{ + HMSErrorLogger.returnArgumentsError("zoom value parameter is null in setZoom method") + return + } + } + + private fun resetZoom( + result: Result, + hmssdk: HMSSDK, + ){ + hmssdk.getLocalPeer()?.let { localPeer -> + localPeer.videoTrack?.let { localVideoTrack -> + localVideoTrack.getCameraControl()?.resetZoom() ?: run { + result.success(HMSResultExtension.toDictionary(false, HMSExceptionExtension.getError("cameraControl is null"))) + return + } + } ?: run { + result.success(HMSResultExtension.toDictionary(false, HMSExceptionExtension.getError("local video track is null"))) + return + } + } ?: run { + result.success(HMSResultExtension.toDictionary(false, HMSExceptionExtension.getError("local peer is null"))) + return + } + } + + private fun getMinZoom( + result: Result, + hmssdk: HMSSDK, + ){ + hmssdk.getLocalPeer()?.let { localPeer -> + localPeer.videoTrack?.let { localVideoTrack -> + localVideoTrack.getCameraControl()?.let { cameraControl -> + result.success(HMSResultExtension.toDictionary(true, cameraControl.getMinZoom())) + return + } ?: run { + result.success(HMSResultExtension.toDictionary(false, HMSExceptionExtension.getError("cameraControl is null"))) + return + } + } ?: run { + result.success(HMSResultExtension.toDictionary(false, HMSExceptionExtension.getError("local video track is null"))) + return + } + } ?: run { + result.success(HMSResultExtension.toDictionary(false, HMSExceptionExtension.getError("local peer is null"))) + return + } + } + + private fun getMaxZoom( + result: Result, + hmssdk: HMSSDK, + ){ + hmssdk.getLocalPeer()?.let { localPeer -> + localPeer.videoTrack?.let { localVideoTrack -> + localVideoTrack.getCameraControl()?.let { cameraControl -> + result.success(HMSResultExtension.toDictionary(true, cameraControl.getMaxZoom())) + return + } ?: run { + result.success(HMSResultExtension.toDictionary(false, HMSExceptionExtension.getError("cameraControl is null"))) + return + } + } ?: run { + result.success(HMSResultExtension.toDictionary(false, HMSExceptionExtension.getError("local video track is null"))) + return + } + } ?: run { + result.success(HMSResultExtension.toDictionary(false, HMSExceptionExtension.getError("local peer is null"))) + return + } + } } } diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 697559da5..f1a7ecf49 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -1,10 +1,7 @@ Board: https://app.devrev.ai/100ms/vistas/vista-250 -- Change Role on Prebuilt -https://app.devrev.ai/100ms/works/ISS-22877 - -- Update DateTime parsing with `convertDateFromEpoch` in SDK -https://app.devrev.ai/100ms/works/ISS-22778 +- Add support for zoom in camera controls +https://app.devrev.ai/100ms/works/ISS-23282 Room Kit: 1.1.6 Core SDK: 1.10.6 diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index cb01c87b0..17dd04245 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -40,8 +40,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 520 - versionName "1.5.220" + versionCode 523 + versionName "1.5.223" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index 56ece5a0b..c7f975b7c 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -303,7 +303,7 @@ SPEC CHECKSUMS: FirebaseRemoteConfigInterop: 6efda51fb5e2f15b16585197e26eaa09574e8a4d FirebaseSessions: dbd14adac65ce996228652c1fc3a3f576bdf3ecc FirebaseSharedSwift: 20530f495084b8d840f78a100d8c5ee613375f6e - Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 + Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817 GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a GoogleMLKit: 2bd0dc6253c4d4f227aad460f69215a504b2980e diff --git a/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/project.pbxproj b/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/project.pbxproj index fc0c44fb7..37fb2667c 100644 --- a/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/project.pbxproj @@ -248,7 +248,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 1340; - LastUpgradeCheck = 1430; + LastUpgradeCheck = 1510; ORGANIZATIONNAME = 100ms; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index a6b826db2..5e31d3d34 100644 --- a/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.220 + 1.5.223 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 520 + 523 ITSAppUsesNonExemptEncryption LSApplicationCategoryType diff --git a/packages/hmssdk_flutter/ios/Classes/Actions/HMSCameraControlsAction.swift b/packages/hmssdk_flutter/ios/Classes/Actions/HMSCameraControlsAction.swift index 3d8c2b185..e519c3e23 100644 --- a/packages/hmssdk_flutter/ios/Classes/Actions/HMSCameraControlsAction.swift +++ b/packages/hmssdk_flutter/ios/Classes/Actions/HMSCameraControlsAction.swift @@ -32,9 +32,15 @@ class HMSCameraControlsAction { case "toggle_flash": toggleFlash(result, hmsSDK) + + case "set_zoom": + setZoom(call, result, hmsSDK) + + case "reset_zoom": + resetZoom(result, hmsSDK) // these method calls return FlutterMethodNotImplemented to indicate that the requested functionality is not yet implemented. - case "is_tap_to_focus_supported", "is_zoom_supported": + case "is_tap_to_focus_supported", "is_zoom_supported", "get_max_zoom", "get_min_zoom": result(FlutterMethodNotImplemented) // If the method call does not match any of the above cases, also return FlutterMethodNotImplemented. @@ -170,4 +176,51 @@ class HMSCameraControlsAction { formatter.timeStyle = .medium return formatter.string(from: Date()) } + + static private func setZoom(_ call: FlutterMethodCall, _ result: @escaping FlutterResult, _ hmsSDK: HMSSDK?){ + guard let localPeer = hmsSDK?.localPeer else { + result(HMSResultExtension.toDictionary(false, HMSErrorExtension.getError("\(#function) An instance of Local Peer could not be found. Please check if a Room is joined."))) + return + } + + guard let localVideoTrack = localPeer.localVideoTrack() + else { + result(HMSResultExtension.toDictionary(false, HMSErrorExtension.getError("\(#function) Video Track of Local Peer could not be found. Please check if the Local Peer has permission to publish video & video is unmuted currently."))) + return + } + + let arguments = call.arguments as? [AnyHashable: Any] + + guard let zoomValue = arguments?["zoom_value"] as? CGFloat + else{ + HMSErrorLogger.returnArgumentsError("zoom value can't be empty") + return + } + + localVideoTrack.modifyCaptureDevice { device in + + guard let device = device else { return } + + device.videoZoomFactor = zoomValue + } + } + + static private func resetZoom(_ result: @escaping FlutterResult, _ hmsSDK: HMSSDK?){ + guard let localPeer = hmsSDK?.localPeer else { + result(HMSResultExtension.toDictionary(false, HMSErrorExtension.getError("\(#function) An instance of Local Peer could not be found. Please check if a Room is joined."))) + return + } + + guard let localVideoTrack = localPeer.localVideoTrack() + else { + result(HMSResultExtension.toDictionary(false, HMSErrorExtension.getError("\(#function) Video Track of Local Peer could not be found. Please check if the Local Peer has permission to publish video & video is unmuted currently."))) + return + } + + localVideoTrack.modifyCaptureDevice { device in + + guard let device = device else { return } + device.videoZoomFactor = 1.0 + } + } } diff --git a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift index 9d56521d1..9db792145 100644 --- a/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift +++ b/packages/hmssdk_flutter/ios/Classes/SwiftHmssdkFlutterPlugin.swift @@ -315,7 +315,7 @@ public class SwiftHmssdkFlutterPlugin: NSObject, FlutterPlugin, HMSUpdateListene // MARK: - Advanced Camera Controls - case "capture_image_at_max_supported_resolution", "is_tap_to_focus_supported", "is_zoom_supported", "is_flash_supported", "toggle_flash": + case "capture_image_at_max_supported_resolution", "is_tap_to_focus_supported", "is_zoom_supported", "is_flash_supported", "toggle_flash", "set_zoom", "reset_zoom", "get_max_zoom", "get_min_zoom": HMSCameraControlsAction.cameraControlsAction(call, result, hmsSDK) // MARK: - Session Store diff --git a/packages/hmssdk_flutter/lib/src/common/platform_methods.dart b/packages/hmssdk_flutter/lib/src/common/platform_methods.dart index 7cb9c51bf..d47cb6551 100644 --- a/packages/hmssdk_flutter/lib/src/common/platform_methods.dart +++ b/packages/hmssdk_flutter/lib/src/common/platform_methods.dart @@ -165,9 +165,17 @@ enum PlatformMethod { captureSnapshot, getAllLogs, getAuthTokenByRoomCode, + + ///Camera Controls captureImageAtMaxSupportedResolution, isFlashSupported, toggleFlash, + isZoomSupported, + setZoom, + resetZoom, + getMaxZoom, + getMinZoom, + getSessionMetadataForKey, setSessionMetadataForKey, addKeyChangeListener, @@ -494,6 +502,16 @@ extension PlatformMethodValues on PlatformMethod { return "is_flash_supported"; case PlatformMethod.toggleFlash: return "toggle_flash"; + case PlatformMethod.isZoomSupported: + return "is_zoom_supported"; + case PlatformMethod.setZoom: + return "set_zoom"; + case PlatformMethod.resetZoom: + return "reset_zoom"; + case PlatformMethod.getMaxZoom: + return "get_max_zoom"; + case PlatformMethod.getMinZoom: + return "get_min_zoom"; case PlatformMethod.getSessionMetadataForKey: return "get_session_metadata_for_key"; case PlatformMethod.setSessionMetadataForKey: @@ -881,6 +899,16 @@ extension PlatformMethodValues on PlatformMethod { return PlatformMethod.isFlashSupported; case "toggle_flash": return PlatformMethod.toggleFlash; + case "is_zoom_supported": + return PlatformMethod.isZoomSupported; + case "set_zoom": + return PlatformMethod.setZoom; + case "reset_zoom": + return PlatformMethod.resetZoom; + case "get_max_zoom": + return PlatformMethod.getMaxZoom; + case "get_min_zoom": + return PlatformMethod.getMinZoom; case "get_session_metadata_for_key": return PlatformMethod.getSessionMetadataForKey; case "set_session_metadata_for_key": diff --git a/packages/hmssdk_flutter/lib/src/model/hms_camera_controls.dart b/packages/hmssdk_flutter/lib/src/model/hms_camera_controls.dart index ed08cf467..c1c439ef7 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_camera_controls.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_camera_controls.dart @@ -1,3 +1,6 @@ +import 'dart:developer'; +import 'dart:io'; + import 'package:hmssdk_flutter/src/common/platform_methods.dart'; import 'package:hmssdk_flutter/src/exceptions/hms_exception.dart'; import 'package:hmssdk_flutter/src/service/platform_service.dart'; @@ -61,4 +64,67 @@ class HMSCameraControls { return HMSException.fromMap(result["data"]["error"]); } } + + static Future isZoomSupported() async { + if (Platform.isAndroid) { + var result = + await PlatformService.invokeMethod(PlatformMethod.isZoomSupported); + if (result["success"]) { + return result["data"]; + } else { + return false; + } + } else { + return true; + } + } + + static Future setZoom({required double zoomValue}) async { + var result = + await PlatformService.invokeMethod(PlatformMethod.setZoom, arguments: { + "zoom_value": zoomValue, + }); + if (result["success"]) { + return result["data"]; + } else { + return HMSException.fromMap(result["data"]["error"]); + } + } + + static Future resetZoom() async { + var result = await PlatformService.invokeMethod(PlatformMethod.resetZoom); + if (result["success"]) { + return result["data"]; + } else { + return HMSException.fromMap(result["data"]["error"]); + } + } + + static Future getMinZoom() async { + if (Platform.isAndroid) { + var result = + await PlatformService.invokeMethod(PlatformMethod.getMinZoom); + if (result["success"]) { + return result["data"]; + } else { + return HMSException.fromMap(result["data"]["error"]); + } + } else { + log("getMinZoom is only available on android"); + } + } + + static Future getMaxZoom() async { + if (Platform.isAndroid) { + var result = + await PlatformService.invokeMethod(PlatformMethod.getMaxZoom); + if (result["success"]) { + return result["data"]; + } else { + return HMSException.fromMap(result["data"]["error"]); + } + } else { + log("getMaxZoom is only available on android"); + } + } } From e08c00aa0160f732b1a2a3d925d4d3b7f7b1e3e8 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 29 Aug 2024 13:18:38 +0530 Subject: [PATCH 16/38] feat: Hand Raise sorting based on Time (#1812) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: Hand Raise sorting based on Time * 🤖 Automated Format and Fix --------- Co-authored-by: Decoder07 --- .../lib/src/meeting/meeting_store.dart | 33 ++++++++++++ .../participants_bottom_sheet.dart | 50 +++++++++++-------- 2 files changed, 63 insertions(+), 20 deletions(-) diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart index a3730dd64..bebe8531d 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -666,16 +666,45 @@ class MeetingStore extends ChangeNotifier void toggleLocalPeerHandRaise() { if (isRaisedHand) { _hmsSDKInteractor.lowerLocalPeerHand(hmsActionResultListener: this); + resetTimestampWhenHandDown(); } else { _hmsSDKInteractor.raiseLocalPeerHand(hmsActionResultListener: this); + setTimestampWhenHandRaise(); } } + void setTimestampWhenHandRaise() { + int currentTime = DateTime.now().millisecondsSinceEpoch; + log("Vkohli Setting timestamp for hand raise $currentTime"); + _hmsSDKInteractor.changeMetadata( + metadata: + "{\"isBRBOn\":false,\"prevRole\":\"$previousRole\",\"handRaisedAt\":${currentTime}}", + hmsActionResultListener: this); + } + + void resetTimestampWhenHandDown() { + _hmsSDKInteractor.changeMetadata( + metadata: "{\"isBRBOn\":false,\"prevRole\":\"$previousRole\"}", + hmsActionResultListener: this); + } + void lowerRemotePeerHand(HMSPeer forPeer) { _hmsSDKInteractor.lowerRemotePeerHand( forPeer: forPeer, hmsActionResultListener: this); } + int _getTimestampFromPeerMetadata(String? metadata) { + if (metadata == null) { + return 0; + } + try { + Map metadataMap = jsonDecode(metadata); + return metadataMap["handRaisedAt"]; + } catch (e) { + return 0; + } + } + bool isBRB = false; void changeMetadataBRB() { @@ -1604,6 +1633,10 @@ class MeetingStore extends ChangeNotifier (handDownPeer) => handDownPeer.peer.peerId == peer.peerId); participantsInMeetingMap[peer.role.name]?[index].updatePeer(peer); } + participantsInMeetingMap["Hand Raised"]?.sort((a, b) { + return _getTimestampFromPeerMetadata(a.peer.metadata) + .compareTo(_getTimestampFromPeerMetadata(b.peer.metadata)); + }); notifyListeners(); } else if (peerUpdate == HMSPeerUpdate.metadataChanged) { participantsInMeetingMap[peer.role.name]?[index].updatePeer(peer); diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart index 34cbf292d..a1ac8375a 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/participants_bottom_sheet.dart @@ -69,6 +69,10 @@ class _ParticipantsBottomSheetState extends State { ); } + bool isHandRaisedRow(String role) { + return role == "Hand Raised"; + } + Widget _kebabMenu(HMSPeer peer) { final meetingStore = context.read(); PeerTrackNode? peerTrackNode; @@ -410,12 +414,13 @@ class _ParticipantsBottomSheetState extends State { .keys .elementAt(index); return Selector?>>( - selector: (_, meetingStore) => Tuple2( + Tuple3?, String>>( + selector: (_, meetingStore) => Tuple3( meetingStore .participantsInMeetingMap[role]?.length ?? 0, - meetingStore.participantsInMeetingMap[role]), + meetingStore.participantsInMeetingMap[role], + role), builder: (_, participantsPerRole, __) { return (participantsPerRole.item2?.isNotEmpty ?? false) @@ -458,7 +463,9 @@ class _ParticipantsBottomSheetState extends State { null ? 0 : (participantsPerRole.item1) * - 54, + (isHandRaisedRow(role) + ? 60 + : 54), child: Center( child: ListView.builder( physics: @@ -538,15 +545,18 @@ class _ParticipantsBottomSheetState extends State { isSIPPeer, __) { return isSIPPeer - ? CircleAvatar( - radius: 16, - backgroundColor: HMSThemeColors.surfaceBright, - child: SvgPicture.asset( - "packages/hms_room_kit/lib/src/assets/icons/sip_call.svg", - height: 12, - width: 12, - colorFilter: ColorFilter.mode(HMSThemeColors.onSurfaceHighEmphasis, BlendMode.srcIn), - )) + ? Padding( + padding: const EdgeInsets.only(right: 4.0), + child: CircleAvatar( + radius: 12, + backgroundColor: HMSThemeColors.surfaceDefault, + child: SvgPicture.asset( + "packages/hms_room_kit/lib/src/assets/icons/sip_call.svg", + height: 12, + width: 12, + colorFilter: ColorFilter.mode(HMSThemeColors.onSurfaceHighEmphasis, BlendMode.srcIn), + )), + ) : const SizedBox(); }, selector: (_, participantsStore) => @@ -562,14 +572,14 @@ class _ParticipantsBottomSheetState extends State { builder: (_, participantData, __) { return participantData.item1 != -1 && participantData.item1 < 3 && participantData.item2 ? Padding( - padding: const EdgeInsets.only(right: 16.0), + padding: const EdgeInsets.only(right: 4.0), child: CircleAvatar( - radius: 16, + radius: 12, backgroundColor: HMSThemeColors.surfaceDefault, child: SvgPicture.asset( "packages/hms_room_kit/lib/src/assets/icons/network_${participantData.item1}.svg", - height: 16, - width: 16, + height: 12, + width: 12, ), ), ) @@ -588,12 +598,12 @@ class _ParticipantsBottomSheetState extends State { ? Padding( padding: const EdgeInsets.only(right: 16.0), child: CircleAvatar( - radius: 16, + radius: 12, backgroundColor: HMSThemeColors.surfaceDefault, child: SvgPicture.asset( "packages/hms_room_kit/lib/src/assets/icons/hand_outline.svg", - height: 16, - width: 16, + height: 12, + width: 12, colorFilter: ColorFilter.mode(HMSThemeColors.onSurfaceHighEmphasis, BlendMode.srcIn), ), ), From 68f239bdf816c06c3eec7033c5c560b2a1a3130a Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Thu, 29 Aug 2024 13:20:30 +0530 Subject: [PATCH 17/38] Added music mode support (#1810) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * added music mode support * 🤖 Automated Format and Fix * Added option to toggle music mode from app settings * 🤖 Automated Format and Fix * chore: updated changelog --------- Co-authored-by: Decoder07 Co-authored-by: ygit --- .../lib/src/common/utility_functions.dart | 6 +++++- .../lib/src/hms_prebuilt_options.dart | 14 ++++++++++++-- .../lib/src/hmssdk_interactor.dart | 8 ++++++-- .../lib/src/screen_controller.dart | 4 ++++ .../lib/src/service/app_debug_config.dart | 2 -- .../HMSTrackSettingsExtension.kt | 14 ++++++++++++++ .../example/ExampleAppChangelog.txt | 8 +++++++- .../example/lib/app_settings_bottom_sheet.dart | 1 - packages/hmssdk_flutter/example/lib/main.dart | 10 +++++++++- .../lib/assets/sdk-versions.json | 2 +- .../lib/src/model/hms_audio_track_setting.dart | 18 ++++++++++++++++-- 11 files changed, 74 insertions(+), 13 deletions(-) diff --git a/packages/hms_room_kit/lib/src/common/utility_functions.dart b/packages/hms_room_kit/lib/src/common/utility_functions.dart index 5fe8a4657..88f8699c0 100644 --- a/packages/hms_room_kit/lib/src/common/utility_functions.dart +++ b/packages/hms_room_kit/lib/src/common/utility_functions.dart @@ -396,6 +396,8 @@ class Utilities { required bool joinWithMutedAudio, required bool isSoftwareDecoderDisabled, required bool isNoiseCancellationEnabled, + required bool isAutomaticGainControlEnabled, + required bool isNoiseSuppressionEnabled, HMSAudioMode? audioMode, }) { return HMSTrackSetting( @@ -414,7 +416,9 @@ class Utilities { ? HMSTrackInitState.MUTED : HMSTrackInitState.UNMUTED, audioMode: audioMode, - enableNoiseCancellation: isNoiseCancellationEnabled), + enableNoiseCancellation: isNoiseCancellationEnabled, + enableAutomaticGainControl: isAutomaticGainControlEnabled, + enableNoiseSupression: isNoiseSuppressionEnabled), videoTrackSetting: HMSVideoTrackSetting( trackInitialState: joinWithMutedVideo ? HMSTrackInitState.MUTED diff --git a/packages/hms_room_kit/lib/src/hms_prebuilt_options.dart b/packages/hms_room_kit/lib/src/hms_prebuilt_options.dart index 25399aa1a..fb582c750 100644 --- a/packages/hms_room_kit/lib/src/hms_prebuilt_options.dart +++ b/packages/hms_room_kit/lib/src/hms_prebuilt_options.dart @@ -30,9 +30,17 @@ class HMSPrebuiltOptions { final HMSIOSScreenshareConfig? iOSScreenshareConfig; ///To enable noise cancellation in prebuilt. - ///Default value is true + ///Default value is false final bool enableNoiseCancellation; + ///To enable automatic gain control in prebuilt. + ///Default value is false + final bool isAutomaticGainControlEnabled; + + ///To enable noise suppression in prebuilt. + ///Default value is false + final bool isNoiseSuppressionEnabled; + ///[HMSPrebuiltOptions] is a class that is used to pass the options to the prebuilt HMSPrebuiltOptions( {this.userName, @@ -40,5 +48,7 @@ class HMSPrebuiltOptions { this.endPoints, this.debugInfo = false, this.iOSScreenshareConfig, - this.enableNoiseCancellation = false}); + this.enableNoiseCancellation = false, + this.isAutomaticGainControlEnabled = false, + this.isNoiseSuppressionEnabled = false}); } diff --git a/packages/hms_room_kit/lib/src/hmssdk_interactor.dart b/packages/hms_room_kit/lib/src/hmssdk_interactor.dart index 785557e4b..5cae98cf9 100644 --- a/packages/hms_room_kit/lib/src/hmssdk_interactor.dart +++ b/packages/hms_room_kit/lib/src/hmssdk_interactor.dart @@ -38,7 +38,9 @@ class HMSSDKInteractor { bool isAudioMixerDisabled = true, HMSAudioMode audioMode = HMSAudioMode.VOICE, bool isPrebuilt = false, - bool isNoiseCancellationEnabled = false}) { + bool isNoiseCancellationEnabled = false, + bool isAutomaticGainControlEnabled = false, + bool isNoiseSuppressionEnabled = false}) { HMSLogSettings hmsLogSettings = HMSLogSettings( maxDirSizeInBytes: 1000000, isLogStorageEnabled: true, @@ -50,7 +52,9 @@ class HMSSDKInteractor { joinWithMutedAudio: joinWithMutedAudio, isSoftwareDecoderDisabled: isSoftwareDecoderDisabled, audioMode: audioMode, - isNoiseCancellationEnabled: isNoiseCancellationEnabled); + isNoiseCancellationEnabled: isNoiseCancellationEnabled, + isAutomaticGainControlEnabled: isAutomaticGainControlEnabled, + isNoiseSuppressionEnabled: isNoiseSuppressionEnabled); hmsSDK = HMSSDK( iOSScreenshareConfig: iOSScreenshareConfig, diff --git a/packages/hms_room_kit/lib/src/screen_controller.dart b/packages/hms_room_kit/lib/src/screen_controller.dart index b073d8f54..f957bbe2e 100644 --- a/packages/hms_room_kit/lib/src/screen_controller.dart +++ b/packages/hms_room_kit/lib/src/screen_controller.dart @@ -147,6 +147,10 @@ class _ScreenControllerState extends State { isAudioMixerDisabled: AppDebugConfig.isAudioMixerDisabled, isNoiseCancellationEnabled: widget.options?.enableNoiseCancellation ?? false, + isAutomaticGainControlEnabled: + widget.options?.isAutomaticGainControlEnabled ?? false, + isNoiseSuppressionEnabled: + widget.options?.isNoiseSuppressionEnabled ?? false, isPrebuilt: true); await _hmsSDKInteractor.build(); diff --git a/packages/hms_room_kit/lib/src/service/app_debug_config.dart b/packages/hms_room_kit/lib/src/service/app_debug_config.dart index efcb776a5..3239a169c 100644 --- a/packages/hms_room_kit/lib/src/service/app_debug_config.dart +++ b/packages/hms_room_kit/lib/src/service/app_debug_config.dart @@ -6,7 +6,6 @@ class AppDebugConfig { Setting these values to defaults and can be toggled from the application This will not be shipped with the ui_kit package and only used for internal testing */ - static bool skipPreview = false; static bool mirrorCamera = true; static bool showStats = false; static bool isSoftwareDecoderDisabled = true; @@ -25,7 +24,6 @@ class AppDebugConfig { /// Resets the debug configuration to default values static void resetToDefault() { - skipPreview = false; mirrorCamera = true; showStats = false; isSoftwareDecoderDisabled = true; diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSTrackSettingsExtension.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSTrackSettingsExtension.kt index 2a742e6a0..205423990 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSTrackSettingsExtension.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSTrackSettingsExtension.kt @@ -58,6 +58,20 @@ class HMSTrackSettingsExtension { hmsAudioTrackSettings.enableNoiseCancellation(true) } } + + val enableAutomaticGainControl = audioHashMap["enable_automatic_gain_control"] as? Boolean + enableAutomaticGainControl?.let { + if(it){ + hmsAudioTrackSettings.enableAutomaticGainControl(true) + } + } + + val enableNoiseSupression = audioHashMap["enable_noise_supression"] as? Boolean + enableNoiseSupression?.let { + if(it){ + hmsAudioTrackSettings.enableNoiseSupression(true) + } + } } var hmsVideoTrackSettings = HMSVideoTrackSettings.Builder() diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index f1a7ecf49..32c3ced79 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -3,7 +3,13 @@ Board: https://app.devrev.ai/100ms/vistas/vista-250 - Add support for zoom in camera controls https://app.devrev.ai/100ms/works/ISS-23282 +- Add support for Music Mode +https://app.devrev.ai/100ms/works/ISS-22859 + +- Support for long running sessions +https://app.devrev.ai/100ms/works/ISS-23134 + Room Kit: 1.1.6 Core SDK: 1.10.6 -Android SDK: 2.9.64 +Android SDK: 2.9.65 iOS SDK: 1.15.0 diff --git a/packages/hmssdk_flutter/example/lib/app_settings_bottom_sheet.dart b/packages/hmssdk_flutter/example/lib/app_settings_bottom_sheet.dart index dd0b897be..bf7467683 100644 --- a/packages/hmssdk_flutter/example/lib/app_settings_bottom_sheet.dart +++ b/packages/hmssdk_flutter/example/lib/app_settings_bottom_sheet.dart @@ -88,7 +88,6 @@ class _AppSettingsBottomSheetState extends State { AppDebugConfig.isSoftwareDecoderDisabled = isSoftwareDecoderDisabled; AppDebugConfig.mirrorCamera = mirrorCamera; AppDebugConfig.showStats = showStats; - AppDebugConfig.skipPreview = skipPreview; AppDebugConfig.isDebugMode = isDebugMode; AppDebugConfig.nameChangeOnPreview = true; AppDebugConfig.isVirtualBackgroundEnabled = isVirtualBackgroundEnabled; diff --git a/packages/hmssdk_flutter/example/lib/main.dart b/packages/hmssdk_flutter/example/lib/main.dart index a2c64b49f..037245b82 100644 --- a/packages/hmssdk_flutter/example/lib/main.dart +++ b/packages/hmssdk_flutter/example/lib/main.dart @@ -235,6 +235,7 @@ class _HomePageState extends State { TextEditingController meetingLinkController = TextEditingController(); Uuid? uuid; String uuidString = ""; + HMSAudioMode audioMode = HMSAudioMode.VOICE; PackageInfo _packageInfo = PackageInfo( appName: 'Unknown', @@ -264,6 +265,9 @@ class _HomePageState extends State { } else { meetingLinkController.text = widget.deepLinkURL ?? ""; } + + int audioModeInt = await Utilities.getIntData(key: "audio-mode"); + audioMode = HMSAudioMode.values[audioModeInt]; } Future _closeApp() { @@ -348,7 +352,11 @@ class _HomePageState extends State { appGroup: "group.flutterhms", preferredExtension: "live.100ms.flutter.FlutterBroadcastUploadExtension"), - enableNoiseCancellation: true)), + enableNoiseCancellation: true, + isNoiseSuppressionEnabled: + audioMode == HMSAudioMode.MUSIC, + isAutomaticGainControlEnabled: + audioMode == HMSAudioMode.MUSIC)), ))); } diff --git a/packages/hmssdk_flutter/lib/assets/sdk-versions.json b/packages/hmssdk_flutter/lib/assets/sdk-versions.json index 9c42f3556..f805e49f4 100644 --- a/packages/hmssdk_flutter/lib/assets/sdk-versions.json +++ b/packages/hmssdk_flutter/lib/assets/sdk-versions.json @@ -4,5 +4,5 @@ "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", "iOSNoiseCancellationModels": "1.0.0", - "android": "2.9.64" + "android": "2.9.65" } diff --git a/packages/hmssdk_flutter/lib/src/model/hms_audio_track_setting.dart b/packages/hmssdk_flutter/lib/src/model/hms_audio_track_setting.dart index baca57ed5..54faae4f9 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_audio_track_setting.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_audio_track_setting.dart @@ -40,6 +40,16 @@ class HMSAudioTrackSetting { ///Refer: Read more about noise cancellation [here](///) final bool enableNoiseCancellation; + ///[enableAutomaticGainControl] property sets the automatic gain control status in the room whether is enabled or not. + /// + ///Refer: Read more about automatic gain control [here](///) + final bool enableAutomaticGainControl; + + ///[enableNoiseSupression] property sets the noise suppression status in the room whether is enabled or not. + /// + ///Refer: Read more about noise suppression [here](///) + final bool enableNoiseSupression; + HMSAudioTrackSetting( {this.useHardwareAcousticEchoCanceler, this.audioSource, @@ -47,7 +57,9 @@ class HMSAudioTrackSetting { this.audioMode, this.phoneCallState = HMSAndroidPhoneCallState.DISABLE_MUTE_ON_VOIP_PHONE_CALL_RING, - this.enableNoiseCancellation = false}); + this.enableNoiseCancellation = false, + this.enableAutomaticGainControl = false, + this.enableNoiseSupression = false}); factory HMSAudioTrackSetting.fromMap(Map map) { List nodeList = []; @@ -109,7 +121,9 @@ class HMSAudioTrackSetting { 'phone_call_state': HMSAndroidPhoneCallStateValue.getValuefromHMSPhoneCallState( phoneCallState), - 'enable_noise_cancellation': enableNoiseCancellation + 'enable_noise_cancellation': enableNoiseCancellation, + 'enable_automatic_gain_control': enableAutomaticGainControl, + 'enable_noise_supression': enableNoiseSupression }; } } From 580de3d952bed1b8395cab6b2050833fbb37b008 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Mon, 2 Sep 2024 16:40:00 +0530 Subject: [PATCH 18/38] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?24=20(524)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Podfile.lock | 16 ++++++++-------- .../hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 17dd04245..159e9f5de 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -40,8 +40,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 523 - versionName "1.5.223" + versionCode 524 + versionName "1.5.224" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index c7f975b7c..65d6b908f 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -130,16 +130,16 @@ PODS: - HMSHLSPlayerSDK (0.0.2): - HMSAnalyticsSDK (= 0.0.2) - HMSNoiseCancellationModels (1.0.0) - - HMSSDK (1.15.0): + - HMSSDK (1.16.1): - HMSAnalyticsSDK (= 0.0.2) - - HMSWebRTC (= 1.0.6170) + - HMSWebRTC (= 1.0.6171) - hmssdk_flutter (1.10.6): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) - HMSNoiseCancellationModels (= 1.0.0) - - HMSSDK (= 1.15.0) - - HMSWebRTC (1.0.6170) + - HMSSDK (= 1.16.1) + - HMSWebRTC (1.0.6171) - image_picker_ios (0.0.1): - Flutter - MLImage (1.0.0-beta4) @@ -315,9 +315,9 @@ SPEC CHECKSUMS: HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 HMSNoiseCancellationModels: a3bda1405a16015632f4bcabd46ce48f35103b02 - HMSSDK: fc3d2141c654e9fdca7f27c290c17b6b61b9dc92 - hmssdk_flutter: 9df25dd1c713bf543a2294ec3cc61d8a5f8b81a0 - HMSWebRTC: b5ffaf5d6133ae2a4c841beaf1e5e4fe06d0fb07 + HMSSDK: 31e779fbf9c95335d88475a7f9f42fb077692e30 + hmssdk_flutter: da118bf9558b0556b609cdc14540dca5514291ac + HMSWebRTC: f6f4f02a665fda6d9d8a5b223272045c3d9486fb image_picker_ios: 99dfe1854b4fa34d0364e74a78448a0151025425 MLImage: 7bb7c4264164ade9bf64f679b40fb29c8f33ee9b MLKitBarcodeScanning: 04e264482c5f3810cb89ebc134ef6b61e67db505 @@ -338,4 +338,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 9fb9f6e431a2c6c79942252e94b241ac7972ac90 -COCOAPODS: 1.14.3 +COCOAPODS: 1.15.2 diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index a80713a6f..b0e68c045 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.223 + 1.5.224 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 523 + 524 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From b86d38a84f544fb8c1ae1f47649307b30238c181 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Mon, 2 Sep 2024 16:41:39 +0530 Subject: [PATCH 19/38] updated packages --- .java-version | 2 +- .../hms_room_kit/example/ios/Podfile.lock | 36 +++++++--- packages/hms_room_kit/example/pubspec.lock | 28 ++++---- packages/hms_room_kit/pubspec.lock | 28 ++++---- .../example/ExampleAppChangelog.txt | 10 ++- .../example/android/Gemfile.lock | 24 +++---- .../hmssdk_flutter/example/ios/Gemfile.lock | 28 ++++---- packages/hmssdk_flutter/example/pubspec.lock | 66 +++++++++++++------ .../lib/assets/sdk-versions.json | 4 +- packages/hmssdk_flutter/pubspec.lock | 66 +++++++++++++------ 10 files changed, 182 insertions(+), 110 deletions(-) diff --git a/.java-version b/.java-version index 392ea27c7..8808b7e39 100644 --- a/.java-version +++ b/.java-version @@ -1 +1 @@ -openjdk64-17.0.11 +17.0.12 diff --git a/packages/hms_room_kit/example/ios/Podfile.lock b/packages/hms_room_kit/example/ios/Podfile.lock index 2e9a26455..42fdaacce 100644 --- a/packages/hms_room_kit/example/ios/Podfile.lock +++ b/packages/hms_room_kit/example/ios/Podfile.lock @@ -5,21 +5,25 @@ PODS: - HMSHLSPlayerSDK (0.0.2): - HMSAnalyticsSDK (= 0.0.2) - HMSNoiseCancellationModels (1.0.0) - - HMSSDK (1.9.0): + - HMSSDK (1.15.0): - HMSAnalyticsSDK (= 0.0.2) - - HMSWebRTC (= 1.0.6168) - - hmssdk_flutter (1.10.1): + - HMSWebRTC (= 1.0.6170) + - hmssdk_flutter (1.10.6): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) - HMSNoiseCancellationModels (= 1.0.0) - - HMSSDK (= 1.9.0) - - HMSWebRTC (1.0.6168) + - HMSSDK (= 1.15.0) + - HMSWebRTC (1.0.6170) + - image_picker_ios (0.0.1): + - Flutter - path_provider_foundation (0.0.1): - Flutter - FlutterMacOS - permission_handler_apple (9.1.1): - Flutter + - pointer_interceptor_ios (0.0.1): + - Flutter - share_plus (0.0.1): - Flutter - shared_preferences_foundation (0.0.1): @@ -27,15 +31,20 @@ PODS: - FlutterMacOS - url_launcher_ios (0.0.1): - Flutter + - webview_flutter_wkwebview (0.0.1): + - Flutter DEPENDENCIES: - Flutter (from `Flutter`) - hmssdk_flutter (from `.symlinks/plugins/hmssdk_flutter/ios`) + - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`) + - pointer_interceptor_ios (from `.symlinks/plugins/pointer_interceptor_ios/ios`) - share_plus (from `.symlinks/plugins/share_plus/ios`) - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) + - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`) SPEC REPOS: trunk: @@ -51,31 +60,40 @@ EXTERNAL SOURCES: :path: Flutter hmssdk_flutter: :path: ".symlinks/plugins/hmssdk_flutter/ios" + image_picker_ios: + :path: ".symlinks/plugins/image_picker_ios/ios" path_provider_foundation: :path: ".symlinks/plugins/path_provider_foundation/darwin" permission_handler_apple: :path: ".symlinks/plugins/permission_handler_apple/ios" + pointer_interceptor_ios: + :path: ".symlinks/plugins/pointer_interceptor_ios/ios" share_plus: :path: ".symlinks/plugins/share_plus/ios" shared_preferences_foundation: :path: ".symlinks/plugins/shared_preferences_foundation/darwin" url_launcher_ios: :path: ".symlinks/plugins/url_launcher_ios/ios" + webview_flutter_wkwebview: + :path: ".symlinks/plugins/webview_flutter_wkwebview/ios" SPEC CHECKSUMS: - Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 + Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 HMSAnalyticsSDK: 4d2a88a729b1eb42f3d25f217c28937ec318a5b7 HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 HMSNoiseCancellationModels: a3bda1405a16015632f4bcabd46ce48f35103b02 - HMSSDK: 96bdafc1c610aabfecd1155ad7e3c1bc45b3a6cb - hmssdk_flutter: c2ad70779ed9355577afbbe1047fb20f862820ac - HMSWebRTC: a302f0d6c94f7bee94f3265adb7bb1c6569e7ee5 + HMSSDK: fc3d2141c654e9fdca7f27c290c17b6b61b9dc92 + hmssdk_flutter: 9df25dd1c713bf543a2294ec3cc61d8a5f8b81a0 + HMSWebRTC: b5ffaf5d6133ae2a4c841beaf1e5e4fe06d0fb07 + image_picker_ios: 99dfe1854b4fa34d0364e74a78448a0151025425 path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6 + pointer_interceptor_ios: 9280618c0b2eeb80081a343924aa8ad756c21375 share_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5 shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695 url_launcher_ios: bbd758c6e7f9fd7b5b1d4cde34d2b95fcce5e812 + webview_flutter_wkwebview: 4f3e50f7273d31e5500066ed267e3ae4309c5ae4 PODFILE CHECKSUM: cc1f88378b4bfcf93a6ce00d2c587857c6008d3b diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index 5e23cde1c..5f58b6235 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -346,26 +346,26 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" url: "https://pub.dev" source: hosted - version: "10.0.4" + version: "10.0.0" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "2.0.1" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "2.0.1" linkify: dependency: transitive description: @@ -410,10 +410,10 @@ packages: dependency: transitive description: name: meta - sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" + sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.11.0" mime: dependency: transitive description: @@ -727,10 +727,10 @@ packages: dependency: transitive description: name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.7.0" + version: "0.6.1" tuple: dependency: transitive description: @@ -863,10 +863,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" + sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted - version: "14.2.1" + version: "13.0.0" webview_flutter: dependency: transitive description: @@ -924,5 +924,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.3.0 <4.0.0" - flutter: ">=3.18.0-18.0.pre.54" + dart: ">=3.2.0-0 <4.0.0" + flutter: ">=3.13.0" diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index 3a763c7ec..dc3972fca 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -323,26 +323,26 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" url: "https://pub.dev" source: hosted - version: "10.0.4" + version: "10.0.0" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "2.0.1" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" + sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "2.0.1" linkify: dependency: transitive description: @@ -387,10 +387,10 @@ packages: dependency: transitive description: name: meta - sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" + sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.11.0" mime: dependency: transitive description: @@ -704,10 +704,10 @@ packages: dependency: transitive description: name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.7.0" + version: "0.6.1" tuple: dependency: "direct main" description: @@ -840,10 +840,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" + sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted - version: "14.2.1" + version: "13.0.0" webview_flutter: dependency: "direct main" description: @@ -901,5 +901,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.3.0 <4.0.0" - flutter: ">=3.18.0-18.0.pre.54" + dart: ">=3.2.0-0 <4.0.0" + flutter: ">=3.13.0" diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 32c3ced79..fed0795dc 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -9,7 +9,13 @@ https://app.devrev.ai/100ms/works/ISS-22859 - Support for long running sessions https://app.devrev.ai/100ms/works/ISS-23134 +- Hand Raise sorting based on Time +https://app.devrev.ai/100ms/works/ISS-23102 + +- Change Role on Prebuilt +https://app.devrev.ai/100ms/works/ISS-22877 + Room Kit: 1.1.6 Core SDK: 1.10.6 -Android SDK: 2.9.65 -iOS SDK: 1.15.0 +Android SDK: 2.9.66 +iOS SDK: 1.16.1 diff --git a/packages/hmssdk_flutter/example/android/Gemfile.lock b/packages/hmssdk_flutter/example/android/Gemfile.lock index c0bfbe11e..9f6b0a3b2 100644 --- a/packages/hmssdk_flutter/example/android/Gemfile.lock +++ b/packages/hmssdk_flutter/example/android/Gemfile.lock @@ -15,16 +15,16 @@ GEM artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.959.0) - aws-sdk-core (3.201.3) + aws-partitions (1.970.0) + aws-sdk-core (3.202.2) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) - aws-sigv4 (~> 1.8) + aws-sigv4 (~> 1.9) jmespath (~> 1, >= 1.6.1) aws-sdk-kms (1.88.0) aws-sdk-core (~> 3, >= 3.201.0) aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.156.0) + aws-sdk-s3 (1.159.0) aws-sdk-core (~> 3, >= 3.201.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) @@ -37,7 +37,7 @@ GEM colored2 (3.1.2) commander (4.6.0) highline (~> 2.0.0) - concurrent-ruby (1.2.3) + concurrent-ruby (1.3.4) declarative (0.0.20) digest-crc (0.6.5) rake (>= 12.0.0, < 14.0.0) @@ -139,7 +139,7 @@ GEM google-apis-core (>= 0.11.0, < 2.a) google-apis-storage_v1 (0.31.0) google-apis-core (>= 0.11.0, < 2.a) - google-cloud-core (1.7.0) + google-cloud-core (1.7.1) google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) google-cloud-env (1.6.0) @@ -160,7 +160,7 @@ GEM os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) highline (2.0.3) - http-cookie (1.0.6) + http-cookie (1.0.7) domain_name (~> 0.5) httpclient (2.8.3) i18n (1.14.5) @@ -171,7 +171,7 @@ GEM base64 mini_magick (4.13.2) mini_mime (1.1.5) - minitest (5.22.3) + minitest (5.25.1) multi_json (1.15.0) multipart-post (2.4.1) nanaimo (0.3.0) @@ -187,7 +187,7 @@ GEM trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) retriable (3.1.2) - rexml (3.2.9) + rexml (3.3.6) strscan rouge (2.0.7) ruby2_keywords (0.0.5) @@ -215,13 +215,13 @@ GEM uber (0.1.0) unicode-display_width (2.5.0) word_wrap (1.0.0) - xcodeproj (1.24.0) + xcodeproj (1.25.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) colored2 (~> 3.1) nanaimo (~> 0.3.0) - rexml (~> 3.2.4) + rexml (>= 3.3.2, < 4.0) xcpretty (0.3.0) rouge (~> 2.0.7) xcpretty-travis-formatter (1.0.1) @@ -236,4 +236,4 @@ DEPENDENCIES fastlane-plugin-firebase_app_distribution BUNDLED WITH - 2.5.9 + 2.5.18 diff --git a/packages/hmssdk_flutter/example/ios/Gemfile.lock b/packages/hmssdk_flutter/example/ios/Gemfile.lock index 23188b68c..daf867df2 100644 --- a/packages/hmssdk_flutter/example/ios/Gemfile.lock +++ b/packages/hmssdk_flutter/example/ios/Gemfile.lock @@ -15,16 +15,16 @@ GEM artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.959.0) - aws-sdk-core (3.201.3) + aws-partitions (1.970.0) + aws-sdk-core (3.202.2) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) - aws-sigv4 (~> 1.8) + aws-sigv4 (~> 1.9) jmespath (~> 1, >= 1.6.1) aws-sdk-kms (1.88.0) aws-sdk-core (~> 3, >= 3.201.0) aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.156.0) + aws-sdk-s3 (1.159.0) aws-sdk-core (~> 3, >= 3.201.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) @@ -37,7 +37,7 @@ GEM colored2 (3.1.2) commander (4.6.0) highline (~> 2.0.0) - concurrent-ruby (1.2.3) + concurrent-ruby (1.3.4) declarative (0.0.20) digest-crc (0.6.5) rake (>= 12.0.0, < 14.0.0) @@ -74,7 +74,7 @@ GEM faraday_middleware (1.2.0) faraday (~> 1.0) fastimage (2.3.1) - fastlane (2.222.0) + fastlane (2.221.1) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -118,7 +118,7 @@ GEM fastlane-plugin-firebase_app_distribution (0.9.1) google-apis-firebaseappdistribution_v1 (~> 0.3.0) google-apis-firebaseappdistribution_v1alpha (~> 0.2.0) - fastlane-plugin-versioning (0.5.2) + fastlane-plugin-versioning (0.6.0) gh_inspector (1.1.3) google-apis-androidpublisher_v3 (0.54.0) google-apis-core (>= 0.11.0, < 2.a) @@ -140,7 +140,7 @@ GEM google-apis-core (>= 0.11.0, < 2.a) google-apis-storage_v1 (0.31.0) google-apis-core (>= 0.11.0, < 2.a) - google-cloud-core (1.7.0) + google-cloud-core (1.7.1) google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) google-cloud-env (1.6.0) @@ -161,7 +161,7 @@ GEM os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) highline (2.0.3) - http-cookie (1.0.6) + http-cookie (1.0.7) domain_name (~> 0.5) httpclient (2.8.3) i18n (1.14.5) @@ -172,7 +172,7 @@ GEM base64 mini_magick (4.13.2) mini_mime (1.1.5) - minitest (5.22.3) + minitest (5.25.1) multi_json (1.15.0) multipart-post (2.4.1) nanaimo (0.3.0) @@ -188,7 +188,7 @@ GEM trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) retriable (3.1.2) - rexml (3.2.9) + rexml (3.3.6) strscan rouge (2.0.7) ruby2_keywords (0.0.5) @@ -216,13 +216,13 @@ GEM uber (0.1.0) unicode-display_width (2.5.0) word_wrap (1.0.0) - xcodeproj (1.24.0) + xcodeproj (1.25.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) colored2 (~> 3.1) nanaimo (~> 0.3.0) - rexml (~> 3.2.4) + rexml (>= 3.3.2, < 4.0) xcpretty (0.3.0) rouge (~> 2.0.7) xcpretty-travis-formatter (1.0.1) @@ -238,4 +238,4 @@ DEPENDENCIES fastlane-plugin-versioning BUNDLED WITH - 2.5.9 + 2.5.18 diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 151c71ca3..66888e13a 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -77,10 +77,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" cross_file: dependency: transitive description: @@ -439,6 +439,30 @@ packages: url: "https://pub.dev" source: hosted version: "0.6.7" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" + url: "https://pub.dev" + source: hosted + version: "10.0.0" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 + url: "https://pub.dev" + source: hosted + version: "2.0.1" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 + url: "https://pub.dev" + source: hosted + version: "2.0.1" linkify: dependency: transitive description: @@ -459,26 +483,26 @@ packages: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.8.0" meta: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.11.0" mime: dependency: transitive description: @@ -523,10 +547,10 @@ packages: dependency: transitive description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.0" path_parsing: dependency: transitive description: @@ -784,18 +808,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -816,10 +840,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.6.1" tuple: dependency: transitive description: @@ -948,14 +972,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.4.0+2" - web: + vm_service: dependency: transitive description: - name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + name: vm_service + sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "13.0.0" webview_flutter: dependency: transitive description: @@ -1013,5 +1037,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.1.0 <4.0.0" + dart: ">=3.2.0-0 <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hmssdk_flutter/lib/assets/sdk-versions.json b/packages/hmssdk_flutter/lib/assets/sdk-versions.json index f805e49f4..ff1ec0e3b 100644 --- a/packages/hmssdk_flutter/lib/assets/sdk-versions.json +++ b/packages/hmssdk_flutter/lib/assets/sdk-versions.json @@ -1,8 +1,8 @@ { "flutter": "1.10.6", - "ios": "1.15.0", + "ios": "1.16.1", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", "iOSNoiseCancellationModels": "1.0.0", - "android": "2.9.65" + "android": "2.9.66" } diff --git a/packages/hmssdk_flutter/pubspec.lock b/packages/hmssdk_flutter/pubspec.lock index 2932c9c3b..bfac3fa40 100644 --- a/packages/hmssdk_flutter/pubspec.lock +++ b/packages/hmssdk_flutter/pubspec.lock @@ -37,10 +37,10 @@ packages: dependency: transitive description: name: collection - sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.17.2" + version: "1.18.0" fake_async: dependency: transitive description: @@ -59,6 +59,30 @@ packages: description: flutter source: sdk version: "0.0.0" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" + url: "https://pub.dev" + source: hosted + version: "10.0.0" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 + url: "https://pub.dev" + source: hosted + version: "2.0.1" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 + url: "https://pub.dev" + source: hosted + version: "2.0.1" lints: dependency: "direct dev" description: @@ -71,34 +95,34 @@ packages: dependency: transitive description: name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted - version: "0.12.16" + version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" + sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted - version: "0.5.0" + version: "0.8.0" meta: dependency: transitive description: name: meta - sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" + sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted - version: "1.9.1" + version: "1.11.0" path: dependency: transitive description: name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.9.0" sky_engine: dependency: transitive description: flutter @@ -116,18 +140,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "2.1.2" string_scanner: dependency: transitive description: @@ -148,10 +172,10 @@ packages: dependency: transitive description: name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" + sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted - version: "0.6.0" + version: "0.6.1" vector_math: dependency: transitive description: @@ -160,14 +184,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" - web: + vm_service: dependency: transitive description: - name: web - sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 + name: vm_service + sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted - version: "0.1.4-beta" + version: "13.0.0" sdks: - dart: ">=3.1.0-185.0.dev <4.0.0" + dart: ">=3.2.0-0 <4.0.0" flutter: ">=2.10.0" From aa582b0be86d15ba876ba8495f3555a9ec10a2f0 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 4 Sep 2024 15:05:25 +0530 Subject: [PATCH 20/38] removed activity badges --- README.md | 1 - packages/hms_room_kit/README.md | 1 - packages/hmssdk_flutter/README.md | 1 - 3 files changed, 3 deletions(-) diff --git a/README.md b/README.md index b2e79d9e1..9087d386a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ [![Discord](https://img.shields.io/discord/843749923060711464?label=Join%20on%20Discord)](https://100ms.live/discord) [![Firebase](https://img.shields.io/badge/Download%20Android-Firebase-green)](https://appdistribution.firebase.dev/i/b623e5310929ab70) [![TestFlight](https://img.shields.io/badge/Download%20iOS-TestFlight-blue)](https://testflight.apple.com/join/Uhzebmut) -[![Activity](https://img.shields.io/github/commit-activity/m/100mslive/100ms-flutter.svg)](https://github.com/100mslive/100ms-flutter/projects?type=classic) [![Register](https://img.shields.io/badge/Contact-Know%20More-blue)](https://dashboard.100ms.live/register) # 100ms Flutter SDK 🎉 diff --git a/packages/hms_room_kit/README.md b/packages/hms_room_kit/README.md index 374ef29b2..329318aad 100644 --- a/packages/hms_room_kit/README.md +++ b/packages/hms_room_kit/README.md @@ -7,7 +7,6 @@ [![Discord](https://img.shields.io/discord/843749923060711464?label=Join%20on%20Discord)](https://100ms.live/discord) [![Firebase](https://img.shields.io/badge/Download%20Android-Firebase-green)](https://appdistribution.firebase.dev/i/b623e5310929ab70) [![TestFlight](https://img.shields.io/badge/Download%20iOS-TestFlight-blue)](https://testflight.apple.com/join/Uhzebmut) -[![Activity](https://img.shields.io/github/commit-activity/m/100mslive/100ms-flutter.svg)](https://github.com/100mslive/100ms-flutter/projects/1) [![Register](https://img.shields.io/badge/Contact-Know%20More-blue)](https://dashboard.100ms.live/register)

diff --git a/packages/hmssdk_flutter/README.md b/packages/hmssdk_flutter/README.md index d63c281c4..cbfb7dde6 100644 --- a/packages/hmssdk_flutter/README.md +++ b/packages/hmssdk_flutter/README.md @@ -7,7 +7,6 @@ [![Discord](https://img.shields.io/discord/843749923060711464?label=Join%20on%20Discord)](https://100ms.live/discord) [![Firebase](https://img.shields.io/badge/Download%20Android-Firebase-green)](https://appdistribution.firebase.dev/i/b623e5310929ab70) [![TestFlight](https://img.shields.io/badge/Download%20iOS-TestFlight-blue)](https://testflight.apple.com/join/Uhzebmut) -[![Activity](https://img.shields.io/github/commit-activity/m/100mslive/100ms-flutter.svg)](https://github.com/100mslive/100ms-flutter/projects?type=classic) [![Register](https://img.shields.io/badge/Contact-Know%20More-blue)](https://dashboard.100ms.live/register)

From e5877562ccf715580e38db0d3dbd840fda43d921 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 4 Sep 2024 15:06:39 +0530 Subject: [PATCH 21/38] updated packages --- .../hms_room_kit/example/ios/Podfile.lock | 14 +++--- packages/hms_room_kit/example/pubspec.lock | 50 +++++-------------- packages/hms_room_kit/pubspec.lock | 50 +++++-------------- .../ios/Runner.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/xcschemes/Runner.xcscheme | 2 +- packages/hmssdk_flutter/example/pubspec.lock | 50 +++++-------------- packages/hmssdk_flutter/pubspec.lock | 50 +++++-------------- 7 files changed, 61 insertions(+), 157 deletions(-) diff --git a/packages/hms_room_kit/example/ios/Podfile.lock b/packages/hms_room_kit/example/ios/Podfile.lock index 42fdaacce..0549a3594 100644 --- a/packages/hms_room_kit/example/ios/Podfile.lock +++ b/packages/hms_room_kit/example/ios/Podfile.lock @@ -5,16 +5,16 @@ PODS: - HMSHLSPlayerSDK (0.0.2): - HMSAnalyticsSDK (= 0.0.2) - HMSNoiseCancellationModels (1.0.0) - - HMSSDK (1.15.0): + - HMSSDK (1.16.1): - HMSAnalyticsSDK (= 0.0.2) - - HMSWebRTC (= 1.0.6170) + - HMSWebRTC (= 1.0.6171) - hmssdk_flutter (1.10.6): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) - HMSNoiseCancellationModels (= 1.0.0) - - HMSSDK (= 1.15.0) - - HMSWebRTC (1.0.6170) + - HMSSDK (= 1.16.1) + - HMSWebRTC (1.0.6171) - image_picker_ios (0.0.1): - Flutter - path_provider_foundation (0.0.1): @@ -83,9 +83,9 @@ SPEC CHECKSUMS: HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 HMSNoiseCancellationModels: a3bda1405a16015632f4bcabd46ce48f35103b02 - HMSSDK: fc3d2141c654e9fdca7f27c290c17b6b61b9dc92 - hmssdk_flutter: 9df25dd1c713bf543a2294ec3cc61d8a5f8b81a0 - HMSWebRTC: b5ffaf5d6133ae2a4c841beaf1e5e4fe06d0fb07 + HMSSDK: 31e779fbf9c95335d88475a7f9f42fb077692e30 + hmssdk_flutter: da118bf9558b0556b609cdc14540dca5514291ac + HMSWebRTC: f6f4f02a665fda6d9d8a5b223272045c3d9486fb image_picker_ios: 99dfe1854b4fa34d0364e74a78448a0151025425 path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6 diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index 5f58b6235..1ae4c3c32 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -342,30 +342,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.6.7" - leak_tracker: - dependency: transitive - description: - name: leak_tracker - sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" - url: "https://pub.dev" - source: hosted - version: "10.0.0" - leak_tracker_flutter_testing: - dependency: transitive - description: - name: leak_tracker_flutter_testing - sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 - url: "https://pub.dev" - source: hosted - version: "2.0.1" - leak_tracker_testing: - dependency: transitive - description: - name: leak_tracker_testing - sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 - url: "https://pub.dev" - source: hosted - version: "2.0.1" linkify: dependency: transitive description: @@ -394,26 +370,26 @@ packages: dependency: transitive description: name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb + sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" url: "https://pub.dev" source: hosted - version: "0.12.16+1" + version: "0.12.16" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.5.0" meta: dependency: transitive description: name: meta - sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 + sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.10.0" mime: dependency: transitive description: @@ -434,10 +410,10 @@ packages: dependency: transitive description: name: path - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "1.8.3" path_parsing: dependency: transitive description: @@ -859,14 +835,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.4.0+2" - vm_service: + web: dependency: transitive description: - name: vm_service - sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 + name: web + sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 url: "https://pub.dev" source: hosted - version: "13.0.0" + version: "0.3.0" webview_flutter: dependency: transitive description: @@ -924,5 +900,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.2.0-0 <4.0.0" + dart: ">=3.2.0-194.0.dev <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index dc3972fca..c890dd881 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -319,30 +319,6 @@ packages: url: "https://pub.dev" source: hosted version: "0.6.7" - leak_tracker: - dependency: transitive - description: - name: leak_tracker - sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" - url: "https://pub.dev" - source: hosted - version: "10.0.0" - leak_tracker_flutter_testing: - dependency: transitive - description: - name: leak_tracker_flutter_testing - sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 - url: "https://pub.dev" - source: hosted - version: "2.0.1" - leak_tracker_testing: - dependency: transitive - description: - name: leak_tracker_testing - sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 - url: "https://pub.dev" - source: hosted - version: "2.0.1" linkify: dependency: transitive description: @@ -371,26 +347,26 @@ packages: dependency: transitive description: name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb + sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" url: "https://pub.dev" source: hosted - version: "0.12.16+1" + version: "0.12.16" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.5.0" meta: dependency: transitive description: name: meta - sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 + sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.10.0" mime: dependency: transitive description: @@ -411,10 +387,10 @@ packages: dependency: transitive description: name: path - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "1.8.3" path_parsing: dependency: transitive description: @@ -836,14 +812,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.4.0+2" - vm_service: + web: dependency: transitive description: - name: vm_service - sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 + name: web + sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 url: "https://pub.dev" source: hosted - version: "13.0.0" + version: "0.3.0" webview_flutter: dependency: "direct main" description: @@ -901,5 +877,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.2.0-0 <4.0.0" + dart: ">=3.2.0-194.0.dev <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/project.pbxproj b/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/project.pbxproj index 37fb2667c..fc0c44fb7 100644 --- a/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/project.pbxproj @@ -248,7 +248,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 1340; - LastUpgradeCheck = 1510; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = 100ms; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 5e31d3d34..a6b826db2 100644 --- a/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/packages/hmssdk_flutter/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ =3.2.0-0 <4.0.0" + dart: ">=3.2.0-194.0.dev <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hmssdk_flutter/pubspec.lock b/packages/hmssdk_flutter/pubspec.lock index bfac3fa40..77e2f044a 100644 --- a/packages/hmssdk_flutter/pubspec.lock +++ b/packages/hmssdk_flutter/pubspec.lock @@ -59,30 +59,6 @@ packages: description: flutter source: sdk version: "0.0.0" - leak_tracker: - dependency: transitive - description: - name: leak_tracker - sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" - url: "https://pub.dev" - source: hosted - version: "10.0.0" - leak_tracker_flutter_testing: - dependency: transitive - description: - name: leak_tracker_flutter_testing - sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 - url: "https://pub.dev" - source: hosted - version: "2.0.1" - leak_tracker_testing: - dependency: transitive - description: - name: leak_tracker_testing - sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 - url: "https://pub.dev" - source: hosted - version: "2.0.1" lints: dependency: "direct dev" description: @@ -95,34 +71,34 @@ packages: dependency: transitive description: name: matcher - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb + sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" url: "https://pub.dev" source: hosted - version: "0.12.16+1" + version: "0.12.16" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.5.0" meta: dependency: transitive description: name: meta - sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 + sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.10.0" path: dependency: transitive description: name: path - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" url: "https://pub.dev" source: hosted - version: "1.9.0" + version: "1.8.3" sky_engine: dependency: transitive description: flutter @@ -184,14 +160,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" - vm_service: + web: dependency: transitive description: - name: vm_service - sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 + name: web + sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 url: "https://pub.dev" source: hosted - version: "13.0.0" + version: "0.3.0" sdks: - dart: ">=3.2.0-0 <4.0.0" + dart: ">=3.2.0-194.0.dev <4.0.0" flutter: ">=2.10.0" From 9e0c9d657403d7cffdac647b304b4002eb4ae58b Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 4 Sep 2024 15:06:51 +0530 Subject: [PATCH 22/38] resolved doc TODOs --- packages/hmssdk_flutter/lib/src/hmssdk.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/hmssdk_flutter/lib/src/hmssdk.dart b/packages/hmssdk_flutter/lib/src/hmssdk.dart index 3b25e5522..0ce6dcf92 100644 --- a/packages/hmssdk_flutter/lib/src/hmssdk.dart +++ b/packages/hmssdk_flutter/lib/src/hmssdk.dart @@ -1430,7 +1430,7 @@ class HMSSDK { /// ///**hmsActionResultListener** - [hmsActionResultListener] is a callback instance on which [HMSActionResultListener.onSuccess] and [HMSActionResultListener.onException] will be called. /// - ///TODO: Add docs link + /// Refer the guide [here](https://www.100ms.live/docs/flutter/v2/how-to-guides/interact-with-room/peer/large-room) void lowerLocalPeerHand( {HMSActionResultListener? hmsActionResultListener}) async { final dynamic result = @@ -1453,7 +1453,7 @@ class HMSSDK { /// ///**hmsActionResultListener** - [hmsActionResultListener] is a callback instance on which [HMSActionResultListener.onSuccess] and [HMSActionResultListener.onException] will be called. /// - ///TODO: Add docs link + /// Refer the guide [here](https://www.100ms.live/docs/flutter/v2/how-to-guides/interact-with-room/peer/large-room) void raiseLocalPeerHand( {HMSActionResultListener? hmsActionResultListener}) async { final dynamic result = @@ -1477,7 +1477,7 @@ class HMSSDK { ///**forPeer** - [forPeer] the peer whose hand you wish to lower ///**hmsActionResultListener** - [hmsActionResultListener] is a callback instance on which [HMSActionResultListener.onSuccess] and [HMSActionResultListener.onException] will be called. /// - ///TODO: Add docs link + /// Refer the guide [here](https://www.100ms.live/docs/flutter/v2/how-to-guides/interact-with-room/peer/large-room) void lowerRemotePeerHand( {required HMSPeer forPeer, HMSActionResultListener? hmsActionResultListener}) async { From 2143034a5979cf53498c33fecc73ef9eb27317c1 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 4 Sep 2024 15:07:16 +0530 Subject: [PATCH 23/38] resolved blocked peer can block others from chat bug --- .../chat_utilities_bottom_sheet.dart | 27 +++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_utilities_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_utilities_bottom_sheet.dart index 2cec15a3e..ba18c6c6c 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_utilities_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_utilities_bottom_sheet.dart @@ -30,6 +30,7 @@ class ChatUtilitiesBottomSheet extends StatefulWidget { class _ChatUtilitiesBottomSheetState extends State { bool isPinned = false; bool isBlocked = false; + bool isLocalBlocked = false; @override initState() { @@ -39,14 +40,28 @@ class _ChatUtilitiesBottomSheetState extends State { (element) => element["id"] == widget.message.messageId) != -1; - isBlocked = context.read().blackListedUserIds.indexWhere( - (userId) => userId == widget.message.sender?.customerUserId) != - -1; + // Initial check for isBlocked + updateIsBlocked(); + + // Add listener to update isBlocked when blackListedUserIds changes + context.read().addListener(updateIsBlocked); + } + + void updateIsBlocked() { + setState(() { + isBlocked = context.read().blackListedUserIds.indexWhere( + (userId) => userId == widget.message.sender?.customerUserId) != + -1; + isLocalBlocked = context.read().blackListedUserIds.indexWhere( + (userId) => userId == context.read().localPeer?.customerUserId) != + -1; + }); } @override void deactivate() { context.read().removeBottomSheet(context); + context.read().removeListener(updateIsBlocked); super.deactivate(); } @@ -156,7 +171,8 @@ class _ChatUtilitiesBottomSheetState extends State { if ((HMSRoomLayout.chatData?.realTimeControls?.canBlockUser ?? false) && - !(widget.message.sender?.isLocal ?? true)) + !(widget.message.sender?.isLocal ?? true) && + !isLocalBlocked) ListTile( horizontalTitleGap: 2, onTap: () async { @@ -180,7 +196,8 @@ class _ChatUtilitiesBottomSheetState extends State { text: isBlocked ? "Unblock from Chat" : "Block from Chat", letterSpacing: 0.1, fontWeight: FontWeight.w600, - textColor: HMSThemeColors.alertErrorDefault)), + textColor: HMSThemeColors.alertErrorDefault) + ), if ((context .read() From 6ef27cb536ddfa2658a9bbb1d42993ce7bbd042e Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 4 Sep 2024 15:56:41 +0530 Subject: [PATCH 24/38] running on Flutter version 3.13.9 --- .../hmssdk_flutter/example/ios/Podfile.lock | 2 +- packages/hmssdk_flutter/example/pubspec.lock | 26 +++++++++---------- packages/hmssdk_flutter/pubspec.lock | 26 +++++++++---------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index 65d6b908f..67749b088 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -303,7 +303,7 @@ SPEC CHECKSUMS: FirebaseRemoteConfigInterop: 6efda51fb5e2f15b16585197e26eaa09574e8a4d FirebaseSessions: dbd14adac65ce996228652c1fc3a3f576bdf3ecc FirebaseSharedSwift: 20530f495084b8d840f78a100d8c5ee613375f6e - Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 + Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817 GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a GoogleMLKit: 2bd0dc6253c4d4f227aad460f69215a504b2980e diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index a840ef88b..151c71ca3 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -77,10 +77,10 @@ packages: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.17.2" cross_file: dependency: transitive description: @@ -475,10 +475,10 @@ packages: dependency: transitive description: name: meta - sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.9.1" mime: dependency: transitive description: @@ -784,18 +784,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.1" string_scanner: dependency: transitive description: @@ -816,10 +816,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" url: "https://pub.dev" source: hosted - version: "0.6.1" + version: "0.6.0" tuple: dependency: transitive description: @@ -952,10 +952,10 @@ packages: dependency: transitive description: name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "0.1.4-beta" webview_flutter: dependency: transitive description: @@ -1013,5 +1013,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.2.0-194.0.dev <4.0.0" + dart: ">=3.1.0 <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hmssdk_flutter/pubspec.lock b/packages/hmssdk_flutter/pubspec.lock index 77e2f044a..2932c9c3b 100644 --- a/packages/hmssdk_flutter/pubspec.lock +++ b/packages/hmssdk_flutter/pubspec.lock @@ -37,10 +37,10 @@ packages: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.17.2" fake_async: dependency: transitive description: @@ -87,10 +87,10 @@ packages: dependency: transitive description: name: meta - sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.9.1" path: dependency: transitive description: @@ -116,18 +116,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.1" string_scanner: dependency: transitive description: @@ -148,10 +148,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" url: "https://pub.dev" source: hosted - version: "0.6.1" + version: "0.6.0" vector_math: dependency: transitive description: @@ -164,10 +164,10 @@ packages: dependency: transitive description: name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "0.1.4-beta" sdks: - dart: ">=3.2.0-194.0.dev <4.0.0" + dart: ">=3.1.0-185.0.dev <4.0.0" flutter: ">=2.10.0" From 21892f1fc8fccd9103bc9c487e8d45e7e0dbc73e Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Wed, 4 Sep 2024 16:09:26 +0530 Subject: [PATCH 25/38] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?25=20(525)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 159e9f5de..fc3bb8215 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -40,8 +40,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 524 - versionName "1.5.224" + versionCode 525 + versionName "1.5.225" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index b0e68c045..f149f46bc 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.224 + 1.5.225 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 524 + 525 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From 2cb623bec35e05afc330b097a224ad61fdd42406 Mon Sep 17 00:00:00 2001 From: ygit Date: Fri, 6 Sep 2024 13:15:19 +0530 Subject: [PATCH 26/38] Revert "ISS-22778: Updated DateTime parsing (#1796)" (#1813) This reverts commit 4e43ea3dbb8522e31ccfbf10207fde7304262ded. --- .../widgets/bottom_sheets/chat_bottom_sheet.dart | 16 +++------------- .../common_widgets/message_container.dart | 4 +--- .../hms/hmssdk_flutter/HMSMessageExtension.kt | 3 ++- .../hls_player/HMSHLSCueExtension.kt | 8 ++++---- .../Classes/HLSPlayer/HMSHLSCueExtension.swift | 4 ++-- .../ios/Classes/Models/HMSMessageExtension.swift | 2 +- .../lib/src/model/hls_player/hms_hls_cue.dart | 6 +++--- .../lib/src/model/hms_date_extension.dart | 6 ++++++ .../lib/src/model/hms_message.dart | 4 ++-- 9 files changed, 24 insertions(+), 29 deletions(-) diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_bottom_sheet.dart index d000273b5..553f835af 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_bottom_sheet.dart @@ -153,19 +153,9 @@ class _ChatBottomSheetState extends State { child: const HMSEmptyChatWidget()))) : Expanded( child: Column(children: [ - Selector( - selector: (_, meetingStore) => - meetingStore - .pinnedMessages.length, - builder: - (_, pinnedMessageLength, __) { - return pinnedMessageLength > 0 - ? Expanded( - flex: 1, - child: - const PinChatWidget()) - : const SizedBox(); - }), + Expanded( + flex: 1, + child: const PinChatWidget()), /// List containing chats Expanded( diff --git a/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart b/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart index 86c44e56c..d3753bba5 100644 --- a/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart +++ b/packages/hms_room_kit/lib/src/widgets/common_widgets/message_container.dart @@ -97,9 +97,7 @@ class MessageContainer extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.end, children: [ HMSSubtitleText( - text: message.time == null - ? "" - : formatter.format(message.time!), + text: formatter.format(message.time), textColor: HMSThemeColors.onSurfaceMediumEmphasis, ), const SizedBox( diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSMessageExtension.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSMessageExtension.kt index 2decbdcd2..0436770e2 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSMessageExtension.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/HMSMessageExtension.kt @@ -10,7 +10,8 @@ class HMSMessageExtension { if (message == null)return null args["message_id"] = message.messageId args["message"] = message.message - args["time"] = message.serverReceiveTime + args["time"] = + SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(message.serverReceiveTime).toString() args["type"] = message.type if (message.sender != null) { args["sender"] = HMSPeerExtension.toDictionary(message.sender)!! diff --git a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/hls_player/HMSHLSCueExtension.kt b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/hls_player/HMSHLSCueExtension.kt index 45356f2da..f64c1b8a5 100644 --- a/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/hls_player/HMSHLSCueExtension.kt +++ b/packages/hmssdk_flutter/android/src/main/kotlin/live/hms/hmssdk_flutter/hls_player/HMSHLSCueExtension.kt @@ -5,12 +5,12 @@ import java.text.SimpleDateFormat class HMSHLSCueExtension { companion object { - fun toDictionary(hmsHlsCue: HmsHlsCue): HashMap { - val args = HashMap() + fun toDictionary(hmsHlsCue: HmsHlsCue): HashMap { + val args = HashMap() args["id"] = hmsHlsCue.id - args["start_date"] = hmsHlsCue.startDate - args["end_date"] = hmsHlsCue.endDate + args["start_date"] = SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(hmsHlsCue.startDate).toString() + args["end_date"] = SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(hmsHlsCue.endDate).toString() args["payload"] = hmsHlsCue.payloadval return args diff --git a/packages/hmssdk_flutter/ios/Classes/HLSPlayer/HMSHLSCueExtension.swift b/packages/hmssdk_flutter/ios/Classes/HLSPlayer/HMSHLSCueExtension.swift index dcda74bac..5267f5d19 100644 --- a/packages/hmssdk_flutter/ios/Classes/HLSPlayer/HMSHLSCueExtension.swift +++ b/packages/hmssdk_flutter/ios/Classes/HLSPlayer/HMSHLSCueExtension.swift @@ -15,9 +15,9 @@ class HMSHLSCueExtension { var dict = [String: Any?]() dict["id"] = hmsHlsCue.id - dict["start_date"] = (hmsHlsCue.startDate.timeIntervalSince1970 * 1000) + dict["start_date"] = "\(hmsHlsCue.startDate)" if let endDate = hmsHlsCue.endDate { - dict["end_date"] = (endDate.timeIntervalSince1970 * 1000) + dict["end_date"] = "\(endDate)" } dict["payload"] = hmsHlsCue.payload diff --git a/packages/hmssdk_flutter/ios/Classes/Models/HMSMessageExtension.swift b/packages/hmssdk_flutter/ios/Classes/Models/HMSMessageExtension.swift index 668b4affe..d384b3a28 100644 --- a/packages/hmssdk_flutter/ios/Classes/Models/HMSMessageExtension.swift +++ b/packages/hmssdk_flutter/ios/Classes/Models/HMSMessageExtension.swift @@ -20,7 +20,7 @@ class HMSMessageExtension { dict["type"] = message.type - dict["time"] = Int(message.time.timeIntervalSince1970 * 1000) + dict["time"] = "\(message.time)" dict["hms_message_recipient"] = HMSMessageRecipientExtension.toDictionary(message.recipient) diff --git a/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart b/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart index cfed56ff0..1ffd1408f 100644 --- a/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart +++ b/packages/hmssdk_flutter/lib/src/model/hls_player/hms_hls_cue.dart @@ -10,7 +10,7 @@ class HMSHLSCue { final String? id; // startDate of the timed event - final DateTime? startDate; + final DateTime startDate; // endDate of the timed event final DateTime? endDate; @@ -22,10 +22,10 @@ class HMSHLSCue { factory HMSHLSCue.fromMap(Map map) { return HMSHLSCue( - startDate: HMSDateExtension.convertDateFromEpoch(map["start_date"]), + startDate: HMSDateExtension.convertDateFromString(map["start_date"]), endDate: map["end_date"] == null ? null - : HMSDateExtension.convertDateFromEpoch(map["end_date"]), + : HMSDateExtension.convertDateFromString(map["end_date"]), id: map["id"], payload: map["payload"]); } diff --git a/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart b/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart index f4e3c0572..caf3f96c0 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_date_extension.dart @@ -7,6 +7,12 @@ import 'dart:developer'; class HMSDateExtension { + ///Returns DateTime object from String + static DateTime convertDateFromString(String date) { + DateTime _dateTime = DateTime.parse(date).toLocal(); + return _dateTime; + } + ///Returns optional DateTime object from epoch in milliseconds static DateTime? convertDateFromEpoch(int date) { try { diff --git a/packages/hmssdk_flutter/lib/src/model/hms_message.dart b/packages/hmssdk_flutter/lib/src/model/hms_message.dart index 2367ff0e3..a7093063b 100644 --- a/packages/hmssdk_flutter/lib/src/model/hms_message.dart +++ b/packages/hmssdk_flutter/lib/src/model/hms_message.dart @@ -31,7 +31,7 @@ class HMSMessage { final String type; ///[time] at which [sender] sent the [message] - final DateTime? time; + final DateTime time; HMSMessageRecipient? hmsMessageRecipient; HMSMessage( @@ -56,7 +56,7 @@ class HMSMessage { sender: sender, message: messageMap['message'] as String, type: messageMap['type'] as String, - time: HMSDateExtension.convertDateFromEpoch(messageMap['time']), + time: HMSDateExtension.convertDateFromString(messageMap['time']), hmsMessageRecipient: recipient); } From 0315229bff21768dc86fbd9f4acd55afd435b168 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Fri, 6 Sep 2024 14:34:55 +0530 Subject: [PATCH 27/38] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?26=20(526)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index fc3bb8215..a1bde70fc 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -40,8 +40,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 525 - versionName "1.5.225" + versionCode 526 + versionName "1.5.226" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index f149f46bc..83bf66953 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.225 + 1.5.226 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 525 + 526 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From 308aa3118b08b96689d11609ac613c44ca37af2f Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Tue, 10 Sep 2024 15:27:11 +0530 Subject: [PATCH 28/38] removed calling of destroy before room actually ended --- packages/hms_room_kit/lib/src/meeting/meeting_store.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart index bebe8531d..5be1bcf3d 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -380,7 +380,6 @@ class MeetingStore extends ChangeNotifier void endRoom(bool lock, String? reason) { isEndRoomCalled = true; _hmsSDKInteractor.endRoom(lock, reason ?? "", this); - _hmsSDKInteractor.destroy(); } void removePeerFromRoom(HMSPeer peer) { From 70a65614e74fe67775a96154f7e43a70c8109575 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Tue, 10 Sep 2024 15:52:39 +0530 Subject: [PATCH 29/38] bumped android SDK version --- packages/hmssdk_flutter/example/ExampleAppChangelog.txt | 2 +- packages/hmssdk_flutter/lib/assets/sdk-versions.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index fed0795dc..99dcdae54 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -17,5 +17,5 @@ https://app.devrev.ai/100ms/works/ISS-22877 Room Kit: 1.1.6 Core SDK: 1.10.6 -Android SDK: 2.9.66 +Android SDK: 2.9.67 iOS SDK: 1.16.1 diff --git a/packages/hmssdk_flutter/lib/assets/sdk-versions.json b/packages/hmssdk_flutter/lib/assets/sdk-versions.json index ff1ec0e3b..82477eff1 100644 --- a/packages/hmssdk_flutter/lib/assets/sdk-versions.json +++ b/packages/hmssdk_flutter/lib/assets/sdk-versions.json @@ -4,5 +4,5 @@ "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", "iOSNoiseCancellationModels": "1.0.0", - "android": "2.9.66" + "android": "2.9.67" } From add162f9c2136d9c3ffb1a17619255b76cf412b2 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Tue, 10 Sep 2024 16:05:27 +0530 Subject: [PATCH 30/38] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?27=20(527)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index a1bde70fc..c7422ce43 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -40,8 +40,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 526 - versionName "1.5.226" + versionCode 527 + versionName "1.5.227" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 83bf66953..aaf74a946 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.226 + 1.5.227 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 526 + 527 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From ed4d2bfc81e27ffeb7291188657f094016377581 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Thu, 12 Sep 2024 17:54:53 +0530 Subject: [PATCH 31/38] initializing the HLS Store --- .../hms_room_kit/lib/src/meeting_screen_controller.dart | 7 +------ packages/hmssdk_flutter/example/ExampleAppChangelog.txt | 2 ++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/hms_room_kit/lib/src/meeting_screen_controller.dart b/packages/hms_room_kit/lib/src/meeting_screen_controller.dart index 5dc70ce02..3118b518c 100644 --- a/packages/hms_room_kit/lib/src/meeting_screen_controller.dart +++ b/packages/hms_room_kit/lib/src/meeting_screen_controller.dart @@ -92,12 +92,7 @@ class _MeetingScreenControllerState extends State { _meetingStore = MeetingStore(hmsSDKInteractor: widget.hmsSDKInteractor); _setInitValues(); _joinMeeting(); - - ///If the role is hlsStreaming we set the HLS Player store - if (HMSRoomLayout.roleLayoutData?.screens?.conferencing?.hlsLiveStreaming != - null) { - _setHLSPlayerStore(); - } + _setHLSPlayerStore(); } ///This function joins the room only if the name is not empty diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 99dcdae54..68d709a14 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -15,6 +15,8 @@ https://app.devrev.ai/100ms/works/ISS-23102 - Change Role on Prebuilt https://app.devrev.ai/100ms/works/ISS-22877 +- Resolved crash when performing Role Change to VNRT + Room Kit: 1.1.6 Core SDK: 1.10.6 Android SDK: 2.9.67 From 104dcfbb6126ae5ed7e342ad3b82d26b95834c1e Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Thu, 12 Sep 2024 18:09:09 +0530 Subject: [PATCH 32/38] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?28=20(528)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index c7422ce43..e6cd13c83 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -40,8 +40,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 527 - versionName "1.5.227" + versionCode 528 + versionName "1.5.228" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index aaf74a946..7548138fc 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.227 + 1.5.228 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 527 + 528 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From f8b44e0ed82b9c56917ccdb82bbbee78d8ab8a85 Mon Sep 17 00:00:00 2001 From: ygit Date: Mon, 16 Sep 2024 08:10:39 +0000 Subject: [PATCH 33/38] =?UTF-8?q?=F0=9F=A4=96=20Automated=20Format=20and?= =?UTF-8?q?=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bottom_sheets/chat_utilities_bottom_sheet.dart | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_utilities_bottom_sheet.dart b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_utilities_bottom_sheet.dart index ba18c6c6c..e588f36a4 100644 --- a/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_utilities_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/src/widgets/bottom_sheets/chat_utilities_bottom_sheet.dart @@ -52,8 +52,12 @@ class _ChatUtilitiesBottomSheetState extends State { isBlocked = context.read().blackListedUserIds.indexWhere( (userId) => userId == widget.message.sender?.customerUserId) != -1; - isLocalBlocked = context.read().blackListedUserIds.indexWhere( - (userId) => userId == context.read().localPeer?.customerUserId) != + isLocalBlocked = context + .read() + .blackListedUserIds + .indexWhere((userId) => + userId == + context.read().localPeer?.customerUserId) != -1; }); } @@ -196,8 +200,7 @@ class _ChatUtilitiesBottomSheetState extends State { text: isBlocked ? "Unblock from Chat" : "Block from Chat", letterSpacing: 0.1, fontWeight: FontWeight.w600, - textColor: HMSThemeColors.alertErrorDefault) - ), + textColor: HMSThemeColors.alertErrorDefault)), if ((context .read() From cf186dd8254683e57beb074726006e93ffffe826 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Mon, 16 Sep 2024 15:11:14 +0530 Subject: [PATCH 34/38] =?UTF-8?q?released=20sample=20app=20version=201.5.2?= =?UTF-8?q?29=20(529)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hmssdk_flutter/example/android/app/build.gradle | 4 ++-- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index e6cd13c83..bbf2cc4c5 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -40,8 +40,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 34 - versionCode 528 - versionName "1.5.228" + versionCode 529 + versionName "1.5.229" } signingConfigs { diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index 7548138fc..0e3e4f6d3 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.228 + 1.5.229 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 528 + 529 ITSAppUsesNonExemptEncryption LSApplicationCategoryType From 755b8a5fc4d136d4713136610ef85a2653c63044 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Tue, 17 Sep 2024 13:38:39 +0530 Subject: [PATCH 35/38] removed extraneous logging --- packages/hms_room_kit/lib/src/meeting/meeting_store.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart index 5be1bcf3d..6a03843b0 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -674,7 +674,7 @@ class MeetingStore extends ChangeNotifier void setTimestampWhenHandRaise() { int currentTime = DateTime.now().millisecondsSinceEpoch; - log("Vkohli Setting timestamp for hand raise $currentTime"); + _hmsSDKInteractor.changeMetadata( metadata: "{\"isBRBOn\":false,\"prevRole\":\"$previousRole\",\"handRaisedAt\":${currentTime}}", From 53466d8b225125bdfc0916ada15f6ba009a79afd Mon Sep 17 00:00:00 2001 From: ygit Date: Tue, 17 Sep 2024 08:09:41 +0000 Subject: [PATCH 36/38] =?UTF-8?q?=F0=9F=A4=96=20Automated=20Format=20and?= =?UTF-8?q?=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hms_room_kit/lib/src/meeting/meeting_store.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart index 6a03843b0..010fe6ac1 100644 --- a/packages/hms_room_kit/lib/src/meeting/meeting_store.dart +++ b/packages/hms_room_kit/lib/src/meeting/meeting_store.dart @@ -674,7 +674,7 @@ class MeetingStore extends ChangeNotifier void setTimestampWhenHandRaise() { int currentTime = DateTime.now().millisecondsSinceEpoch; - + _hmsSDKInteractor.changeMetadata( metadata: "{\"isBRBOn\":false,\"prevRole\":\"$previousRole\",\"handRaisedAt\":${currentTime}}", From 3302416ee4e408379a828e179ce02e878aa705de Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Tue, 17 Sep 2024 16:28:28 +0530 Subject: [PATCH 37/38] updated changelogs --- packages/hms_room_kit/CHANGELOG.md | 46 ++++++++++++++++++++++++++++ packages/hmssdk_flutter/CHANGELOG.md | 30 ++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/packages/hms_room_kit/CHANGELOG.md b/packages/hms_room_kit/CHANGELOG.md index d6bd02d05..743bd270e 100644 --- a/packages/hms_room_kit/CHANGELOG.md +++ b/packages/hms_room_kit/CHANGELOG.md @@ -6,6 +6,52 @@ | hmssdk_flutter | [![Pub Version](https://img.shields.io/pub/v/hmssdk_flutter)](https://pub.dev/packages/hmssdk_flutter) | | hms_video_plugin | [![Pub Version](https://img.shields.io/pub/v/hms_video_plugin)](https://pub.dev/packages/hms_video_plugin) | +# 1.10.6 - 2024-09-17 + +| Package | Version | +| ----------------------------| ------ | +| hms_room_kit | 1.1.6 | +| hmssdk_flutter | 1.10.6 | + +### Breaking Changes in hms_room_kit + +- Removed Noise Cancellation dependency from Prebuilt on Android + + Noise Cancellation dependency is removed from Prebuilt on Android. + Users will have to add the dependency manually in their Android project to use Noise Cancellation. + This change is made to reduce the size of the Prebuilt package. + Refer to the [Noise Cancellation](https://www.100ms.live/docs/flutter/v2/how-to-guides/extend-capabilities/noise-cancellation) documentation for more details. + + +### hmssdk_flutter + +- Added Camera Zoom Controls in `HMSCameraControls` + + Users can now control the camera zoom using the `HMSCameraControls` class. The `setZoom` method can be used to set the zoom level of the camera. + + Learn more about Camera Zoom Controls [here](https://www.100ms.live/docs/flutter/v2/how-to-guides/configure-your-device/camera/camera-controls). + +### hms_room_kit + +- Added support to control Automatic Gain Control and Noise Suppresion in Prebuilt + + Prebuilt now supports toggling Automatic Gain Control (AGC) and Noise Suppresion for better audio quality. Users can enable or disable AGC and Noise Suppresion from the prebuilt interface. + +- Resolved an issue where the Prebuilt UI was not updating on performing End Session + +- Hand Raise sorting based on Time + + Hand Raise list is now sorted based on the time of raising the hand. Refer to the [Hand Raise](https://www.100ms.live/docs/flutter/v2/how-to-guides/interact-with-room/peer/large-room) documentation for more details. + +- Added support to perform Switch Role of any user on Prebuilt + + Users can now switch the role of any user, if they have necessary permissions, from the Prebuilt interface. Refer to the [Change Role](https://www.100ms.live/docs/flutter/v2/how-to-guides/interact-with-room/peer/change-role) documentation for more details. + +Uses Android SDK 2.9.67 & iOS SDK 1.16.1 + +**Full Changelog**: [1.10.5...1.10.6](https://github.com/100mslive/100ms-flutter/compare/1.10.5...1.10.6) + + ## 1.1.5 - 2024-07-25 | Package | Version | diff --git a/packages/hmssdk_flutter/CHANGELOG.md b/packages/hmssdk_flutter/CHANGELOG.md index fee920169..928ac600b 100644 --- a/packages/hmssdk_flutter/CHANGELOG.md +++ b/packages/hmssdk_flutter/CHANGELOG.md @@ -6,6 +6,36 @@ | hmssdk_flutter | [![Pub Version](https://img.shields.io/pub/v/hmssdk_flutter)](https://pub.dev/packages/hmssdk_flutter) | | hms_video_plugin | [![Pub Version](https://img.shields.io/pub/v/hms_video_plugin)](https://pub.dev/packages/hms_video_plugin) | +# 1.10.6 - 2024-09-17 + +| Package | Version | +| ----------------------------|----------| +| hms_room_kit | 1.1.6 | +| hmssdk_flutter | 1.10.6 | + +### Breaking Changes + +- Removed Noise Cancellation dependency + + Noise Cancellation dependency is removed from Prebuilt on Android. + Users will have to add the dependency manually in their Android project to use Noise Cancellation. + This change is made to reduce the size of the package. + Refer to the [Noise Cancellation](https://www.100ms.live/docs/flutter/v2/how-to-guides/extend-capabilities/noise-cancellation) documentation for more details. + + +### hmssdk_flutter + +- Added Camera Zoom Controls in `HMSCameraControls` + + Users can now control the camera zoom using the `HMSCameraControls` class. The `setZoom` method can be used to set the zoom level of the camera. + + Learn more about Camera Zoom Controls [here](https://www.100ms.live/docs/flutter/v2/how-to-guides/configure-your-device/camera/camera-controls). + +Uses Android SDK 2.9.67 & iOS SDK 1.16.1 + +**Full Changelog**: [1.10.5...1.10.6](https://github.com/100mslive/100ms-flutter/compare/1.10.5...1.10.6) + + # 1.10.5 - 2024-07-25 | Package | Version | From 761841e55eba14931ac3935023ef32a992a03356 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Tue, 17 Sep 2024 16:40:09 +0530 Subject: [PATCH 38/38] updated packages --- packages/hms_room_kit/example/pubspec.lock | 33 ++++++++++---------- packages/hms_room_kit/pubspec.lock | 33 ++++++++++---------- packages/hms_room_kit/pubspec.yaml | 3 +- packages/hmssdk_flutter/example/pubspec.lock | 7 +++-- 4 files changed, 39 insertions(+), 37 deletions(-) diff --git a/packages/hms_room_kit/example/pubspec.lock b/packages/hms_room_kit/example/pubspec.lock index 1ae4c3c32..ab3e10d6e 100644 --- a/packages/hms_room_kit/example/pubspec.lock +++ b/packages/hms_room_kit/example/pubspec.lock @@ -61,10 +61,10 @@ packages: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.17.2" cross_file: dependency: transitive description: @@ -242,9 +242,10 @@ packages: hmssdk_flutter: dependency: transitive description: - path: "../../hmssdk_flutter" - relative: true - source: path + name: hmssdk_flutter + sha256: "0097739f0005593738021d8c3d56179aee3ae46fa704a0d0be419b4ece4c350d" + url: "https://pub.dev" + source: hosted version: "1.10.6" http: dependency: transitive @@ -386,10 +387,10 @@ packages: dependency: transitive description: name: meta - sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.9.1" mime: dependency: transitive description: @@ -671,18 +672,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.1" string_scanner: dependency: transitive description: @@ -703,10 +704,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" url: "https://pub.dev" source: hosted - version: "0.6.1" + version: "0.6.0" tuple: dependency: transitive description: @@ -839,10 +840,10 @@ packages: dependency: transitive description: name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "0.1.4-beta" webview_flutter: dependency: transitive description: @@ -900,5 +901,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.2.0-194.0.dev <4.0.0" + dart: ">=3.1.0 <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hms_room_kit/pubspec.lock b/packages/hms_room_kit/pubspec.lock index c890dd881..f79153b9d 100644 --- a/packages/hms_room_kit/pubspec.lock +++ b/packages/hms_room_kit/pubspec.lock @@ -61,10 +61,10 @@ packages: dependency: "direct main" description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687 url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.17.2" cross_file: dependency: transitive description: @@ -219,9 +219,10 @@ packages: hmssdk_flutter: dependency: "direct main" description: - path: "../hmssdk_flutter" - relative: true - source: path + name: hmssdk_flutter + sha256: "0097739f0005593738021d8c3d56179aee3ae46fa704a0d0be419b4ece4c350d" + url: "https://pub.dev" + source: hosted version: "1.10.6" http: dependency: transitive @@ -363,10 +364,10 @@ packages: dependency: transitive description: name: meta - sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.9.1" mime: dependency: transitive description: @@ -648,18 +649,18 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.11.0" stream_channel: dependency: transitive description: name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 + sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.1" string_scanner: dependency: transitive description: @@ -680,10 +681,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" url: "https://pub.dev" source: hosted - version: "0.6.1" + version: "0.6.0" tuple: dependency: "direct main" description: @@ -816,10 +817,10 @@ packages: dependency: transitive description: name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10 url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "0.1.4-beta" webview_flutter: dependency: "direct main" description: @@ -877,5 +878,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.2.0-194.0.dev <4.0.0" + dart: ">=3.1.0 <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index 157ba8097..c8e2e53d3 100644 --- a/packages/hms_room_kit/pubspec.yaml +++ b/packages/hms_room_kit/pubspec.yaml @@ -14,8 +14,7 @@ dependencies: flutter: sdk: flutter - hmssdk_flutter: - path: ../hmssdk_flutter + hmssdk_flutter: 1.10.6 intl: ^0.19.0 permission_handler: ^11.0.0 provider: ^6.0.5 diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 151c71ca3..5624f709c 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -339,9 +339,10 @@ packages: hmssdk_flutter: dependency: transitive description: - path: ".." - relative: true - source: path + name: hmssdk_flutter + sha256: "0097739f0005593738021d8c3d56179aee3ae46fa704a0d0be419b4ece4c350d" + url: "https://pub.dev" + source: hosted version: "1.10.6" http: dependency: transitive