react-device-detect icon indicating copy to clipboard operation
react-device-detect copied to clipboard

Detect device, and render view according to detected device type.

Results 70 react-device-detect issues
Sort by recently updated
recently updated
newest added

检测到 duskload/react-device-detect 一共引入了371个开源组件,存在2个漏洞 ``` 漏洞标题:nth-check 安全漏洞 缺陷组件:[email protected] 漏洞编号:CVE-2021-3803 漏洞描述:Nth-Check是用于将 CSS nth-checks 解析并编译为高度优化的函数。 nth-check 存在安全漏洞,该漏洞源于易受低效正则表达式复杂性的影响。 影响范围:(∞, 2.0.1) 最小修复版本:2.0.1 缺陷组件引入路径:[email protected]>[email protected]>[email protected]>[email protected]>[email protected] ``` 另外还有2个漏洞,详细报告:https://mofeisec.com/jr?p=i266ff

Please add more useragent detections, like instagram facebook etc

is there any feature detect if the mobile has the Desktop Site enabled? I would like to detect this because Im blocking if the app is acceded through a mobile...

Testing `isIOS13` in iOS Simulator using an iPhone running iOS 12 returns `true`. Please see the screenshot attached. For some reason, `isIOS13Check` does not appear to take into account the...

```` import { OsTypes } from 'react-device-detect'; ... if (OsTypes.Android) { console.warn('* Android detected'); } ```` warns that it's Android no matter what browser/platform i'm on. enums documentation seems to...

1. Bug description When I tried to use "const { isLandscape } = useMobileOrientation()", I get "TypeError: Object(...) is not a function" 2. Steps to reproduce import { useMobileOrientation }...

1. Feature description - `isWebView` flag that can detect Android WebView and IOS WKWebView or UIWebView browsers

1. Bug description I use this package for my React application. When I open the website on a large screen, the value of deviceType is `mobile` and isMobile is set...

1. Bug description On Debian stretch, using google chrome `Version 96.0.4655.0 (Official Build) dev (64-bit)` `DeviceDetect.browserVersion` is returning `100` while I expected him to return `96` 2. Steps to reproduce...

**Bug description** isMobile helper is returning false on iPhone 12 Pro **Device/Browser type/name** Chrome When I use this in safari on an iPhone 12 Pro, isMobile return true, but if...