You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a nitro module using create-react-native-library@latest
I have a added a bunch of c and c header files to the project, and have them included and present in the Xcode and Android projects.
I would like to be able to call the C functions from swift and the same from Kotlin.
i.e. I want to do some platform specific stuff using Swift and Kotlin around the sensors, and then pass the sensor data to a shared model written in C for both iOS and Android.
I have tried everything but I am unable to get it to work. Does anyone have any words of wisdom or basic examples they could share to maybe see what I am missing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a nitro module using create-react-native-library@latest
I have a added a bunch of c and c header files to the project, and have them included and present in the Xcode and Android projects.
I would like to be able to call the C functions from swift and the same from Kotlin.
i.e. I want to do some platform specific stuff using Swift and Kotlin around the sensors, and then pass the sensor data to a shared model written in C for both iOS and Android.
I have tried everything but I am unable to get it to work. Does anyone have any words of wisdom or basic examples they could share to maybe see what I am missing?
Beta Was this translation helpful? Give feedback.
All reactions