Native dependencies for pluggable widget

2
I'm working on a pluggable native widget to wrap a npm library (mx 9.24.2).   To include the library I go by these sources that all say pretty much the same. In short: "add the dependency in a 'myWidgetName.json' file" to the source folder.   https://docs.mendix.com/apidocs-mxsdk/apidocs/pluggable-widgets-native-dependencies/ https://medium.com/mendix/mendix-9-native-dependency-management-2de504ae927c https://www.mendix.com/videos/leverage-npm-packages-with-native-widgets/   After building a custom developer app, in the generated repo for the customer developer app, I would expect to see the dependency to appear in the ".native_dependencies" and "package.json" file. Both not the case.   Opening the app locally with the custom developer app results in two error's: TypeError: (0,b.useAnimatedStyle) is not a function. (In '(0,b.useAnimatedStyle)(function(){return{height:(0,b.withTiming)(a)}})', '(0,b.useAnimatedStyle)' is undefined) TypeError: undefined is not an object (evaluating '_.Gesture.Tap')   Maybe someone can point me in the right direction? Any thoughts or checks?   Thanks!
asked
0 answers