Use a plugin from another plugin in Craft 3
You can call the main plugin class directly

MobileDetect::$plugin-&gt;mobileDetectService


I don't know this plugin, maybe the class is wrong but that's the syntax you can use