Hi Bas!
What device (os version) are working on and which SDK version are you using for building?
It usually also works on Android to make XMLHttpRequest calls with an https url. As an example, you should get a valid response from https://maps.googleapis.com/maps/api/geocode/json?address=vienna:
var xmlHttpReq = new XMLHttpRequest()
xmlHttpReq.onreadystatechange = function() {
if(xmlHttpReq.readyState == xmlHttpReq.DONE && xmlHttpReq.status == 200) {
console.log("SUCCESS: "+JSON.stringify(xmlHttpReq.responseText))
}
else if(xmlHttpReq.readyState == xmlHttpReq.DONE && xmlHttpReq.status != 200) {
console.error("Error: Failed to load data from "+url+", status = "+xmlHttpReq.status+", response = "+XMLHttpRequest.responseText)
}
}
xmlHttpReq.open("GET", "https://maps.googleapis.com/maps/api/geocode/json?address=vienna", true)
xmlHttpReq.send()
Does this code work for you? If it does, your problem could also be related to the SSL server configuration.
Best,
Günther