-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Describe the bug
Using the IVSPlayer component at any point in my expo-managed app causes it to break with the error "Invariant Violation: requireNativeComponent: "AmazonIvs" was not found in the UIManager."
To reproduce
Steps to reproduce the behavior.
Snack
Install expo
Create a new expo app
expo install 'amazon-ivs-react-native-player'
Add the following code to App.tsx/js
`
import IVSPlayer from 'amazon-ivs-react-native-player';
const URL =
'https://fcc3ddae59ed.us-west-2.playback.live-video.net/api/video/v1/us-west-2.893648527354.channel.DmumNckWFTqz.m3u8';
function App() {
return ;
}
`
Expected behavior
It should render a video player from the specified stream.
Device (please complete the following information):
- Simulator or Real Device: Both
- Device: iPhone XR
- OS: iOS 17
Debug logs
Invariant Violation: requireNativeComponent: "AmazonIvs" was not found in the UIManager.
This error is located at:
in AmazonIvs
in RCTView (created by View)
in View
in Unknown (created by App)
in App (created by withDevTools(App))
in withDevTools(App)
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in main(RootComponent), js engine: hermes
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in reportException
at node_modules\react-native\Libraries\Core\ExceptionsManager.js:null in handleException
- ... 7 more stack frames from framework internals
