From ff6cfe673165b5a755b948139a513593bbcf691b Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 13 Jul 2023 15:23:22 +0530 Subject: [PATCH 01/11] Updated changelog --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65ed23611..25d5d28c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 1.7.2 - 2023-07-13 + +### Changes + +- Removed unnecessary imports for `hls-player` + + Unnecessary HLS Player imports are removed to streamline the codebase and minimize the SDK size. + +Updated to Android SDK 2.6.9 & iOS SDK 0.9.5 + +**Full Changelog**: [1.7.1...1.7.2](https://github.com/100mslive/100ms-flutter/compare/1.7.1...1.7.2) + ## 1.7.1 - 2023-06-30 ### Added From c021354429e68f7cf30ddf6dea9bc678580a98f7 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 13 Jul 2023 15:30:24 +0530 Subject: [PATCH 02/11] Fixed widget name --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25d5d28c7..cd9df9ca9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ### Changes -- Removed unnecessary imports for `hls-player` +- Removed unnecessary imports for `HMSHLSPlayer` Unnecessary HLS Player imports are removed to streamline the codebase and minimize the SDK size. From 228779519762a10d423ddd1410ddb34489e338de Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Thu, 13 Jul 2023 18:02:31 +0530 Subject: [PATCH 03/11] Updated sdk versions --- CHANGELOG.md | 2 +- lib/assets/sdk-versions.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd9df9ca9..326c2b0cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ Unnecessary HLS Player imports are removed to streamline the codebase and minimize the SDK size. -Updated to Android SDK 2.6.9 & iOS SDK 0.9.5 +Updated to Android SDK 2.7.0 & iOS SDK 0.9.5 **Full Changelog**: [1.7.1...1.7.2](https://github.com/100mslive/100ms-flutter/compare/1.7.1...1.7.2) diff --git a/lib/assets/sdk-versions.json b/lib/assets/sdk-versions.json index 7d5e40a7b..689e1bc10 100644 --- a/lib/assets/sdk-versions.json +++ b/lib/assets/sdk-versions.json @@ -3,5 +3,5 @@ "ios": "0.9.5", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", - "android": "2.6.8" + "android": "2.7.0" } From 6cdd1abefb5c7fa7bd5323ce1a28ac587315a474 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Fri, 14 Jul 2023 03:09:07 +0530 Subject: [PATCH 04/11] Updated version --- CHANGELOG.md | 4 ++-- lib/assets/sdk-versions.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 326c2b0cc..cad854631 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 1.7.2 - 2023-07-13 +## 1.7.2 - 2023-07-14 ### Changes @@ -6,7 +6,7 @@ Unnecessary HLS Player imports are removed to streamline the codebase and minimize the SDK size. -Updated to Android SDK 2.7.0 & iOS SDK 0.9.5 +Updated to Android SDK 2.7.1 & iOS SDK 0.9.5 **Full Changelog**: [1.7.1...1.7.2](https://github.com/100mslive/100ms-flutter/compare/1.7.1...1.7.2) diff --git a/lib/assets/sdk-versions.json b/lib/assets/sdk-versions.json index 689e1bc10..c26b629a9 100644 --- a/lib/assets/sdk-versions.json +++ b/lib/assets/sdk-versions.json @@ -3,5 +3,5 @@ "ios": "0.9.5", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", - "android": "2.7.0" + "android": "2.7.1" } From 00bbed3752da0434226b33fee0f010c2b0f1a474 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Fri, 14 Jul 2023 11:48:12 +0530 Subject: [PATCH 05/11] =?UTF-8?q?Released=20sample=20app=20version=201.4.1?= =?UTF-8?q?24=20(259)=20=F0=9F=8D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/ExampleAppChangelog.txt | 26 ++++---------------------- example/android/app/build.gradle | 4 ++-- 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/example/ExampleAppChangelog.txt b/example/ExampleAppChangelog.txt index 827831012..37dc90b2c 100644 --- a/example/ExampleAppChangelog.txt +++ b/example/ExampleAppChangelog.txt @@ -1,26 +1,8 @@ Board: https://github.com/100mslive/100ms-flutter/projects/19 -- Added HLS Player Support -https://github.com/100mslive/100ms-flutter/issues/1089 +- Removed unnecessary dependencies for `HMSHLSPlayer` +https://100ms.atlassian.net/browse/LIVE-1588 -- Fixed android screen share, where the screen share was coming at the top rather than center. -https://github.com/100mslive/100ms-flutter/issues/1068 - -- Added support for messageId on Messages -https://github.com/100mslive/100ms-flutter/issues/1335 - -- Updated `captureSnapshot` implementation -https://github.com/100mslive/100ms-flutter/pull/1350 - -- Added API to open iOS Control Centre' Switch Audio Output UI -https://github.com/100mslive/100ms-flutter/issues/1293 - -- Add support for starting RTMP Streaming / Recording without Meeting URLs -https://github.com/100mslive/100ms-flutter/issues/1314 - -- Enabled S/W echo cancellation on Android by default -https://github.com/100mslive/react-native-hms/issues/1068 - -Flutter SDK: 1.7.0 -Android SDK: 2.6.7 +Flutter SDK: 1.7.2 +Android SDK: 2.7.1 iOS SDK: 0.9.5 diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index b7416d8e8..94ca097a5 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -32,8 +32,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 33 - versionCode 258 - versionName "1.4.123" + versionCode 259 + versionName "1.4.124" } signingConfigs { From fe18b887aa214d81a8e2526abe49d5535c446c84 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Fri, 14 Jul 2023 11:49:09 +0530 Subject: [PATCH 06/11] Updated sdk version --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index f96cb10c3..b2cc571c4 100644 --- a/pubspec.yaml +++ b/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.7.1 +version: 1.7.2 homepage: https://www.100ms.live/ repository: https://github.com/100mslive/100ms-flutter issue_tracker: https://github.com/100mslive/100ms-flutter/issues From 6dd73c86510d41b7937c0551f74dc76008eb79e1 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Fri, 14 Jul 2023 11:51:04 +0530 Subject: [PATCH 07/11] Updated sdk version in pubspec --- example/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 839364d31..1dc2a51d2 100644 --- a/example/pubspec.yaml +++ b/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.7.1 +version: 1.7.2 environment: sdk: ">=2.16.0 <4.0.0" From ec2c40e365720759eab0487d6288d7e6b5e6d6db Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Fri, 14 Jul 2023 12:11:38 +0530 Subject: [PATCH 08/11] updated package versions --- .gitignore | 4 ++- .trunk/.gitignore | 2 ++ .trunk/trunk.yaml | 12 +++---- CHANGELOG.md | 6 ++-- example/ios/Podfile.lock | 12 +++---- example/pubspec.lock | 36 +++++++++---------- lib/assets/sdk-versions.json | 2 +- lib/src/ui/meeting/hms_video_view.dart | 5 +-- pubspec.lock | 34 +++++++++--------- .../lib/hmssdk/meeting_page.dart | 4 +-- .../hms-callkit-app/lib/home_page.dart | 20 +++++------ .../hms-callkit-app/lib/receive_call.dart | 6 ++-- 12 files changed, 72 insertions(+), 71 deletions(-) diff --git a/.gitignore b/.gitignore index 5a14401db..7df1c3575 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,6 @@ example/ios/Runner/GoogleService-Info.plist example/ios/config/GoogleService-Info.plist *.p8 sample apps/hms-callkit-app/.flutter-plugins -sample apps/hms-callkit-app/.flutter-plugins-dependencies \ No newline at end of file +sample apps/hms-callkit-app/.flutter-plugins-dependencies +sample apps/flutter-quickstart-app/.flutter-plugins +sample apps/flutter-quickstart-app/.flutter-plugins-dependencies diff --git a/.trunk/.gitignore b/.trunk/.gitignore index 8130ba6d1..d65ead72e 100644 --- a/.trunk/.gitignore +++ b/.trunk/.gitignore @@ -5,4 +5,6 @@ plugins user_trunk.yaml user.yaml +# TODO(lauri): Remove shims after a release or two shims +tools diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 22a5bde8d..b5fb7d3b6 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -1,6 +1,6 @@ version: 0.1 cli: - version: 1.11.1 + version: 1.12.0 plugins: sources: - id: trunk @@ -8,20 +8,20 @@ plugins: uri: https://github.com/trunk-io/plugins lint: enabled: - - checkov@2.3.307 + - checkov@2.3.324 - osv-scanner@1.3.4 - - trivy@0.42.1 - - trufflehog@3.41.1 + - trivy@0.43.1 + - trufflehog@3.44.0 - oxipng@8.0.0 - yamllint@1.32.0 - markdownlint@0.35.0 - - prettier@2.8.8 + - prettier@3.0.0 - git-diff-check - shfmt@3.6.0 - shellcheck@0.9.0 - gitleaks@8.17.0 - svgo@3.0.2 - - ktlint@0.49.1 + - ktlint@0.50.0 runtimes: enabled: - python@3.10.8 diff --git a/CHANGELOG.md b/CHANGELOG.md index cad854631..d3992c004 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,8 @@ ## 1.7.2 - 2023-07-14 -### Changes - -- Removed unnecessary imports for `HMSHLSPlayer` +### Changed - Unnecessary HLS Player imports are removed to streamline the codebase and minimize the SDK size. +- Removed redundant package imports on Android which drastically reduces the SDK & App binary size. Updated to Android SDK 2.7.1 & iOS SDK 0.9.5 diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 9336fba7d..eea1577f2 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -189,7 +189,7 @@ PODS: - HMSSDK (0.9.5): - HMSAnalyticsSDK (= 0.0.2) - HMSWebRTC (= 1.0.5116) - - hmssdk_flutter (1.7.1): + - hmssdk_flutter (1.7.2): - Flutter - HMSBroadcastExtensionSDK (= 0.0.9) - HMSHLSPlayerSDK (= 0.0.2) @@ -245,11 +245,11 @@ DEPENDENCIES: - hmssdk_flutter (from `.symlinks/plugins/hmssdk_flutter/ios`) - image_gallery_saver (from `.symlinks/plugins/image_gallery_saver/ios`) - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) - - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/ios`) + - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`) - qr_code_scanner (from `.symlinks/plugins/qr_code_scanner/ios`) - share_plus (from `.symlinks/plugins/share_plus/ios`) - - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/ios`) + - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) - uni_links (from `.symlinks/plugins/uni_links/ios`) - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) - wakelock (from `.symlinks/plugins/wakelock/ios`) @@ -309,7 +309,7 @@ EXTERNAL SOURCES: package_info_plus: :path: ".symlinks/plugins/package_info_plus/ios" path_provider_foundation: - :path: ".symlinks/plugins/path_provider_foundation/ios" + :path: ".symlinks/plugins/path_provider_foundation/darwin" permission_handler_apple: :path: ".symlinks/plugins/permission_handler_apple/ios" qr_code_scanner: @@ -317,7 +317,7 @@ EXTERNAL SOURCES: share_plus: :path: ".symlinks/plugins/share_plus/ios" shared_preferences_foundation: - :path: ".symlinks/plugins/shared_preferences_foundation/ios" + :path: ".symlinks/plugins/shared_preferences_foundation/darwin" uni_links: :path: ".symlinks/plugins/uni_links/ios" url_launcher_ios: @@ -355,7 +355,7 @@ SPEC CHECKSUMS: HMSBroadcastExtensionSDK: d80fe325f6c928bd8e5176290b5a4b7ae15d6fbb HMSHLSPlayerSDK: 6a54ad4d12f3dc2270d1ecd24019d71282a4f6a3 HMSSDK: 81804295a3c5ec6016c0966f2053d7f5f51ccc26 - hmssdk_flutter: aaba93b8324a1a4b735b7d0cc94d171987c77f5b + hmssdk_flutter: f73b3eb0f4bf568043a4425d851f52ffdbaa49e7 HMSWebRTC: ae54e9dd91b869051b283b43b14f57d43b7bf8e1 image_gallery_saver: cb43cc43141711190510e92c460eb1655cd343cb MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb diff --git a/example/pubspec.lock b/example/pubspec.lock index 36081245c..240fccec2 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -29,10 +29,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" avatar_glow: dependency: "direct main" description: @@ -69,10 +69,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" checked_yaml: dependency: transitive description: @@ -101,10 +101,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" convert: dependency: transitive description: @@ -374,7 +374,7 @@ packages: path: ".." relative: true source: path - version: "1.7.1" + version: "1.7.2" http: dependency: "direct main" description: @@ -419,10 +419,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" json_annotation: dependency: transitive description: @@ -443,10 +443,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: @@ -459,10 +459,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" mime: dependency: transitive description: @@ -499,10 +499,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" path_parsing: dependency: transitive description: @@ -776,10 +776,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" tuple: dependency: "direct main" description: @@ -1005,5 +1005,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=2.19.0 <3.0.0" + dart: ">=3.0.0-0 <4.0.0" flutter: ">=3.7.0-0" diff --git a/lib/assets/sdk-versions.json b/lib/assets/sdk-versions.json index c26b629a9..af7095c2a 100644 --- a/lib/assets/sdk-versions.json +++ b/lib/assets/sdk-versions.json @@ -1,5 +1,5 @@ { - "flutter": "1.7.1", + "flutter": "1.7.2", "ios": "0.9.5", "iOSBroadcastExtension": "0.0.9", "iOSHLSPlayerSDK": "0.0.2", diff --git a/lib/src/ui/meeting/hms_video_view.dart b/lib/src/ui/meeting/hms_video_view.dart index 659fb0c73..db292f6dd 100644 --- a/lib/src/ui/meeting/hms_video_view.dart +++ b/lib/src/ui/meeting/hms_video_view.dart @@ -83,8 +83,9 @@ class HMSVideoView extends StatelessWidget { {Key? key, required this.track, this.setMirror = false, - @Deprecated("matchParent is not longer necessary and will be removed in future version") - this.matchParent = true, + @Deprecated( + "matchParent is not longer necessary and will be removed in future version") + this.matchParent = true, this.scaleType = ScaleType.SCALE_ASPECT_FIT, this.disableAutoSimulcastLayerSelect = false}) : super(key: key); diff --git a/pubspec.lock b/pubspec.lock index 96fecdde3..d0a224dad 100644 --- a/pubspec.lock +++ b/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" boolean_selector: dependency: transitive description: @@ -21,10 +21,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: @@ -37,10 +37,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" fake_async: dependency: transitive description: @@ -63,18 +63,18 @@ packages: dependency: transitive description: name: js - sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7" + sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 url: "https://pub.dev" source: hosted - version: "0.6.5" + version: "0.6.7" matcher: 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: @@ -87,18 +87,18 @@ packages: dependency: transitive description: name: meta - sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.dev" source: hosted - version: "1.8.0" + version: "1.9.1" path: dependency: transitive description: name: path - sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" url: "https://pub.dev" source: hosted - version: "1.8.2" + version: "1.8.3" sky_engine: dependency: transitive description: flutter @@ -148,10 +148,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" vector_math: dependency: transitive description: @@ -161,5 +161,5 @@ packages: source: hosted version: "2.1.4" 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/hms-callkit-app/lib/hmssdk/meeting_page.dart b/sample apps/hms-callkit-app/lib/hmssdk/meeting_page.dart index 7bbd9eb62..177bde65e 100644 --- a/sample apps/hms-callkit-app/lib/hmssdk/meeting_page.dart +++ b/sample apps/hms-callkit-app/lib/hmssdk/meeting_page.dart @@ -218,10 +218,10 @@ class _MeetingPageState extends State width: MediaQuery.of(context).size.width, color: Colors.black, height: MediaQuery.of(context).size.height, - child: Column( + child: const Column( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, - children: const [ + children: [ Text( "Waiting for other peer to join", style: TextStyle(color: Colors.white, fontSize: 20), diff --git a/sample apps/hms-callkit-app/lib/home_page.dart b/sample apps/hms-callkit-app/lib/home_page.dart index 73ff7807b..78d833f2c 100644 --- a/sample apps/hms-callkit-app/lib/home_page.dart +++ b/sample apps/hms-callkit-app/lib/home_page.dart @@ -182,13 +182,12 @@ class _HomePageState extends State { const SizedBox( height: 100, ), - Padding( - padding: const EdgeInsets.symmetric( - horizontal: 8, vertical: 8), + const Padding( + padding: EdgeInsets.symmetric(horizontal: 8, vertical: 8), child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.end, - children: const [ + children: [ Text("Paste the FCM Token here", key: Key('fcm_token_text'), style: TextStyle(color: Colors.white)) @@ -233,13 +232,12 @@ class _HomePageState extends State { const SizedBox( height: 30, ), - Padding( - padding: const EdgeInsets.symmetric( - horizontal: 8, vertical: 8), + const Padding( + padding: EdgeInsets.symmetric(horizontal: 8, vertical: 8), child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.end, - children: const [ + children: [ Text("Paste the room-id here", key: Key('room_id_text'), style: TextStyle(color: Colors.white)) @@ -315,12 +313,12 @@ class _HomePageState extends State { args: authToken); } }, - child: Padding( - padding: const EdgeInsets.all(12.0), + child: const Padding( + padding: EdgeInsets.all(12.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, - children: const [ + children: [ Icon( Icons.call, color: Colors.white, diff --git a/sample apps/hms-callkit-app/lib/receive_call.dart b/sample apps/hms-callkit-app/lib/receive_call.dart index 278f5ea7a..29095521d 100644 --- a/sample apps/hms-callkit-app/lib/receive_call.dart +++ b/sample apps/hms-callkit-app/lib/receive_call.dart @@ -47,12 +47,12 @@ class _ReceiveCallState extends State { AppRoute.callingPage, args: widget.callKitParams!["extra"]["authToken"]); }, - child: Padding( - padding: const EdgeInsets.all(12.0), + child: const Padding( + padding: EdgeInsets.all(12.0), child: Row( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, - children: const [ + children: [ Icon( Icons.call, color: Colors.white, From d14d2121ccba3648daf22f669bbfe6e8348fc264 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Fri, 14 Jul 2023 12:17:33 +0530 Subject: [PATCH 09/11] Lint fixes --- lib/src/ui/meeting/hms_video_view.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/src/ui/meeting/hms_video_view.dart b/lib/src/ui/meeting/hms_video_view.dart index db292f6dd..659fb0c73 100644 --- a/lib/src/ui/meeting/hms_video_view.dart +++ b/lib/src/ui/meeting/hms_video_view.dart @@ -83,9 +83,8 @@ class HMSVideoView extends StatelessWidget { {Key? key, required this.track, this.setMirror = false, - @Deprecated( - "matchParent is not longer necessary and will be removed in future version") - this.matchParent = true, + @Deprecated("matchParent is not longer necessary and will be removed in future version") + this.matchParent = true, this.scaleType = ScaleType.SCALE_ASPECT_FIT, this.disableAutoSimulcastLayerSelect = false}) : super(key: key); From 173871f3ed3362647123924e76207466c09dc774 Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Fri, 14 Jul 2023 12:24:29 +0530 Subject: [PATCH 10/11] Updated change log --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3992c004..4bc4f0789 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ### Changed -- Removed redundant package imports on Android which drastically reduces the SDK & App binary size. +- Reduced SDK & App binary size on Android by removing redundant package imports Updated to Android SDK 2.7.1 & iOS SDK 0.9.5 From 7f9c06de90ebeb5b48a47150142a0c022a22dfdf Mon Sep 17 00:00:00 2001 From: Decoder07 Date: Fri, 14 Jul 2023 12:34:37 +0530 Subject: [PATCH 11/11] lint fixes --- lib/src/ui/meeting/hms_video_view.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/src/ui/meeting/hms_video_view.dart b/lib/src/ui/meeting/hms_video_view.dart index 659fb0c73..db292f6dd 100644 --- a/lib/src/ui/meeting/hms_video_view.dart +++ b/lib/src/ui/meeting/hms_video_view.dart @@ -83,8 +83,9 @@ class HMSVideoView extends StatelessWidget { {Key? key, required this.track, this.setMirror = false, - @Deprecated("matchParent is not longer necessary and will be removed in future version") - this.matchParent = true, + @Deprecated( + "matchParent is not longer necessary and will be removed in future version") + this.matchParent = true, this.scaleType = ScaleType.SCALE_ASPECT_FIT, this.disableAutoSimulcastLayerSelect = false}) : super(key: key);