I am compressing the REST API services to return zipped data.
Also able to make a call from Rho Mobile and receive the data successfully on the RhoMobile. But i was not able to unzip the data.
I tried to integrate the zlip extension but was not successful. Used the below function to unzip the zipped data.
zstream = Zlib::Inflate.new
buf = zstream.inflate(string)
I am using RhoMobile 2.0
Hello Ivo Costa,
Have you included zlib extension in your build.yml ?
And does your controller has require 'zlib'?
Are you trying it on which platform? Kindly provide the application log.