Repository navigation
feat: use the prefixed native names from @livekit/react-native-webrtc - #488
Merged
Merged
Conversation
davidliu
requested review from
changt,
hiroshihorie and
xianshijing-lk
as code owners
November 16, 2026 17:29
🦋 Changeset detectedLatest commit: bc0072b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
xianshijing-lk
approved these changes
Nov 16, 2026
hiroshihorie
approved these changes
Nov 16, 2026
@livekit/react-native-webrtc now prefixes its native names so it can be installed next to other react-native-webrtc forks: - Android: import from io.livekit.reactnative.webrtc instead of com.oney.WebRTCModule. Class names are unchanged. - iOS: use LKRNWebRTCModule and LKRNWebRTCModuleOptions, and import their renamed headers. - README and example: the new iOS names, and NativeModules.LKRNScreenCapturePickerViewManager for the screen share picker. The peer range on @livekit/react-native-webrtc still needs to move to ^150.2.0 once that version is published. Until then this doesn't build against the published package, which still uses the old names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
davidliu
force-pushed
the
dl/full_rename
branch
from
November 17, 2026 13:55
a7e40e0 to
bc0072b
Compare
Merged
davidliu
pushed a commit
that referenced
this pull request
Nov 17, 2026
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @livekit/react-native@3.2.0 ### Minor Changes - Update `@livekit/react-native-webrtc` to 150.2.0, which renames its native classes so it can be installed in the same app as other react-native-webrtc forks. - [#488](#488) ([@davidliu](https://github.com/davidliu)) Update both packages together: this release doesn't build against earlier `@livekit/react-native-webrtc` versions, and earlier releases of this package don't build against 150.2.0. Expo users also need to update the [Expo plugin](https://github.com/livekit/client-sdk-react-native-expo-plugin). If your app uses any of these native names, switch to the new ones: - iOS: classes and their headers gain an `LKRN` prefix. The Objective-C setup imports `WebRTCModuleOptions.h` in `AppDelegate`; change it to `#import "LKRNWebRTCModuleOptions.h"`. Use `LKRNWebRTCModuleOptions` in place of `WebRTCModuleOptions`, in Swift too. - iOS screen sharing: open the broadcast picker with `NativeModules.LKRNScreenCapturePickerViewManager.show(reactTag)` instead of `NativeModules.ScreenCapturePickerViewManager.show(reactTag)`. - Android: `com.oney.WebRTCModule.*` becomes `io.livekit.reactnative.webrtc.*`. Class names are unchanged, so `WebRTCModuleOptions` is now `io.livekit.reactnative.webrtc.WebRTCModuleOptions`. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@livekit/react-native-webrtc now prefixes its native names so it can be installed next to other react-native-webrtc forks:
The peer range on @livekit/react-native-webrtc still needs to move to ^150.2.0 once that version is published. Until then this doesn't build against the published package, which still uses the old names.