From 2856363c561c4f7e04dda1fdddabc782573ea6fe Mon Sep 17 00:00:00 2001 From: EddyVerbruggen Date: Sat, 25 Jun 2016 16:35:17 +0200 Subject: [PATCH] #54 Support for Push Notifications --- README.md | 10 ++++++++++ docs/AUTHENTICATION.md | 9 --------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 58e5e41b..223c00f6 100755 --- a/README.md +++ b/README.md @@ -33,6 +33,16 @@ From the command prompt go to your app's root folder and execute: tns plugin add nativescript-plugin-firebase ``` +### Start-up wiring +We need to do some wiring when your app starts, so open `app.js` and add this before `application.start();`: + +```js +var firebase = require("nativescript-plugin-firebase"); +``` + +_Note that if you previously (before plugin version 3.3.0) added some other code for this plugin to `app.js` you can now go ahead and remove it._ + + ### Android Install packages 'Google Play Services' and 'Google Repository' in your [Android SDK Manager](http://stackoverflow.com/a/37310513) diff --git a/docs/AUTHENTICATION.md b/docs/AUTHENTICATION.md index 084fda7c..9081eae0 100644 --- a/docs/AUTHENTICATION.md +++ b/docs/AUTHENTICATION.md @@ -189,15 +189,6 @@ Don't forget to enable Facebook login in your firebase instance. ) ``` -#### Start-up wiring -We need to do some wiring when your app starts, so open `app.js` and add this before `application.start();`: - -```js -var firebase = require("nativescript-plugin-firebase"); -``` - -_Note that if you previously added some other code for this plugin to `app.js` you can now go ahead and remove it._ - ### logout Shouldn't be more complicated than: