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.
Added simple Huawei detection regexes for Huawei devices (HMSCore installed and present on those devices, also this is lib Huawei integration is using when distributing to App Gallery), Huawei-specific OS (HarmonyOS) and Huawei default browser.
Added simple Huawei detection regexes for Huawei devices (HMSCore installed and present on those devices, also this is lib Huawei integration is using when distributing to App Gallery), Huawei-specific OS (HarmonyOS) and Huawei default browser.