CapacitorHttp not working in android .apk

(Ionic-Vue 6 with JavaScript)

Hi,
I use a combination of Axios and CapacitorHttp for API requests, and the setup works well for testing on browsers, emulators and physical devices. Building for production also works fine especially for iOS. But when I bundle the app as an apk and install on a physical device, all API calls don’t work. CapacitorHttp is what is selected when the app is running on a physical device, and running it in development has not issues at all. After forcing a logging in prod, the error is far from useful. Has anyone experience this before?

Only setting I’ve got for CapacitorHttp is:

CapacitorCookies: {
      enabled: true,
    },
    CapacitorHttp: {
      enabled: true,
    },

Every other thing is the regular API calls. Somehow it doesn’t work in a .apk

I asked in a bit more detail here: