client-sdk-react-native
client-sdk-react-native copied to clipboard
expo is not working in version "@livekit/react-native": "^1.1.2" but works in ^1.0.0
Describe the bug
This library does not work with Expo if the version is ^1.1.2.
- I investigated the reason and found it works in following repository and uses version ^1.0.0
- https://github.com/qweasd1/livekit-webrtc-expo-sample/tree/main
To Reproduce
Steps to reproduce the behavior:
- follow these instruction https://github.com/livekit/client-sdk-react-native/wiki/Expo-Development-Build-Instructions
- run
eas build --profile development --local
(iOS target) - See error
Expected behavior
@livekit/react-native is available in expo in latest version
Screenshots
Device Info:
- Device: iPhone Simulator 14
- OS: iOS17 (beta)
Dependencies Info (please reference your package-lock.json or yarn.lock file):
- @livekit/react-native: ^1.1.2
- react-native-webrtc: ^111.0.1
And this library looks like currently not work with @livekit/react-native-webrtc (expo environment)
got following error
[INSTALL_PODS] [!] The 'Pods-test' target has frameworks with conflicting names: webrtc.xcframework.
@yareyaredesuyo
please add @livekit/react-native-webrtc
in your package.json.
add @livekit/react-native-webrtc and @livekit/react-native to pod file.
you need to 'ios' dir to run pod install
, or if you mac is M1 , the pod install
maybe fail, you can download webrtc lib, and move it on pod cache
I'm working on Expo 49 (custom dev client) (iOS + Android) having no issue with it
[INSTALL_PODS] [!] The 'Pods-test' target has frameworks with conflicting names: webrtc.xcframework.
Had the same problem and removing react-native-webrtc
from my package.json fixed it.
Closing as obsolete. Works on most recent Expo versions now.