From ef8c740aba78e5a9c5a2fed70db517ccb5bdd613 Mon Sep 17 00:00:00 2001 From: Ananta Bastola Date: Sun, 19 Jan 2020 19:08:43 +0545 Subject: [PATCH] Fix react-native-notifications link path. (#452) --- docs/installation-android.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/installation-android.md b/docs/installation-android.md index 751e924..7cbb4ab 100755 --- a/docs/installation-android.md +++ b/docs/installation-android.md @@ -31,12 +31,12 @@ Push notifications on Android are managed and dispatched using [Google's FCM ser To set FCM in your app, you must first create a google-services.json file. If you have no existing API project yet, the easiest way to go about in creating one is using [this step-by-step installation process](https://firebase.google.com/docs/android/setup); - #### Step #2: Copy google-services.json After creating google-services.json, copy it into your project's android/app folder. #### Step #3: Add google-services package to Project/build.gradle + ```gradle buildscript { ... @@ -48,6 +48,7 @@ buildscript { ``` #### Step #4: Add firebase-core package and apply google-services plugin in Project/app/build.gradle + ```gradle dependencies { ... @@ -58,7 +59,8 @@ apply plugin: 'com.google.gms.google-services' ``` #### Step #5: Link react-native-notifications in Project/android/settings.gradle + ```gradle include ':react-native-notifications' -project(':react-native-notifications').projectDir = new File(rootProject.projectDir, '../../../node_modules/react-native-notifications/lib/android/app') -``` \ No newline at end of file +project(':react-native-notifications').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-notifications/lib/android/app') +```