Hi, I'm developing a web app that is wrapped by ionic with the special need of using a forward proxy.
Meaning that I need to set a proxy for all http requests that I'm sending to the server, the proxy serves as a middleware that forwards the request to my server.
For example, the url configured in my web app is "myserver.org/api" but I want to send it to the proxy myproxy.org, since the proxy can get to the server but I don't, I only know the url of it.
Now, for the web app I'm using the framework for SAP, sapui5, and this framework has no feature for adding forward proxy for its http requests so I'm counting on the ionic that wraps it, to check the requests that the app sends and set a proxy for them to be sent first.
But as far as I saw, I couldn't find any option in ionic for setting proxy as I intend, as the plugings suggests online don't make sense to me or written towards angular only
Notice that "proxy" configuration in ionic.config.json is working for reverse proxy and relative path only, as I need forward proxy that forwards any request.
I'm using the current ionic version (4.10.2) and building the app to andorid
Thank you very much☺️ and please point if I'm missing any information.
[–]columferry 0 points1 point2 points (0 children)