Hi all,
I have a Java project which performs scientific calculations. It does not have any dependencies and it does not reference any UI, DOM, or any other web environment features. It is basically a few custom data structures and algorithms. I wish to expose one class in this project using JsInterop and consume it in a React Native and React app.
I've successfully transpiled the Java into Javascript, but I am unable to use it my React Native app because the resulting Javascript seems to reference UI elements (there's always "var $wnd = $wnd || window.parent..." at the top of the cache.js file which React Native chokes on). Is there a way to achieve my goal and, if so, how?
Thanks,
Igor