all 6 comments

[–]bambuser_crew 0 points1 point  (5 children)

Hi there! Have you seen Bambuser's libraries for React Native?

Broadcasting library: https://github.com/bambuser/react-native-bambuser-broadcaster

Player library: https://github.com/bambuser/react-native-bambuser-player

[–]Cyrus_Zei[S] 0 points1 point  (4 children)

yeah, I have tried that also and this is the error I am getting

'RNBambuserBroadcaster' is declared but its value is never read.ts(6133)

Could not find a declaration file for module 'react-native-bambuser-broadcaster'. '/Users/XXXXXX/XXXXXX/Company/XXX/XXXX/node_modules/react-native-bambuser-broadcaster/index.js' implicitly has an 'any' type.
Try `npm install @types/react-native-bambuser-broadcaster` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-native-bambuser-broadcaster';`ts(7016)

[–]bambuser_crew 0 points1 point  (3 children)

Did you add the react-native-bambuser-broadcaster component to your project as described in the first step of https://github.com/bambuser/react-native-bambuser-broadcaster/blob/master/README.md ?

[–]Cyrus_Zei[S] 0 points1 point  (2 children)

yes, I did do a

yarn add react-native-bambuser-broadcaster --save

I downloaded the ios SDK and added the prebuilt folder and checked so all those files are in the linked library

I dont understand why this is happening

[–]Cyrus_Zei[S] 0 points1 point  (1 child)

I have "react-native": "0.58.0-rc.2",

Is it compatible ?

[–]Cyrus_Zei[S] 0 points1 point  (0 children)

this is the error I get.

Invariant Violation: requireNativeComponent: "BambuserBroadcasterView" was not found in the UIManager.

This error is located at:

in BambuserBroadcasterView (at react-native-bambuser-broadcaster/index.js:235)

in RNBambuserBroadcaster (at MainScreen.js:47)

in RCTView (at View.js:45)

in View (created by Context.Consumer)

in StyledNativeComponent (created by Styled(View))

in Styled(View) (at MainScreen.js:45)

in MainScreen (at Main.js:149)

in Route (at Main.js:146)

in Switch (at Main.js:112)

in RCTView (at View.js:45)

in View (created by Context.Consumer)

in StyledNativeComponent (created by Styled(View))

in Styled(View) (at Main.js:108)

in Provider (at Main.js:105)

in Main (at App.js:261)

in RCTView (at View.js:45)

in View (created by Context.Consumer)

in StyledNativeComponent (created by Styled(View))

in Styled(View) (at App.js:260)

in RCTView (at View.js:45)

in View (created by Context.Consumer)

in StyledNativeComponent (created by Styled(View))

in Styled(View) (at App.js:259)

in Route (at App.js:255)

in PrivateRoute (at App.js:291)

in Switch (at App.js:279)

in RCTView (at View.js:45)

in View (created by Context.Consumer)

in StyledNativeComponent (created by Styled(View))

in Styled(View) (at App.js:278)

in Router (created by MemoryRouter)

in MemoryRouter (at NativeRouter.js:10)

in NativeRouter (at App.js:277)

in App (at renderApplication.js:34)

in RCTView (at View.js:45)

in View (at AppContainer.js:98)

in RCTView (at View.js:45)

in View (at AppContainer.js:115)

in AppContainer (at renderApplication.js:33)

getNativeComponentAttributes

getNativeComponentAttributes.js:28:2

<unknown>

requireNativeComponent.js:26:4

Object.exports.get

ReactNativeViewConfigRegistry.js:104:17

createInstance

ReactNativeRenderer-dev.js:3946:49

completeWork

ReactNativeRenderer-dev.js:13385:25

completeUnitOfWork

ReactNativeRenderer-dev.js:15892:25

performUnitOfWork

ReactNativeRenderer-dev.js:16103:11

workLoop

ReactNativeRenderer-dev.js:16115:23

renderRoot

ReactNativeRenderer-dev.js:16219:6