web_browser_detect 2.3.1
web_browser_detect: ^2.3.1 copied to clipboard
Flutter Web browser detection package. This package allows you to detect which browser and its version is in use.
2.3.1 21.10.2026 #
- Breaking Change: bump minimum SDK constraints to
sdk: >=3.12.0 <4.0.0andflutter: >=3.44.0. - Fixed
Browser.detectOrNull()returning a non-nullBrowseron non-web platforms instead ofnull(regression since 2.2.0). - Fixed
Browser.detectFrom()on non-web platforms, it detects browser from provided values again instead of always reporting unknown browser (regression since 2.1.0). - Fixed
RangeErrorduring version detection when nothing follows the browser name in userAgent. versionon non-web platforms now returnsUnsupported on non-web platforminstead ofUnsupported on mobile.- Added tests.
2.3.0 12.4.2026 #
- Breaking Change: bump minimum SDK constraints to
sdk: >=3.10.0 <4.0.0andflutter: >=3.38.0. - Switched lint setup to
flutter_lintsand simplified analyzer configuration. - Updated example web bootstrap to latest Flutter template (
$FLUTTER_BASE_HREFandflutter_bootstrap.js). - Updated example dependencies
2.2.0 10.6.2025 #
- Changed enum declaration to allow compilation on Non web platforms, when the
BrowserAgentenum types are being used. - Codebase refactor
2.1.0 6.3.2025 #
-
Replaced universal_io with web package
-
Added support for wasm
-
Added linting
-
Added support for opera and brave
-
Breaking Change: bump minimum flutter version is now 3.0.0
2.0.3 2.6.2022 #
- Update to latest dependencies
- Works with Flutter 3
2.0.2 13.4.2021 #
- Remove appVersion warning
2.0.1 26.3.2021 #
- Fix forgotten refactor & workaround for mobile bug in dependency
- Update main dependency
2.0.0 15.3.2021 #
- Sound null-safety
1.1.0 7.3.2021 #
- Detect from provided userAgent & vendor
1.0.4+1 18.2.2021 #
- Updated readme
1.0.4 18.2.2021 #
- Alternative method which returns null on non-web platforms
1.0.3 13.2.2021 #
- Reorganize code into private/public
- As requested return back to universal_html from dart:html
1.0.2+2 18.12.2020 #
- Add the example the correct way
1.0.2+1 18.10.2020 #
- Add an example
1.0.2 12.10.2020 #
- Remove unnecessary package
1.0.1 30.09.2020 #
- Detect Chromium based Edge
1.0.0 30.09.2020 #
- Initial release