You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
detect phone from sumsung galaxy j7 or Android OS return null
user-agent from sumsung galaxy j7 prime is
Mozilla/5.0 (Linux; Android 7.0; SM-G610F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36
but phone detect is null
const md = new MobileDetect(req.headers['user-agent'])
console.log(md.mobile())
console.log(md.phone())
console.log(md.tablet())
result
UnknownMobile
null
null
I change to other Android Device
result the same
The text was updated successfully, but these errors were encountered:
Do you remember the text showing up when creating an issue?
I repeat:
Important Note
Before creating an issue, please note:
mobile-detect is just a kind of "satellite"-project. It uses the RegEx patterns of Mobile-Detect and generates JavaScript source code
based on the code of its "mother"-project.
Missing patterns for particular devices cannot be added in mobile-detect.js,
instead you have to create an issue in Mobile-Detect.
Please provide the User-Agent string, the manufacturer and the type of device (phone, tablet, tv, bot, ...).
I won't replicate your issue to Mobile-Detect!
It doesn't make any sense to change generated code. I hope you understand.
Issue
[ ] I've read above note and I'm quite sure I have a real issue with mobile-detect.js
... you can delete above note and just describe your issue ...
detect phone from sumsung galaxy j7 or Android OS return null
user-agent from sumsung galaxy j7 prime is
Mozilla/5.0 (Linux; Android 7.0; SM-G610F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36
but phone detect is null
result
I change to other Android Device
result the same
The text was updated successfully, but these errors were encountered: