livekit / client-sdk-react-native

Official React Native SDK for LiveKit.
https://livekit.io
Apache License 2.0
110 stars 29 forks source link

can't build development build #92

Open chimpaji opened 1 year ago

chimpaji commented 1 year ago

Describe the bug

I try to build a fresh start an expo app with livekit and build a development build but it show Unable to find a specification for 'livekit-react-native-webrtc' depended upon by 'livekit-react-native'

To Reproduce

Steps to reproduce the behavior:

  1. npx create-expo-app --template (choosing file-based)
  2. npx expo install @livekit/react-native react-native-webrtc @config-plugins/react-native-webrtc
  3. add "@config-plugins/react-native-webrtc" in plugins array in app.json
  4. run eas build and cancel right away after getting eas.json
  5. eas build --profile development --local (choosing iOS)
  6. get error Unable to find a specification for 'livekit-react-native-webrtc' depended upon by 'livekit-react-native', also try to pod install in iOS dir. happen the same.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

image

Device Info:

Dependencies Info (please reference your package-lock.json or yarn.lock file):

Additional context Add any other context about the problem here.

joeporpeglia commented 1 year ago

Hey @chimpaji, install @livekit/react-native-webrtc instead of react-native-webrtc. The expo instructions had a typo but it's updated now https://github.com/livekit/client-sdk-react-native/wiki/Expo-Development-Build-Instructions