Third party dependencies in React Native widget

2
Hi! I’m trying to build a widget with any external dependency. It does not matter which one I use, but whenever I try to load said widget into Mendix and run the project locally. It’s giving me either “null is not an object” or “undefined is not an object”. Steps I’m taking to create a widget are for an example: Generate a widget (no boilerplate) with yeoman @mendix/widget Load widget into my IDE npm install any third-party dependency (like react-native-camera) react-native link [library] (eventhough it’s deprecated) Adding the component RNCamera npm run dev Load MPK file into my Mendix project and load as widget Run locally ERROR   Even when I’m just setting an API key using a different library and returning only text, it’s just not working. Am I missing something?
asked
0 answers