From 3b2aba894572f7e2bb130a322f65c02620ede717 Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Mon, 5 Dec 2016 14:52:35 -0500 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 5c52a22..852299e 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,17 @@ ... ``` +- Edit `{YOUR_MAIN_PROJECT}/app/build.gradle`: +```diff + dependencies { + compile project(':react-native-fcm') ++ compile 'com.google.firebase:firebase-core:10.0.1' //this decides your firebase SDK version + compile fileTree(dir: "libs", include: ["*.jar"]) + compile "com.android.support:appcompat-v7:23.0.1" + compile "com.facebook.react:react-native:+" // From node_modules + } +``` + ### Config for notification and `click_action` in Android To allow android to respond to `click_action`, you need to define Activities and filter on specific intent. Since all javascript is running in MainActivity, you can have MainActivity to handle actions: -- 2.26.2