Ionic Angular app proxy on android

Hello, i have the following situation.

I am trying to convert my angular web app to an android app using ionic capacitor.
When i run the app locally i use proxy setting for angular, the proxy.conf.json file looking like this:
“/api”: {
“target”: “https://localhost:3000”,
“secure”: false
When i run my app now with ionic serve --ssl – --proxy config proxy.conf.json everything runs smoothly.
How do i achieve the same result, with a proxy, in the context of android platform.
Because once i call ionic capacitor sync android --ssl and ionic capacitor open android nothing works and it seems like my calls ignore the proxy