Experience-Monks / Experience-Monks/react-background-video-player
Can not get iOSNavigator correctly
Open
- Dominant language
- JavaScript
- Stars
- 57
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
This is my appVersion
- `2.6 (iPhone; iPhone 7; iOS 11.4; Scale/2.00; deviceid:0CAB2B9xxxxxxxxx55201B0)`
After going deeper to code, i found that the regular express `/OS (\d+)_(\d+)_?(\d+)?/` doesn't match my appVersion
```js
const iOSNavigator = typeof navigator !== 'undefined' && (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/);
```
Contributor guide
Assessment
This issue has not been assessed yet.