Can't run daily.co prebuilt on Cordova iOS (Angular)

Options
Gabriel
Gabriel Member

Hello, I've been trying to use daily.co with my Cordova app. It works on web, cordova android, mobile browser android and the mobile browser ios, but it doesn't work on a cordova ios app.

I've attached below some pictures, the UI is kinda fucked, and when I enter the call it defaults on the black screen (first picture). I have to press on the x in the top left corner to get to the third image, where again, it's not automatically starting the camera feed, but rather it thinks it's a LIVE feed and it waits for me to press play.

This is how I initiated the room (angular):

initDailyCoRoom() {
const script = this.renderer.createElement("script");



script.src = "https://unpkg.com/@daily-co/daily-js";
script.crossOrigin = "anonymous"; // if needed
// Listen for script load event if necessary


script.onload = () => {

// Once the script is loaded, create the frame and join the room

const call = window["Daily"].createFrame(this.container.nativeElement);

call.join({ url: this.DAILY_CO_API_URL + this.roomName }); };
// Append the script to the body of the document

this.renderer.appendChild(document.body, script); }

C