faisalman / ua-parser-js

"Unmask Your Traffic" - UAParser.js: The Essential Web Development Tool for User-Agent Detection
https://uaparser.dev/
GNU Affero General Public License v3.0
9.28k stars 1.2k forks source link

Get phone vendor using model #660

Closed iojOMlyzI06b8nWnWfxI1BW closed 1 year ago

iojOMlyzI06b8nWnWfxI1BW commented 1 year ago

I need a function to get the phone vendor from model name Somethings like this: var vendor = GetVendor("SM-A605G"); I know that ua-parser-js contain that function but I dont know how to use it It should be great if you export that function Thank you!

faisalman commented 1 year ago

Currently we have no dedicated function that can identify vendor from its model, but I will consider it.