I have to use an npm library from an Android native app. The app is a CAD-compatible app which should export to DXF or DWG, and since DXF libraries on Java are either proprietary or outdated, I have to rely on options on other languages. (Sure, it might fall into an XY problem, but using other languages will also stumble into this kind of problem-like Python or C#.)
How do I call the library from inside? Compared to similar questions and existing solutions,
- This solution by Janea Systems is the closest to what I want to achieve, but it seems to be outdated.
- This question, this question and this question all present outdated solutions or solutions which has to be installed by the user. I want the libraries bundled by the vendor as part of the app.
- Making a React Native app would be the most flawless way, but it is not feasible at this stage. I already implemented the core functionality of the app except for the export feature at this stage.