I have created a phonegap app which needs to communicate with a self signed SSL service.
I whitelisted my url in res/xml/cordova.xml like so:
<access origin="https://www.mydomain.com" subdomains="true" />
and this works fine when I run and build from eclipse but if I then export and sign my app and manually install the APK then the app is unable to communicate with my web service.
The communication with the server is carried out using the Sencha Touch library like so:
Ext.Ajax.request({
url: 'https://www.mydomain.com',
method: 'get',
success: function(result) {
},
failure: function(result) {
}
});
Any help much appreciated
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…