This is a migrated thread and some comments may be shown as answers.

A secure (SSL) ajax json service call with https

1 Answer 95 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Olafur
Top achievements
Rank 1
Olafur asked on 28 Nov 2013, 10:59 AM
Hi.

In my project I have no problem consuming a HTTP json webapi service in both the simulator and on my Android device.  However when I make the service HTTPS the simulator still works but it fails with errorcode 0 and no message on my Android device.

Is there an issue with the HTTPS on the Icenium (cordova) platform?

regards,
Olafur

1 Answer, 1 is accepted

Sort by
0
David Silveria
Top achievements
Rank 1
answered on 28 Nov 2013, 04:47 PM
If http works, there must be a certificate error for the https ones to fail. I would check with http debugger to see the server's response, bet it is an error. Here is a similar thread: http://stackoverflow.com/questions/14649105/phonegap-android-https-requests-not-working-when-built-through-eclipse

Cheers!
Tags
AppBuilder Windows client
Asked by
Olafur
Top achievements
Rank 1
Answers by
David Silveria
Top achievements
Rank 1
Share this question
or