tokboxnerds / opentok-react-native

MIT License
17 stars 4 forks source link

Problems with starting native OpenTok components #5

Open silkroadnomad opened 8 years ago

silkroadnomad commented 8 years ago

Hi,

I did as the description said. But when I started the iOS project with Xcode, my iPad and the emulator showed "undefined is not an object (evaluating 'NativeOTSessionManager.initSession')

That is what my Xcode - console prints. As I can see my OpenTok Native API is not loaded or cannot be found. I am not really a native iOS developer. But maybe you know how to do that? Do I miss anything?

2016-03-16 18:20:12.046 [info][tid:com.facebook.React.JavaScript][RCTContextExecutor.m:129] 'Warning: Native component for "ReactPublisher" does not exist' 2016-03-16 18:20:12.054 [info][tid:com.facebook.React.JavaScript][RCTContextExecutor.m:129] 'Warning: Native component for "ReactSubscriber" does not exist' 2016-03-16 18:20:12.058 [info][tid:com.facebook.React.JavaScript][RCTContextExecutor.m:129] 'undefined is not an object (evaluating \'NativeOTSessionManager.initSession\')' 2016-03-16 18:20:12.067 [error][tid:com.facebook.React.RCTExceptionsManagerQueue] Unhandled JS Exception: undefined is not an object (evaluating 'NativeOTSessionManager.initSession') 2016-03-16 18:20:13.316 [trace][tid:com.facebook.React.JavaScript][RCTContextExecutor.m:129] 'Running application "ReactMeet" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF' 2016-03-16 18:20:13.320 [info][tid:com.facebook.React.JavaScript][RCTContextExecutor.m:129] 'Invariant Violation: Application ReactMeet has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.' 2016-03-16 18:20:13.325 [error][tid:com.facebook.React.RCTExceptionsManagerQueue] Unhandled JS Exception: Invariant Violation: Application ReactMeet has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.

danielsiwiec commented 8 years ago

+1

msach22 commented 6 years ago

@danielsiwiec @inspiraluna Check out the new opentok-react-native library: https://github.com/opentok/opentok-react-native NPM package: https://www.npmjs.com/package/opentok-react-native Samples: https://github.com/opentok/opentok-react-native-samples