The module give helper and library to detect right current mobile device.
With composer:
$ composer require ecomteck/module-mobile-detect
Manually:
Copy the zip into app/code/Ecomteck/MobileDetect directory
$ php bin/magento module:enable Ecomteck_MobileDetect --clear-static-content
$ php bin/magento setup:upgrade --keep-generated