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

Commit e8414a2

Browse files
#54 Support for Push Notifications
1 parent bc6293d commit e8414a2

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ From the command prompt go to your app's root folder and execute:
3333
tns plugin add nativescript-plugin-firebase
3434
```
3535

36+
### Start-up wiring
37+
We need to do some wiring when your app starts, so open `app.js` and add this before `application.start();`:
38+
39+
```js
40+
var firebase = require("nativescript-plugin-firebase");
41+
```
42+
43+
_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._
44+
45+
3646
### Android
3747
Install packages 'Google Play Services' and 'Google Repository' in your [Android SDK Manager](http://stackoverflow.com/a/37310513)
3848

docs/AUTHENTICATION.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,6 @@ Don't forget to enable Facebook login in your firebase instance.
189189
)
190190
```
191191

192-
#### Start-up wiring
193-
We need to do some wiring when your app starts, so open `app.js` and add this before `application.start();`:
194-
195-
```js
196-
var firebase = require("nativescript-plugin-firebase");
197-
```
198-
199-
_Note that if you previously added some other code for this plugin to `app.js` you can now go ahead and remove it._
200-
201192
### logout
202193
Shouldn't be more complicated than:
203194

0 commit comments

Comments
 (0)