client-sdk-react-native icon indicating copy to clipboard operation
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

Open yareyaredesuyo opened this issue 1 year ago • 3 comments

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:

  1. follow these instruction https://github.com/livekit/client-sdk-react-native/wiki/Expo-Development-Build-Instructions
  2. run eas build --profile development --local (iOS target)
  3. See error

Expected behavior

@livekit/react-native is available in expo in latest version

Screenshots

Simulator Screenshot - iPhone 14 - 2023-06-29 at 17 56 51

Screenshot 2023-06-29 at 17 57 01

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 avatar Jun 29 '23 08:06 yareyaredesuyo

@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

zesun96 avatar Jul 20 '23 03:07 zesun96

I'm working on Expo 49 (custom dev client) (iOS + Android) having no issue with it

b0iq avatar Jul 24 '23 11:07 b0iq

[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.

harlandjp avatar Aug 06 '23 07:08 harlandjp

Closing as obsolete. Works on most recent Expo versions now.

davidliu avatar May 24 '24 01:05 davidliu