Summary

As part of the release on August 17, Daily shipped a patch to a Daily Prebuilt custom theming issue that fixed an issue where sometimes provided themes wouldn't take effect.

The fix involved a change to the initial handshake between the DailyIframe instance and the Prebuilt app running within the iFrame. Daily Prebuilt would block until it received a "launch configuration" from the DailyIframe, guaranteeing that it would initialize with the appropriate theme upon loading.

The team added a version check in the Daily Prebuilt app launch logic, so that it would only wait and check for a launch config when the version of DailyIframe was new enough: version 0.16.0 or above.

The check treated the concatenation of the major and minor version as a float (e.g. it treated "0.16.0" as the number 0.16). This works when comparing down to version 0.10, because 0.16 is greater than 0.15, 0.14, 0.13, etc. But for single-digit minor version numbers, this check breaks down: 0.16 is actually less than 0.9.

Impact

Anyone using daily-js versions 0.9.x and below in iframe mode to control the new Daily Prebuilt wouldn't be able to make calls—the Daily Prebuilt app would hang forever on launch, rendering nothing.

Detection and Resolution

Analysis

Actions