Webrtc in android debug and release build

Hello,
I am building an app that contains a video call between two users. I have Agora(https://www.agora.io/en/) as a video provider.

The app works fine in a web browser. But when I generate an android app(debug/release), it is not working.

I believe it to be an issue with an ionic app running in an insecure (HTTP) browser and webrtc requires https.

How do I make the android app run on https?

Thank you,
Abhilash