I've another question for building my application security.
My phonegap app just it makes calls to an https server passing soap xml data.
Example code (file index.js) :
To secure communication and to prevent attacks man in the middle i've set a particular keystore store in my app with the certificate on the https server??
Sorry I'm a newbie on this technology