Integrate javascript module with native SDK
I have a React Web Application running inside a WebView using Cordova. I need to integrate the javascript context with a third party native SDK. I have used JNI in the past that allowed communication from JAVA to C code. Is there something similar for Javascript to JAVA (Android) and to Objective-C / Swift (iOS)? My understanding is that we cannot simply develop a Cordova plugin since the "JNI-like" communication has to be in plain Javascript. That's because the integration with the native SDK is done by a third party script that we inject in our Cordova App. So now the QUESTION is: how can