I have already defined a custom network security config and included it in my manifest as recommended here
res/xml/network_security_config.xml:
Replace the BASE_URL protocol from http://... to https://