I’m surprised there’s not more on this topic online already, but so far my searches have come-up empty. Here’s the question:
How do you detect if a NativeScript app is running on a iOS/Android simulator?
In my case, I have some code in my app I only want to run when on an actual device (development or production). Is there any way to detect this condition?