Check whether we are on hardware or simulator?

You may also see "vm" in future.

2 Likes