From 9a2d05b05526cd8f4ab86e6147be6015119f40e2 Mon Sep 17 00:00:00 2001 From: Emin Date: Wed, 7 Aug 2019 13:08:45 +0300 Subject: [PATCH] autolinking improvement for android With this config file cli will be able to find the sourceDir for android. This will fix "Invariant Violation requireNativeComponent 'InteractableView' was not found in UiManager" error for RN >= 0.60. --- react-native.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 react-native.config.js diff --git a/react-native.config.js b/react-native.config.js new file mode 100644 index 00000000..e24ea7d1 --- /dev/null +++ b/react-native.config.js @@ -0,0 +1,9 @@ +module.exports = { + dependency: { + platforms: { + android: { + sourceDir: 'lib/android' + } + } + } +}; \ No newline at end of file