How to link a dependency automatically in React Native module?
I'm working on React Native module for text input mask – github.com/react-native-community/react-nat.., and iOS part depends on other project – https://github.com/RedMadRobot/input-mask-ios.
After installing the module with npm i --save react-native-text-input-mask
and linking with react-native link
everything is ok in simulator, but to make it working on a real iOS device I have to link the InputMask from Products to Embedded Binaries in the XCode.
What is the right way to create a React Native module so dependency linked automatically?