I have a react-native app and want to integrate it with native SDK. At some point I need to call js function which will return me data, and this call I should make from native side. Here is the flow:
- some iOS handler require more info
- native layer calls js code
- js code calculate/fetch required data
- js code return data back to native code
- native code receive data and continue working
Is it possible? There is a lib react-native-eval
but may be there is more elegant way to do this?