-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invariant Violation: requireNativeComponent: "AmazonIvs" was not found in the UIManager. #168
Comments
hello adok0001 if you still have this error you can use this documentation it will help you https://github.com/aws/amazon-ivs-react-native-player/blob/main/docs/migration-guides.md |
I am getting the same issue as well. @youssrif I looked at the docs, but there is nothing there that is relevant since the migration of the package name changing... |
Just to include some more details here is my
|
@crispiestsquid I ended up running with development builds. Couldn't get the app to work in Expo Go |
hi @adok0001 @crispiestsquid i work with React-native-cli not with expo in the documentation guide https://github.com/aws/amazon-ivs-react-native-player/blob/main/docs/migration-guides.md in the file migration-guides.md there is import line that must be added in the |
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.
Screenshots
Device (please complete the following information):
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
The text was updated successfully, but these errors were encountered: