From 28967a8ac680189ec8f34475dd3f5f18ef8fdb45 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Tue, 18 Jul 2023 12:12:06 +0530 Subject: [PATCH] Updated dependencies (#1433) --- .vscode/launch.json | 28 ++++++++++++ .../more_settings_bottom_sheet.dart | 17 ++++++-- .../bloc/lib/observers/room_observer.dart | 5 +++ sample apps/bloc/pubspec.lock | 43 ++++++++++--------- sample apps/bloc/pubspec.yaml | 3 +- .../flutter-quickstart-app/pubspec.lock | 6 +-- .../flutter-quickstart-app/pubspec.yaml | 2 +- 7 files changed, 73 insertions(+), 31 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..9b4564499 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,28 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "example", + "cwd": "packages/hmssdk_flutter/example", + "request": "launch", + "type": "dart" + }, + { + "name": "example (profile mode)", + "cwd": "packages/hmssdk_flutter/example", + "request": "launch", + "type": "dart", + "flutterMode": "profile" + }, + { + "name": "example (release mode)", + "cwd": "packages/hmssdk_flutter/example", + "request": "launch", + "type": "dart", + "flutterMode": "release" + } + ] +} \ No newline at end of file diff --git a/packages/hms_room_kit/lib/widgets/bottom_sheets/more_settings_bottom_sheet.dart b/packages/hms_room_kit/lib/widgets/bottom_sheets/more_settings_bottom_sheet.dart index 973b39e6f..3182bc7d3 100644 --- a/packages/hms_room_kit/lib/widgets/bottom_sheets/more_settings_bottom_sheet.dart +++ b/packages/hms_room_kit/lib/widgets/bottom_sheets/more_settings_bottom_sheet.dart @@ -30,6 +30,16 @@ class MoreSettingsBottomSheet extends StatefulWidget { } class _MoreSettingsBottomSheetState extends State { + void _showRoleList( + {required List roles, required MeetingStore meetingStore}) { + UtilityComponents.showRoleListForMute(context, roles, meetingStore); + } + + void _showDialogForBulkRoleChange( + {required List roles, required MeetingStore meetingStore}) { + UtilityComponents.showDialogForBulkRoleChange(context, roles, meetingStore); + } + @override Widget build(BuildContext context) { MeetingStore meetingStore = context.read(); @@ -398,8 +408,7 @@ class _MoreSettingsBottomSheetState extends State { onTap: () async { Navigator.pop(context); List roles = await meetingStore.getRoles(); - UtilityComponents.showRoleListForMute( - context, roles, meetingStore); + _showRoleList(roles: roles, meetingStore: meetingStore); }, contentPadding: EdgeInsets.zero, leading: SvgPicture.asset( @@ -423,8 +432,8 @@ class _MoreSettingsBottomSheetState extends State { onTap: () async { Navigator.pop(context); List roles = await meetingStore.getRoles(); - UtilityComponents.showDialogForBulkRoleChange( - context, roles, meetingStore); + _showDialogForBulkRoleChange( + roles: roles, meetingStore: meetingStore); }, contentPadding: EdgeInsets.zero, leading: SvgPicture.asset( diff --git a/sample apps/bloc/lib/observers/room_observer.dart b/sample apps/bloc/lib/observers/room_observer.dart index 5d0b221e3..44bcad33d 100644 --- a/sample apps/bloc/lib/observers/room_observer.dart +++ b/sample apps/bloc/lib/observers/room_observer.dart @@ -167,4 +167,9 @@ class RoomObserver implements HMSUpdateListener, HMSActionResultListener { List? availableAudioDevice}) { // TODO: implement onAudioDeviceChanged } + + @override + void onSessionStoreAvailable({HMSSessionStore? hmsSessionStore}) { + // TODO: implement onSessionStoreAvailable + } } diff --git a/sample apps/bloc/pubspec.lock b/sample apps/bloc/pubspec.lock index 6e457752e..a39287ea5 100644 --- a/sample apps/bloc/pubspec.lock +++ b/sample apps/bloc/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: async - sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0 + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted - version: "2.10.0" + version: "2.11.0" bloc: dependency: "direct main" description: @@ -29,10 +29,10 @@ packages: dependency: transitive description: name: characters - sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.3.0" clock: dependency: transitive description: @@ -45,10 +45,10 @@ packages: dependency: transitive description: name: collection - sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0 + sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c" url: "https://pub.dev" source: hosted - version: "1.17.0" + version: "1.17.1" cupertino_icons: dependency: "direct main" description: @@ -110,10 +110,11 @@ packages: hmssdk_flutter: dependency: "direct main" description: - path: "../.." - relative: true - source: path - version: "1.8.0" + name: hmssdk_flutter + sha256: "58c9c104b928ca62af8cd6b8a826ffef27e727a412d854b98e7f1fb151832d5e" + url: "https://pub.dev" + source: hosted + version: "1.7.2" http: dependency: "direct main" description: @@ -134,10 +135,10 @@ packages: dependency: transitive description: name: js - sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7" + sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 url: "https://pub.dev" source: hosted - version: "0.6.5" + version: "0.6.7" lints: dependency: transitive description: @@ -150,10 +151,10 @@ packages: dependency: transitive description: name: matcher - sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72" + sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb" url: "https://pub.dev" source: hosted - version: "0.12.13" + version: "0.12.15" material_color_utilities: dependency: transitive description: @@ -166,10 +167,10 @@ packages: dependency: transitive description: name: meta - sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.dev" source: hosted - version: "1.8.0" + version: "1.9.1" nested: dependency: transitive description: @@ -182,10 +183,10 @@ packages: dependency: transitive description: name: path - sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" url: "https://pub.dev" source: hosted - version: "1.8.2" + version: "1.8.3" permission_handler: dependency: "direct main" description: @@ -299,10 +300,10 @@ packages: dependency: transitive description: name: test_api - sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 + sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb url: "https://pub.dev" source: hosted - version: "0.4.16" + version: "0.5.1" typed_data: dependency: transitive description: @@ -328,5 +329,5 @@ packages: source: hosted version: "0.2.2" sdks: - dart: ">=2.18.0 <3.0.0" + dart: ">=3.0.0-0 <4.0.0" flutter: ">=2.10.0" diff --git a/sample apps/bloc/pubspec.yaml b/sample apps/bloc/pubspec.yaml index e1dac5785..9fe0cdfba 100644 --- a/sample apps/bloc/pubspec.yaml +++ b/sample apps/bloc/pubspec.yaml @@ -36,8 +36,7 @@ dependencies: focus_detector: http: rxdart: ^0.27.2 - hmssdk_flutter: - path: ../../ #branch name + hmssdk_flutter: 1.7.2 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. diff --git a/sample apps/flutter-quickstart-app/pubspec.lock b/sample apps/flutter-quickstart-app/pubspec.lock index d856677f9..2ef29de74 100644 --- a/sample apps/flutter-quickstart-app/pubspec.lock +++ b/sample apps/flutter-quickstart-app/pubspec.lock @@ -79,10 +79,10 @@ packages: dependency: "direct main" description: name: hmssdk_flutter - sha256: bb96354acae74e734e80b775303eaf69a50c804c62fd34b21e254825a387a972 + sha256: "58c9c104b928ca62af8cd6b8a826ffef27e727a412d854b98e7f1fb151832d5e" url: "https://pub.dev" source: hosted - version: "1.6.0" + version: "1.7.2" js: dependency: transitive description: @@ -242,4 +242,4 @@ packages: version: "2.1.4" sdks: dart: ">=3.0.0-0 <4.0.0" - flutter: ">=2.8.0" + flutter: ">=2.10.0" diff --git a/sample apps/flutter-quickstart-app/pubspec.yaml b/sample apps/flutter-quickstart-app/pubspec.yaml index fdc592431..2d708271b 100644 --- a/sample apps/flutter-quickstart-app/pubspec.yaml +++ b/sample apps/flutter-quickstart-app/pubspec.yaml @@ -35,7 +35,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 - hmssdk_flutter: 1.6.0 + hmssdk_flutter: 1.7.2 permission_handler: 10.2.0 dev_dependencies: