Skip to content

Release 1.1.2

Compare
Choose a tag to compare
@davidliu davidliu released this 12 Jun 14:14
· 87 commits to main since this release

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];

  //...
}