You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Daily.co React Native SDK (@daily-co/react-native-daily-js) should work with React Native's New Architecture (Fabric) when enabled in Expo SDK 52.
Describe the bug (unexpected behavior)
When using the Daily.co SDK with React Native's New Architecture enabled in Expo 52, calling Daily.createCallObject() and attempting to join a call fails with the following error:
TypeError: this.nativeUtils().setKeepDeviceAwake is not a function (it is undefined)
The call works correctly when New Architecture is disabled, confirming this is specifically a New Architecture compatibility issue.
Steps to reproduce
Create a new Expo 52 project
Enable New Architecture by setting "newArchEnabled": true in app.json
Install and configure @daily-co/react-native-daily-js
Attempt to join a Daily call
Observe the setKeepDeviceAwake error
System information
Device: iOS device
OS: iOS 18.1.1
Framework: Expo SDK 52
React Native New Architecture: Enabled
@daily-co/react-native-daily-js: [0.70.0]
Additional context
This appears to be a compatibility issue between the Daily.co native modules and React Native's New Architecture (Fabric). The error occurs because the native module bridge is not properly configured for the new architecture, specifically the setKeepDeviceAwake method.
The issue can be temporarily worked around by disabling New Architecture ("newArchEnabled": false), but this isn't a long-term solution as New Architecture is becoming the standard.
Request: Please update the react-native-daily-js library to support React Native's New Architecture.
The text was updated successfully, but these errors were encountered:
Expected behavior
The Daily.co React Native SDK (
@daily-co/react-native-daily-js
) should work with React Native's New Architecture (Fabric) when enabled in Expo SDK 52.Describe the bug (unexpected behavior)
When using the Daily.co SDK with React Native's New Architecture enabled in Expo 52, calling
Daily.createCallObject()
and attempting to join a call fails with the following error:TypeError: this.nativeUtils().setKeepDeviceAwake is not a function (it is undefined)
The call works correctly when New Architecture is disabled, confirming this is specifically a New Architecture compatibility issue.
Steps to reproduce
"newArchEnabled": true
in app.jsonSystem information
Additional context
This appears to be a compatibility issue between the Daily.co native modules and React Native's New Architecture (Fabric). The error occurs because the native module bridge is not properly configured for the new architecture, specifically the
setKeepDeviceAwake
method.The issue can be temporarily worked around by disabling New Architecture (
"newArchEnabled": false
), but this isn't a long-term solution as New Architecture is becoming the standard.Request: Please update the react-native-daily-js library to support React Native's New Architecture.
The text was updated successfully, but these errors were encountered: