Hello all.
I’m having problems when testing an app on my HTC Sensation running Android 4.0.3
I am calling network.request to authorise a login on our web server which returns xml that I then parse in lua to log the user into the app.
The code I use to make the network request is as follows:
network.request( myServerURL, “GET”, processLogin )
This works very nicely if I use http, but when I use https the processLogin function picks up event.isError
So it appears that either there is a bug when using SSL for network.request with Android or I have missed something.
The script works fine on all iOS devices with SSL. It only works via http on my Android though.
I am using the latest daily build of Corona which is (as of today) Version 2013.1058 (2013.3.20).
I have the following in my build.settings file.
android =
{
usesPermissions =
{
“android.permission.INTERNET”,
“android.permission.WRITE_EXTERNAL_STORAGE”,
},
},
Any ideas very welcome.
Thank you!