aws / aws/amazon-ivs-react-native-player
Invariant Violation: requireNativeComponent: "AmazonIvs" was not found in the UIManager.
- Dominant language
- TypeScript
- Stars
- 313
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
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](https://snack.expo.dev/@tammyado/ivs-rn-player-168?platform=ios)
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.
**Screenshots**

**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
Contributor guide
Assessment
This issue has not been assessed yet.