Skip to content

Releases: livekit/client-sdk-react-native

Release 2.1.0

29 Apr 05:05

Choose a tag to compare

2.1.0 (2024-04-29)

Expo Plugin

We've released a new plugin for managed Expo projects. Visit the repo for installation details.

For reference, we also have an example app that has the plugin configured already.

LiveKit Components Support

The React Native SDK now works with our LiveKit Components SDK, providing more useful react hooks to help build your LiveKit app easier and quicker than before. Refer to our updated example app to see how to integrate the Components SDK into your app.

We also have additional docs and guides for the Components SDK at https://docs.livekit.io/reference/components/react/

Note: Not all functionality is supported from the Components SDK, as some functions provide Web-only UI that is incompatible with React-Native. For best compatibility, use the functions re-exported through this library only. Please let us know if there are any functions you'd like to see supported in React Native.

Deprecated functions

As a part of this introduction, some hooks have been deprecated:

  • useRoom - wrap your components in a <LiveKitRoom> component instead and use more granular hooks to track state you're interested in.
  • useParticipant - use useRemoteParticipant or useLocalParticipant instead

Changelist

  • add DEFINES_MODULE to podspec for swift compatability (#142) (72425ae)
  • Add react hooks and room components (#139) (9608b2f)

Release 2.1.0-0

25 Apr 11:03

Choose a tag to compare

Release 2.1.0-0 Pre-release
Pre-release

2.1.0-0 (2024-04-25)

Features

  • add DEFINES_MODULE to podspec for swift compatability (#142) (72425ae)
  • Add react hooks and room components (#139) (9608b2f)

Release 2.0.2

15 Apr 04:36

Choose a tag to compare

2.0.2 (2024-04-15)

Bug Fixes

  • force software codecs for VP9 on android (#131) (cd6bc95)
  • performance fixes for ViewPortDetector causing slowdowns (#132) (1889c5f)

Features

Release 2.0.1

05 Mar 02:16

Choose a tag to compare

2.0.1 (2024-03-05)

Breaking Changes

There are several breaking changes between v1 and v2. Please consult our migration guide when upgrading to v2.

Bug Fixes

  • fix useIOSAudioManagement calculation for track counts (#128) (6d0082f)

Features

Release 1.4.3

08 Jan 13:20

Choose a tag to compare

1.4.3 (2024-01-08)

Bug Fixes

  • fix ios RCTBridgeModule type not found error (#123) (cb0cc02)

Release 1.4.1

06 Dec 00:35

Choose a tag to compare

1.4.1 (2023-12-06)

Bug Fixes

  • also update react-native-webrtc peerDependency (c82f975)

Release 1.4.0

27 Nov 04:24

Choose a tag to compare

1.4.0 (2023-11-27)

Features

Release 1.3.0

08 Sep 18:22

Choose a tag to compare

1.3.0 (2023-09-08)

Bug Fixes

  • add text encoding polyfill (#93) (8fd60da)
  • fix earpiece not showing after disconnecting wired headset (#91) (626d169)
  • shim symbol api (#95) (f6bc0a0)

Features

  • android audio handling for non-communication audio modes (#97) (32cf80b)

Release 1.2.0

01 Aug 06:14

Choose a tag to compare

1.2.0 (2023-08-01)

Bug Fixes

  • android: upgrade webrtc sdk version (#77) (fdb2c6f)

Features

  • expose android audio and focus modes (#84) (f34d817)

Release 1.1.2

12 Jun 14:14

Choose a tag to compare

1.1.2 (2023-06-12)

Features

  • add LiveKitReactNative setup methods (#75) (f0a7404)

This release adds simple setup methods to take care of the native code setup required as of v1.1.0.

Android

In your MainApplication.java file:

import com.livekit.reactnative.LiveKitReactNative;

public class MainApplication extends Application implements ReactApplication {

  @Override
  public void onCreate() {
    // Place this above any other RN related initialization
    LiveKitReactNative.setup();

    //...
  }
}

iOS

In your AppDelegate.m file:

#import "LivekitReactNative.h"

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  // Place this above any other RN related initialization
  [LivekitReactNative setup];

  //...
}