serbanghita / Mobile-Detect

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

Home Page:http://mobiledetect.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Oppo, Vivo, and Realme phones

rudi97277 opened this issue · comments

Issue description
Hello.
Oppo, Vivo and Realme phones are the most used phones in Indonesia. Can you please add support for those 3 phones?

Thank you.

User-Agent(s)
Example for realme phone :
Mozilla/5.0 (Linux; Android 10; RMX2030) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36

preg_match('/RMX([0-9]+)/', $ua)