Sometimes a community module will have requirements for the app to consume it successfully.
For example:
- the react-native-print module requires that the app define a XAML Canvas element named RNPrintCanvas.
- similarly, use of inking will require the app to set IsPerspectiveEnabled=false
- C# modules require C++ apps to add the consumecsharpmodules property (this already works automatically)
In the case of react-native-print, this is documented in the module's readme, but it would be good if there was a way for the module to express requirements or even run some JS during autolink to either (in pri order):
- print a message explaining module requirements on the app
- check whether the condition is satisfied and if not print a message
- check the condition and fix it for the user
Sometimes a community module will have requirements for the app to consume it successfully.
For example:
In the case of react-native-print, this is documented in the module's readme, but it would be good if there was a way for the module to express requirements or even run some JS during autolink to either (in pri order):