Is it possible for our cordova app to detect whether it is running on emulator or real device for both Android and iOS?
As stated in a comment against the question, one answer is to use the cordova-device-plugin:
var isSim = device.isVirtual;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With