platform_detect
platform_detect copied to clipboard
A library for detecting browser and platform type and version.
This PR migrates from dart:html to package:web for supporting js interoperability. See #76 for more.
If you want to compile a dart web app to wasm using dart2wasm you can no longer use dart:html or the package:web. Instead you have to use the package:web. [https://dart.dev/interop/js-interop/package-web](https://dart.dev/interop/js-interop/package-web)...
It is a Chrome with some modifications, and it - sadly - has unique dark mode implementation so in some cases it should be handled differently than Chrome. More details...
Brave Browser uses same name and user agent like Chrome. Since Brave is quite popular alternative to Chrome, it would be nice to handle that, because even tough, many Web...
I think the `pub get` error message explains this issue best :) ``` build_runner >=1.12.0 depends on pubspec_parse ^1.0.0 which depends on pub_semver ^2.0.0, build_runner >=1.12.0 requires pub_semver ^2.0.0. And...
Not sure if this is outside of the scope of this package, but it would be useful for us to detect Android and iOS as platforms, and which browser (Chrome,...
I use pop-os and arch linux and it shows unix for both of them heres the website https://sonuishaq67.github.io
It would be useful to have Flutter support, i.e. not having to rely on additional imports. Related is the bug that is caused when the package is currently used in...
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/platform_detect-1.4.0/lib/src/detect.dart:14:8: Error: Not found: 'dart:html' import 'dart:html';
Are there plans to support Edge? If it is already supported, feel free to close this, but I didn't see Edge in the list of known browsers. Thanks.