I’m working on an android app and I’m making api calls to a REST Api. In my chrome browser, the api call works perfectly and I can see the result in my console log. But on my device, I keep getting a 404 error.
I created a service for the api call, and I have created proxies because of CORS issues. Everything works fine on the device. Before running app on the device, I changed the url from the localhost proxy to the actual url of the rest api, this still gives me an error. Any help will be appreciated. Thank you.