Framework Ionic http request mobile [closed]

1

I have an ionic page that requests a page in codeigniter, I send the data and I receive it correctly, without problems in the browser, however when I transform in .apk and squeeze in the mobile the application until it turns however any button that has an http request does not work, does anyone know why?

    
asked by anonymous 27.05.2016 / 22:46

1 answer

1

Oops, I'm starting too, but I think I can give you a light When you place your application on your phone, you are no longer sending your request to localhost. you need to connect the mobile and your computer with the webservice in the same network, and put in the request, where it has the localhost name, the ip of your computer.

    
14.11.2017 / 02:25