-
Notifications
You must be signed in to change notification settings - Fork 10
Description
I just tried upgrading my expo app to expo 53, and ran into a weird issue that I think I may have tracked down to this module somehow, but I don't understand it.
After going through the expo 53 upgrade steps, I regenerated ios app (I use CNG), and when I built started getting this error thrown in the AppDelegate.swift in my app:
Cannot find type 'RCTBridge' in scope
In an effort to figure out what was causing this, I create a brand new Expo 53 app. It has an idential AppDelegate.swift file, but worked fine. So I started adding back in modules from my app to see if any of them caused it to fail. (I would install a module, the run npx expo prebuild --clean and try to build again.)
When I got to the livekit modules, I installed them in this order:
| module | success? |
|---|---|
@livekit/react-native-webrtc |
✅ |
@livekit/react-native |
✅ |
@livekit/react-native-expo-plugin |
❌ |
I then uninstalled @livekit/react-native-expo-plugin, rebuilt and it worked. Then reinstalled it, and the error came back.
At this point I'm pretty lost. Anyone have a clue what might be happening?