1.0.0 • Published 2 months ago

@signalwire-community/react-native v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@signalwire-community/react-native

@signalwire-community/react

Collection of unofficial React Native components and tools for SignalWire.

⚠️ Disclaimer:

The libraries in this repository are NOT supported by SignalWire.

Preparing the environment

The SignalWire library for React Native uses native components. You can use this library with Expo. However, since Expo Go doesn't currently bundle WebRTC, you need to use an Expo Dev Client.

If you are starting from scratch

If you are setting up a new application, we suggest to get started by initializing your application with the WebRTC template for create-react-native-app:

npx create-react-native-app -t with-webrtc

This will allow you to use the SignalWire Video component within an Expo Dev Client.

If you already have an Expo or Bare Workflow app

Please follow the instructions to enable WebRTC in an Expo Dev Client.

Installation

npm install @signalwire-community/react-native react-native-get-random-values
npx pod-install

💡 If you use the Expo managed workflow you will see "CocoaPods is not supported in this project" - this is fine, it's not necessary.

Usage

Import and use the component, for example:

import React from 'react';
import { SafeAreaView } from 'react-native';
import { Video } from '@signalwire-community/react-native';

export default function App() {
  return (
    <SafeAreaView>
      <Video token="<Your SignalWire Room Token>" />
    </SafeAreaView>
  );
}

Supported components

2.2.0-dev.0

2 months ago

2.1.0-dev.0

3 months ago

1.0.0-dev.13

11 months ago

2.0.0-dev.1

10 months ago

2.0.0-dev.3

10 months ago

2.0.0-dev.2

10 months ago

2.0.0-dev.5

10 months ago

2.0.0-dev.4

10 months ago

1.0.0-dev.12

12 months ago

1.0.0-dev.11

12 months ago

1.0.0-dev.10

12 months ago

1.0.0-dev.7

1 year ago

1.0.0-dev.8

1 year ago

1.0.0-dev.5

1 year ago

1.0.0-dev.6

1 year ago

1.0.0-debug2

11 months ago

1.0.0-debug1

11 months ago

1.0.0-debug4

11 months ago

1.0.0-debug3

11 months ago

1.0.0-dev.4

1 year ago

1.0.0-dev.3

1 year ago

1.0.0-dev.1

1 year ago

1.0.0-dev.2

1 year ago

1.0.0-dev.0

1 year ago

1.0.0

2 years ago

0.1.0

2 years ago

0.0.0

2 years ago