diff --git a/example/pubspec.lock b/example/pubspec.lock index 71a0ad1..7c0f3e3 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -50,13 +50,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "3.0.1" - csslib: - dependency: transitive - description: - name: csslib - url: "https://pub.dartlang.org" - source: hosted - version: "0.17.1" dart_webrtc: dependency: transitive description: @@ -191,13 +184,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.2.0" - html: - dependency: transitive - description: - name: html - url: "https://pub.dartlang.org" - source: hosted - version: "0.15.0" http: dependency: transitive description: @@ -497,20 +483,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.3.0" - universal_html: - dependency: transitive - description: - name: universal_html - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.8" - universal_io: - dependency: transitive - description: - name: universal_io - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.4" uuid: dependency: transitive description: @@ -525,13 +497,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.1" - web_browser_detect: - dependency: transitive - description: - name: web_browser_detect - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.2" webrtc_interface: dependency: transitive description: diff --git a/lib/src/utils.dart b/lib/src/utils.dart index 91155fa..534efa3 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -5,7 +5,6 @@ import 'package:device_info_plus/device_info_plus.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter_webrtc/flutter_webrtc.dart' as rtc; import 'package:meta/meta.dart'; -import 'package:web_browser_detect/web_browser_detect.dart' as bd; import './proto/livekit_models.pb.dart' as lk_models; import './support/native.dart'; @@ -68,11 +67,8 @@ class Utils { static Future _clientInfo() async { switch (lkPlatform()) { case PlatformType.web: - final browser = bd.Browser(); return lk_models.ClientInfo( os: defaultTargetPlatform.name, - browser: browser.browserAgent.name, - browserVersion: browser.version, ); case PlatformType.windows: return lk_models.ClientInfo( diff --git a/pubspec.lock b/pubspec.lock index b2cbb98..74e42c1 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -57,13 +57,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "3.0.1" - csslib: - dependency: transitive - description: - name: csslib - url: "https://pub.dartlang.org" - source: hosted - version: "0.17.1" dart_webrtc: dependency: "direct main" description: @@ -170,13 +163,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.8.1" - html: - dependency: transitive - description: - name: html - url: "https://pub.dartlang.org" - source: hosted - version: "0.15.0" http: dependency: "direct main" description: @@ -385,20 +371,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.3.0" - universal_html: - dependency: transitive - description: - name: universal_html - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.8" - universal_io: - dependency: transitive - description: - name: universal_io - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.4" uuid: dependency: "direct main" description: @@ -413,13 +385,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.1" - web_browser_detect: - dependency: "direct main" - description: - name: web_browser_detect - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.2" webrtc_interface: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 66cb0c6..3866b4c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -25,7 +25,6 @@ dependencies: flutter_webrtc: ^0.8.1 dart_webrtc: ^1.0.3 device_info_plus: ^3.2.1 - web_browser_detect: ^2.0.2 dev_dependencies: flutter_test: