In my sugarcrm logic hook i wanted to know the if the user is using mobile app or desktop browser. Is there any function available to get current user platform?
In my sugarcrm logic hook i wanted to know the if the user is using mobile app or desktop browser. Is there any function available to get current user platform?
You can use the SugarCRM built in function "isTouchScreen", defined at include/utils.php. It returns true if user is authenticated through mobile device.