-
Notifications
You must be signed in to change notification settings - Fork 932
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Autolinking example apps
How do I run an example app from within a library I'm developing?
Formerly it was done using metro.config.js and manual linking.
How can I do it with autolinking?
I tried configuring react-native.config.js and got this error on android:
Multiple projects in this build have project directory
It is very unclear how to configure projects/dependencies using react-native.config.js
Thanks
example/react-native.config.js
example/react-native.config.jsmodule.exports = {
// config for a library is scoped under "dependency" key
dependencies: {
'lib-in-dev': {
root: '..',
platforms: {
android: {
sourceDir: '../android'
}
}
}
},
};
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested