Page 1 of 1

Service Doesn't work in APK

Posted: Fri Feb 21, 2014 2:54 am
by Romeo

Hello, there is an issue with my apk file, its behaviour is different than the preview.
It should call a service but it doesn't, what would be the problem?

thanks in advance!


Service Doesn't work in APK

Posted: Fri Feb 21, 2014 3:10 am
by Illya Stepanov

Hi Romeo,

Does it works as expected when you tested in the browser?

Can you show the service settings, request/response parameters and the test tab results?


Service Doesn't work in APK

Posted: Fri Feb 21, 2014 3:40 am
by Romeo

Hello IIlya, yes it does! in the browser everything is good, the problem starts in the android movil.
Image

Image


Service Doesn't work in APK

Posted: Fri Feb 21, 2014 4:35 am
by Illya Stepanov

Have you tried with Proxy turned off before exporting to .apk file?


Service Doesn't work in APK

Posted: Fri Feb 21, 2014 4:55 am
by Romeo

No! could it be that? theres is another services with proxy checked and works fine


Service Doesn't work in APK

Posted: Fri Feb 21, 2014 10:07 am
by Kateryna Grynko

Hi Romeo,

On Test tab you have an empty response. What behaviour is expected? Create a new proxy here appery.io/proxy and use it on Preview.


Service Doesn't work in APK

Posted: Fri Feb 21, 2014 11:55 am
by Romeo

Hi Katya, it just must show a msg on succes, should i have one proxy id for every service? is there a problem if i don't use this proxy id's i mean cause i don't use the backend services?


Service Doesn't work in APK

Posted: Fri Feb 21, 2014 1:25 pm
by Kateryna Grynko

Romeo,

If you want to use the same proxy for all services, you can create it on the above link. It will look like GUID. Proxy cannot be used as a number. Backend services is not this. You should use proxy for cross-domain requests.


Service Doesn't work in APK

Posted: Fri Feb 21, 2014 3:46 pm
by Romeo

ok but when I export to the apk should I have uncheck the proxy ?
I tried exporting with this unchecked and services doesn't work


Service Doesn't work in APK

Posted: Fri Feb 21, 2014 6:47 pm
by Maryna Brodina

Hello! Could you share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a so we can test on our side?
Please also tell us steps to reproduce.