danschultz / browser_detect.dart

A Dart package that provides information about the user's web browser.
Other
9 stars 9 forks source link

Detect platform #7

Open almstrand opened 9 years ago

almstrand commented 9 years ago

It would be useful to support detecting the operating system and version with getters such as os, osVersion, isWindows, isLinux, isIOS.

This would likely involve browser sniffing, but perhaps with a growing Dart community the detection rules can be kept up-to-date to provide decent coverage?

travissanderson-wf commented 7 years ago

FYI we have open sourced a repo that accomplishes this (in addition to browser detection) here https://github.com/Workiva/platform_detect