When using http.getJSON and the response is not JSON, but for example a 404 error with html content the promise is never resolved/rejected. The workaround is to user getString and manually parse JSON with JSON.parse(...)
TNS: 1.2.4
tns-android: 1.2.1
When using http.getJSON and the response is not JSON, but for example a 404 error with html content the promise is never resolved/rejected. The workaround is to user getString and manually parse JSON with JSON.parse(...)
TNS: 1.2.4
tns-android: 1.2.1