Is there a way to detect Huawei device?

Hi there! I wonder if there is a way to detect Huawei device. I need this to show a link to AppGallery for Huawei devices and a link to Google Play for others android devices.

There is no such functionality on getDevice method now - Device | Framework7 Documentation

If you are using cordova, this plugin can help.

1 Like

Yes, use this plugin to get the manufacturer name and there you go.

1 Like

Thank you guys! I’m using Capacitor, looks like this plugin is analog of cordova-plugin-device for capacitor - Device Capacitor Plugin API | Capacitor Documentation. I’ll try it =)