How to send data to external server using custom scheme ionic://


I’m developing an app on Ionic4 and i’m having an issue while sending data to an external server on iOS. I hope somebody had this same issue before.

I’m trying to send data to an external server that only works with http or https and enables CORS correctly but i have to use the custom scheme ionic://

On android everything is working properly but on iOS we are not receiving any data.

Is it possible to send my data using custom scheme (ionic://) but making it arrive to the server with scheme http or https?

If not possible to fix that, is possible to work around this issue?