Skip to content

Release 2.1.0

Compare
Choose a tag to compare
@davidliu davidliu released this 29 Apr 05:05
· 21 commits to main since this release

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)