-
Notifications
You must be signed in to change notification settings - Fork 7
Control pathSuffix option via configuration file(s) #153
Copy link
Copy link
Open
Labels
Host 🏡Our `react-native-node-api-modules` packageOur `react-native-node-api-modules` packageLinking 🔗Discovering and copying prebuilds from packages into the hostDiscovering and copying prebuilds from packages into the hostenhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Metadata
Metadata
Assignees
Labels
Host 🏡Our `react-native-node-api-modules` packageOur `react-native-node-api-modules` packageLinking 🔗Discovering and copying prebuilds from packages into the hostDiscovering and copying prebuilds from packages into the hostenhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
We're performing a transformation of the Node-API addon dynamic library paths on disk to their dynamic library names as they're linked into the host package.
Here's the documentation for the
pathSuffixoption of theNamingStrategy:In the current state, this
pathSuffixoption is passed to the babel plugin as well as to the host package's CLI (either through a CLI runtime option or more likely theNODE_API_PATH_SUFFIXenvironment variable while runningpod installor the Gradle build) and they need to match for the app to find the dynamic library files at runtime.It would be more flexible and less brittle if ☝ was instead determined by
Note
This will likely all change once #104 merge.