user_agent_analyzer 6.0.0
user_agent_analyzer: ^6.0.0 copied to clipboard
A library to identify the type of devices and web browsers based on User-Agent string.
Change Log #
6.0.0 #
Breaking changes in 6.0.0 #
- Breaking: iPhones, iPads and iPods are no longer reported as macOS or as desktops.
- Breaking:
isTabletistruefor Android tablets and BlackBerry tablets, so they are no longer reported as desktops. - Breaking:
isMobilealso checks the first four characters againstknownMobileUserAgentPrefixes, and the keywordsmmp,palm,pspandwaponly match at the start of a word. - Breaking:
isBlackberryno longer matchesriminside other words, and matchesRIM Tabletinstead. - Breaking:
isSafariisfalsefor Chrome, Edge, Opera, Firefox on iOS and Android browsers, which also sendSafari. - Breaking:
isChromeisfalsefor Edge, Opera and Samsung Internet, andtruefor Chrome on iOS. - Breaking:
isOperaistruefor Opera 15 and later, andcssPrefixandpropertyPrefixonly give the Opera prefix for Opera 12 and earlier. - Breaking:
isIEistruefor Internet Explorer 7 and earlier, andisFirefoxfor Firefox on iOS.
New in 6.0.0 #
- Added
isIOSandisEdge.
5.5.0 #
- Require Dart >= 3.13
5.4.0 #
- Require Dart >= 3.8
5.3.0 #
- Require Dart >= 3.5
- Updated
lintsto 5.0.0
5.2.0 #
- Require Dart >= 3.3
- Updated
lintsto 4.0.0
5.1.0 #
- Updated
lintsto 3.0.0
5.0.0 #
- Require Dart >= 3.0
5.0.0-beta.1 #
- Require Dart >= 3.0
4.0.0 #
- Require Dart >= 2.17
3.1.0 #
- Fixed license link
- Upgraded from
pendantictolintslinter - Fixed linter warnings
3.0.2 #
- Updated repository links
3.0.1 #
- Updated to use non nullable results
3.0.0 #
- Migrated to support Dart SDK 2.12.x NNBD
2.0.0 #
- Dart 2 updates.
0.0.1 #
- Initial version, created by Stagehand