WIP commit for iOS:

- failure handler gets called if an exception occurs in native code
- rename "raw" serializer to "utf8"
- extract serializer into separate file
This commit is contained in:
Sefa Ilkimen
2018-02-07 16:31:51 +01:00
parent 60e7debbdf
commit c452b29433
9 changed files with 289 additions and 234 deletions
@@ -144,8 +144,7 @@ abstract class CordovaHttp {
if (new String("json").equals(this.getSerializerName())) {
request.contentType(request.CONTENT_TYPE_JSON, request.CHARSET_UTF8);
request.send(this.getParamsObject().toString());
} else if (new String("raw").equals(this.getSerializerName())) {
// request.contentType(request.CONTENT_TYPE_JSON, request.CHARSET_UTF8);
} else if (new String("utf8").equals(this.getSerializerName())) {
request.send(this.getParamsObject().toString());
} else
{