-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Area: Native ModulesNeeds: Dev DesignWorkstream: Module SupportModule developers have the requisite tooling and clear path for adding windows support to modules.Module developers have the requisite tooling and clear path for adding windows support to modules.bugenhancement
Milestone
Description
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
Metadata
Metadata
Assignees
Labels
Area: Native ModulesNeeds: Dev DesignWorkstream: Module SupportModule developers have the requisite tooling and clear path for adding windows support to modules.Module developers have the requisite tooling and clear path for adding windows support to modules.bugenhancement