From fdb9493f5f49147bab6b0fef605f731b46c62807 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Fri, 16 Feb 2024 13:23:50 +0530 Subject: [PATCH] Updated sdk versions (#1714) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated sdk versions * Fixed build errors * 🤖 Automated Format and Fix --------- Co-authored-by: Decoder07 --- packages/hms_room_kit/example/pubspec.yaml | 2 +- packages/hms_room_kit/pubspec.yaml | 2 +- .../example/ExampleAppChangelog.txt | 34 +++--------- packages/hmssdk_flutter/example/pubspec.lock | 52 ++++++++++++++----- packages/hmssdk_flutter/example/pubspec.yaml | 2 +- .../lib/assets/sdk-versions.json | 2 +- .../lib/src/enum/hms_audio_codec.dart | 5 +- packages/hmssdk_flutter/lib/src/hmssdk.dart | 5 +- packages/hmssdk_flutter/pubspec.lock | 50 +++++++++++++----- packages/hmssdk_flutter/pubspec.yaml | 2 +- 10 files changed, 93 insertions(+), 63 deletions(-) diff --git a/packages/hms_room_kit/example/pubspec.yaml b/packages/hms_room_kit/example/pubspec.yaml index 34b4c4d6c..eb2e67f1f 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.0.12 +version: 1.0.13 environment: sdk: ">=2.19.6 <3.0.0" diff --git a/packages/hms_room_kit/pubspec.yaml b/packages/hms_room_kit/pubspec.yaml index b522541df..884e2af23 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.0.12 +version: 1.0.13 homepage: https://www.100ms.live/ repository: https://github.com/100mslive/100ms-flutter issue_tracker: https://github.com/100mslive/100ms-flutter/issues diff --git a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt index 751b44559..c5dde196a 100644 --- a/packages/hmssdk_flutter/example/ExampleAppChangelog.txt +++ b/packages/hmssdk_flutter/example/ExampleAppChangelog.txt @@ -1,33 +1,15 @@ Board: https://100ms.atlassian.net/jira/software/projects/FLUT/boards/34/ -- Polls: Create Polls initial Screen -https://100ms.atlassian.net/browse/FLUT-194 +- Polls: Create a Quiz +https://100ms.atlassian.net/browse/FLUT-210 -- Polls: Ask a Question Screen -https://100ms.atlassian.net/browse/FLUT-195 +- Polls: Launch a Quiz +https://100ms.atlassian.net/browse/FLUT-213 -- Polls: Single Choice Question Screen -https://100ms.atlassian.net/browse/FLUT-196 +- Polls: Quiz Panel with a single question +https://100ms.atlassian.net/browse/FLUT-211 -- Polls: Multiple Choice Question Screen -https://100ms.atlassian.net/browse/FLUT-197 - -- Polls: Launch Poll Screen -https://100ms.atlassian.net/browse/FLUT-202 - -- Polls: Poll Panel with a live Poll Screen -https://100ms.atlassian.net/browse/FLUT-204 - -- Created poll with hide count, can see count as VNRT -https://100ms.atlassian.net/browse/FLUT-233 - -- host created poll but VNRT getting notification instantly even when timed metadata is ON -https://100ms.atlassian.net/browse/FLUT-220 - -- VNRT user not able to see poll if rejoin session -https://100ms.atlassian.net/browse/FLUT-235 - -Room Kit: 1.0.12 -Core SDK: 1.9.9 +Room Kit: 1.0.13 +Core SDK: 1.9.10 Android SDK: 2.9.0 iOS SDK: 1.5.0 diff --git a/packages/hmssdk_flutter/example/pubspec.lock b/packages/hmssdk_flutter/example/pubspec.lock index 848be1758..5ac067f69 100644 --- a/packages/hmssdk_flutter/example/pubspec.lock +++ b/packages/hmssdk_flutter/example/pubspec.lock @@ -286,7 +286,7 @@ packages: path: "../../hms_room_kit" relative: true source: path - version: "1.0.12" + version: "1.0.13" hmssdk_flutter: dependency: transitive description: @@ -326,6 +326,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: @@ -346,26 +370,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: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.11.0" mime: dependency: transitive description: @@ -402,10 +426,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: @@ -835,14 +859,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.2.2" - web: + vm_service: dependency: transitive description: - name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + name: vm_service + sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "13.0.0" win32: dependency: transitive description: @@ -868,5 +892,5 @@ packages: source: hosted version: "6.3.0" sdks: - dart: ">=3.2.0-194.0.dev <4.0.0" + dart: ">=3.2.0-0 <4.0.0" flutter: ">=3.13.0" diff --git a/packages/hmssdk_flutter/example/pubspec.yaml b/packages/hmssdk_flutter/example/pubspec.yaml index d9065c665..4cf52f921 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.9.9 +version: 1.9.10 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 669853ab3..acfe8e6ce 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.9.9", + "flutter": "1.9.10", "ios": "1.5.0", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", diff --git a/packages/hmssdk_flutter/lib/src/enum/hms_audio_codec.dart b/packages/hmssdk_flutter/lib/src/enum/hms_audio_codec.dart index 211f4b629..a52aa7bca 100644 --- a/packages/hmssdk_flutter/lib/src/enum/hms_audio_codec.dart +++ b/packages/hmssdk_flutter/lib/src/enum/hms_audio_codec.dart @@ -1,8 +1,7 @@ -///{@nodoc} +///[HMSAudioCodec] contains audio codec supported by HMSSDK enum HMSAudioCodec { opus, unknown } -///{@nodoc} -///AudioCodec +///Utility method to return audio codec from string and vice versa extension HMSAudioCodecValues on HMSAudioCodec { static HMSAudioCodec getHMSCodecFromName(String name) { switch (name) { diff --git a/packages/hmssdk_flutter/lib/src/hmssdk.dart b/packages/hmssdk_flutter/lib/src/hmssdk.dart index fe28339d6..c1f26fde3 100644 --- a/packages/hmssdk_flutter/lib/src/hmssdk.dart +++ b/packages/hmssdk_flutter/lib/src/hmssdk.dart @@ -577,7 +577,7 @@ class HMSSDK { arguments: arguments); if (hmsActionResultListener != null) { - if (result == null) + if (result == null) { hmsActionResultListener.onSuccess( methodType: HMSActionResultListenerMethod.changeRoleOfPeer, arguments: { @@ -585,7 +585,7 @@ class HMSSDK { 'role_name': toRole, 'force_change': force }); - else + } else { hmsActionResultListener.onException( arguments: { 'peer': forPeer, @@ -594,6 +594,7 @@ class HMSSDK { }, methodType: HMSActionResultListenerMethod.changeRoleOfPeer, hmsException: HMSException.fromMap(result["error"])); + } } } diff --git a/packages/hmssdk_flutter/pubspec.lock b/packages/hmssdk_flutter/pubspec.lock index 53939cd59..207cb2beb 100644 --- a/packages/hmssdk_flutter/pubspec.lock +++ b/packages/hmssdk_flutter/pubspec.lock @@ -59,38 +59,62 @@ 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" matcher: 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: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e + sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted - version: "1.10.0" + 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 @@ -152,14 +176,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.4" - web: + vm_service: dependency: transitive description: - name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 + name: vm_service + sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted - version: "0.3.0" + version: "13.0.0" sdks: - dart: ">=3.2.0-194.0.dev <4.0.0" + dart: ">=3.2.0-0 <4.0.0" flutter: ">=2.10.0" diff --git a/packages/hmssdk_flutter/pubspec.yaml b/packages/hmssdk_flutter/pubspec.yaml index 45d0130d6..2632c329a 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.9.9 +version: 1.9.10 homepage: https://www.100ms.live/ repository: https://github.com/100mslive/100ms-flutter issue_tracker: https://github.com/100mslive/100ms-flutter/issues