Failed to fetch api on android device (browser ok)


When I run my ionic 4 app in the browser , fetch works and retrieves the GET result from my express nodejs server.
On my android device, it seems the api is not even called and I get TypeError: Failed to fetch.
I enabled cors on my express server
My server is running http (not https), is that why?
Thank you for your help,
PS: firebase doesn’t work either
PS: it works fine in a android emulator

There’s not a lot to go off of from this. If you attach chrome dev tools, can you see what error could be there in the console?

Using Chrome dev tools, I get:
Failed to load resource: net::ERR_CLEARTEXT_NOT_PERMITTED

To stay in http, it works by adding a file called network_security_config.xml

  <!--Set application-wide security config using base-config tag.-->
  <base-config cleartextTrafficPermitted="true"/>

In AndroidManifest.xml 

There might be other options.
Thank you,