From 6c2e1737473b2169aaadbb8edaf2d01b5948bc1b Mon Sep 17 00:00:00 2001 From: BrianSo Date: Fri, 16 Mar 2018 10:48:19 +0800 Subject: [PATCH] Update README.md add `compile project(':react-native-dialogs')` for manual installation --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 916f677..28f9b63 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,16 @@ include ':react-native-dialogs' project(':react-native-dialogs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-dialogs/android') ``` +update your ```app.gradle``` and add: +``` +dependencies { + compile project(':react-native-dialogs') // <-- Add this line + compile "com.android.support:appcompat-v7:23.0.1" + compile "com.facebook.react:react-native:+" // From node_modules + //... +} +``` + Next, you need to change the `MainApplication` of your app to register `ReactNativeDialogsPackage` : ```java // ... Other imports