Using the ObjectiveC library in React Native

I am trying to build a Chromecast app with React Native and my options for the Chromecast library are the ObjectiveC version.

With React Native, how can I get the ObjectiveC library in my React Native App?

+3


source to share


2 answers


The React Native documentation allows you to write your own module to display JavaScript functions that can call Objective-C methods: https://facebook.github.io/react-native/docs/nativemodulesios.html .



+3


source


Chromecast app using React Native (Swift)



https://github.com/holoed/ChromeCast_ReactNative

+1


source







All Articles