Skip to content

Get working react-native sample (example ringing-tutorial) #1869

@sultanmyrza

Description

@sultanmyrza

Step 1: I want to run sample sample-apps/react-native/ringing-tutorial/

Step 2: Update these files with my credentials, data etc..

  • sample-apps/react-native/ringing-tutorial/constants/Users.ts
  • sample-apps/react-native/ringing-tutorial/contexts/authentication-provider.tsx
  • sample-apps/react-native/ringing-tutorial/utils/setPushConfig.ts
  • sample-apps/react-native/ringing-tutorial/google-services.json
  • sample-apps/react-native/ringing-tutorial/GoogleService-Info.plist

I'm stuck at Step 1.

So far I tried

  1. ✅ Clone monorepo git clone https://github.com/GetStream/stream-video-js.git
  2. ✅ Open project cursor stream-video-js
  3. ✅ Install workspace dependencies yarn
  4. cd sample-apps/react-native/ringing-tutorial/
  5. ❌ Install project dependencies

I tried npm install and got

npm error code EUNSUPPORTEDPROTOCOL
npm error Unsupported URL Type "workspace:": workspace:^

I tried yarn while I didn't get any errors it seems like dependencies are not installed Cannot find module '@stream-io/video-react-native-sdk' or its corresponding type declarations.

Image Image

I don't have much knowladge about monorepos but would be nice to get a hint on how to get sample apps running locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions