Repository navigation
·
2 commits
to main
since this release
Minor Changes
-
Update
@livekit/react-native-webrtcto 150.2.0, which renames its native classes so it can be installed in the same app as other react-native-webrtc forks. - #488 (@davidliu)Update both packages together: this release doesn't build against earlier
@livekit/react-native-webrtcversions, and earlier releases of this package don't build against 150.2.0. Expo users also need to update the Expo plugin.If your app uses any of these native names, switch to the new ones:
- iOS: classes and their headers gain an
LKRNprefix. The Objective-C setup importsWebRTCModuleOptions.hinAppDelegate; change it to#import "LKRNWebRTCModuleOptions.h". UseLKRNWebRTCModuleOptionsin place ofWebRTCModuleOptions, in Swift too. - iOS screen sharing: open the broadcast picker with
NativeModules.LKRNScreenCapturePickerViewManager.show(reactTag)instead ofNativeModules.ScreenCapturePickerViewManager.show(reactTag). - Android:
com.oney.WebRTCModule.*becomesio.livekit.reactnative.webrtc.*. Class names are unchanged, soWebRTCModuleOptionsis nowio.livekit.reactnative.webrtc.WebRTCModuleOptions.
- iOS: classes and their headers gain an