Using ObjectiveC Library in React Native

I'm trying to build a Chromecast App with React Native, and my options for the Chromecast library are either an ObjectiveC version.

With React Native, how would I get the ObjectiveC library into my React Native App?

The React Native documentation walks you through writing a native module to expose JavaScript functions that can call Objective-C methods: https://facebook.github.io/react-native/docs/nativemodulesios.html.

Chromecast App using React Native (Swift)

https://github.com/holoed/ChromeCast_ReactNative

Comments

Popular posts from this blog

Meaning of `{}` for return expression

Get current scroll position of ScrollView in React Native

React Native - Image Cache