I\'m developing a web application that uses PhoneGap:Build for a mobile version and want to have a single codebase for the \'desktop\' and mobile versions. I want to be able
This works for me (running 1.7.0)
if (window.device) { // Running on PhoneGap }
Tested on desktop Chrome and Safari.