WhichBrowser / Parser-PHP

Browser sniffing gone too far — A useragent parser library for PHP

Home Page:http://whichbrowser.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect definition: Chuwi HiPad Max as Apple

spamarmy opened this issue · comments

Hello.

Thanks for your work.

We have little problem with our library.

Chuwi HiPad Max define as Apple.

    [device] => WhichBrowser\Model\Device Object
        (
            [manufacturer] => Apple
            [model] => HiPad Max
            [series] => 
            [carrier] => 
            [identifier] => iPad
            [flag] => 
            [type] => tablet
            [subtype] => 
            [identified] => 6
            [generic] => 
            [hidden] => 
        )

I think to fix this need check one symbol before "IPad" and if this symbol not space and not empty - then maybe this is not iPad.