jquery - How to find in which device (mobile(android or Ios) or desktop) the web application is opened -
i working on web application project using angularjs has mobile applications android , ios. want when web application open in mobile need find device type , check mobile app installed or not, if installed should open in mobile app, if not download button there app-link.thanks in advance
using $window
services,
you can check one
var useragent = $window.navigator.useragent; /(iphone|ipad|ipod).* os 9_\d/.test(useragent) && !/version\/9\./.test(useragent);
Comments
Post a Comment