faisalman / ua-parser-js

UAParser.js - The Essential Web Development Tool for User-Agent Detection.

Home Page:https://uaparser.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get phone vendor using model

iojOMlyzI06b8nWnWfxI1BW opened this issue · comments

commented

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!

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