Function to identify app is running on simulator or real device


#1

Hello, Is there any function to identify app is running on sumulator or real device?


#2

the device plugin will let you know if it is in a simulator or actual device

http://ngcordova.com/docs/ - see $cordovaDevice


#3

Check if window.cordova is defined, then you are on device