From 1bc862b42a5a68c1ad1c9ac1b34b0f527568de4b Mon Sep 17 00:00:00 2001 From: Michael Schneider Date: Sat, 17 Feb 2018 20:13:15 -0800 Subject: [PATCH] Configure react native android library to use npm installed react native --- templates/android.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/android.js b/templates/android.js index fa7e4c3..d0a5d66 100644 --- a/templates/android.js +++ b/templates/android.js @@ -29,6 +29,10 @@ android { } repositories { + maven { + // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm + url "$projectDir/../../../node_modules/react-native/android" + } mavenCentral() }