Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/Auth-with-Ionic3-Angular4.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ and add the following three entries.

>2) Define your firebaseConfig constant.

>3) Initialize your app, by adding AngularFireModule in the "imports" array in @NgModule
>3) Initialize your app, by adding AngularFireModule and AngularFireAuthModule in the "imports" array in @NgModule

>3) Also, add AngularFireDatabaseModule in the "imports" array in @NgModule
>4) Also, add AngularFireDatabase in the "providers" array in @NgModule

your `app.module.ts` file should look something like this.

Expand Down Expand Up @@ -231,6 +231,7 @@ export const firebaseConfig = {
providers: [
StatusBar,
SplashScreen,
AngularFireDatabase,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
Expand Down