danschultz / browser_detect.dart

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

Add support for mobile detection #6

Open marcelstoer opened 9 years ago

marcelstoer commented 9 years ago

It'd be nice if you could add support for detection of mobile devices. So far I've been using mobile-detect.js.

almstrand commented 9 years ago

How about adding a function that borrows the open-source regexp from http://detectmobilebrowsers.com/ ?

This would need to be kept up-to date (the expression was last updated Aug 2014), so perhaps a source code comment referencing the source URL would be good.