You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,16 +33,6 @@ From the command prompt go to your app's root folder and execute:
33
33
tns plugin add nativescript-plugin-firebase
34
34
```
35
35
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
-
46
36
### Android
47
37
Install packages 'Google Play Services' and 'Google Repository' in your [Android SDK Manager](http://stackoverflow.com/a/37310513)
48
38
@@ -73,6 +63,15 @@ android {
73
63
74
64
If you want a quickstart, [clone our demo app (an older version is used in the YouTube video)](https://github.com/EddyVerbruggen/nativescript-plugin-firebase-demo).
75
65
66
+
### Start-up wiring
67
+
We need to do some wiring when your app starts, so open `app.js` and add this before `application.start();`:
68
+
69
+
```js
70
+
var firebase =require("nativescript-plugin-firebase");
71
+
```
72
+
73
+
_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._
74
+
76
75
### init
77
76
```js
78
77
var firebase =require("nativescript-plugin-firebase");
0 commit comments