WhichBrowser / Parser-PHP

Browser sniffing gone too far — A useragent parser library for PHP
http://whichbrowser.net
MIT License
1.79k stars 242 forks source link

Incorrect definition: Chuwi HiPad Max as Apple #691

Open spamarmy opened 1 month ago

spamarmy commented 1 month ago

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.