Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
#54 Support for Push Notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Jun 25, 2016
1 parent cb926f9 commit 2856363
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
9 changes: 0 additions & 9 deletions docs/AUTHENTICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 2856363

Please sign in to comment.