I am trying to get zip file from online server in to Ipad, It is giving me error. sadly there are no logs on app as well as online server. It is working well on Android and also working with old version of rhodes. Kindly suggest.
Post by Dmitry Soldatenkov on Aug 18, 2019 23:59:25 GMT
URL is HTTP ?
You should setup your app for HTTP connection (on iOS http connections disabled by default). In previous versions we force allow for http connection in application, but was removed that code some times ago - developer should allow http connections byself
Below is response from server. Normal HTML or TXT file is okay to download but in my code we have zipped text file with json in it and we are writing it in servletOutputStream and sending it to device.
Here is update , It was content-type issue in online servers header part. content-type in header was "multipart/x-mixed-replace;boundary=END", I have replaced it with "application/zip" and it started working. In earlier Rhodes (open source) version it was working but for latest one content-type need to be changed.