Using C library with React Native

788 Views Asked by At

I do not have a background in Android Application Development but have taken a task where I need to use the C library (game engine written in C) with the android application. I have some background in NodeJS and thus have decided to use React Native to build this app which will communicate with the C library. I need some inputs just because I could not find much on Web. A friend recommended me using Buck for this. I do not really know if this would be helpful but have come across some steps to build android app using buck but it just did not work for me.

So I had done the following steps:

mkdir buck-project
cd buck-project
buck project buck-project --ide intellij
cd ../ && buck installbuck-project

But that does not work and gives an error that buck project references non-existent directory. This is all I have done.

I would appreciate any help in here. If I am able to create a small application where I could send the parameters back and forth between the C code and react-native, it will be a very good starting point.

0

There are 0 best solutions below