client-sdk-react-native icon indicating copy to clipboard operation
client-sdk-react-native copied to clipboard

can't build development build

Open chimpaji opened this issue 2 years ago • 1 comments

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:

  • Device: simulator i14 plus
  • OS: 16.4 iOS
  • Laptop: Macbook M1

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

  • "expo": "~49.0.8",
  • "@livekit/react-native": "^1.2.0"
  • "react-native-webrtc": "^111.0.3"
  • "@config-plugins/react-native-webrtc": "^7.0.0"

Additional context Add any other context about the problem here.

chimpaji avatar Aug 24 '23 02:08 chimpaji

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

joeporpeglia avatar Sep 15 '23 15:09 joeporpeglia