The title says it all: Suppose I have a PhoneGap app, built for both Android and iOS. A user runs my app on his/her mobile phone. At some point I want to give a different message if it's Android or iPhone... How can I detect this in my JavaScript code?
Also: Can I do it without an additional PhoneGap plugin that will ask the user for extra permissions?