-
-
Save geykel/42b77ee66d4e7fe01e75a7745234acb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BrowserModule } from '@angular/platform-browser'; | |
import { ErrorHandler, NgModule } from '@angular/core'; | |
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular'; | |
import { SplashScreen } from '@ionic-native/splash-screen'; | |
import { StatusBar } from '@ionic-native/status-bar'; | |
import { Facebook } from '@ionic-native/facebook'; | |
import { AngularFireModule } from 'angularfire2'; | |
import { AngularFireAuthModule } from 'angularfire2/auth'; | |
import { AuthService } from '../providers/auth-service'; | |
import { MyApp } from './app.component'; | |
import { HomePage } from '../pages/home/home'; | |
import { SignInPage } from '../pages/signin/signin'; | |
import { SignUpPage } from '../pages/signup/signup'; | |
export const firebaseConfig = { | |
apiKey: "AIzaSyA3jE_yGw17BSReFk_QMo7fuf4fSiKFW8k", | |
authDomain: "ionfire-df87b.firebaseapp.com", | |
databaseURL: "https://ionfire-df87b.firebaseio.com", | |
projectId: "ionfire-df87b", | |
storageBucket: "ionfire-df87b.appspot.com", | |
messagingSenderId: "783410523738" | |
}; | |
@NgModule({ | |
declarations: [ | |
MyApp, | |
HomePage, | |
SignInPage, | |
SignUpPage | |
], | |
imports: [ | |
BrowserModule, | |
IonicModule.forRoot(MyApp), | |
AngularFireModule.initializeApp(firebaseConfig), | |
AngularFireAuthModule | |
], | |
bootstrap: [IonicApp], | |
entryComponents: [ | |
MyApp, | |
HomePage, | |
SignInPage, | |
SignUpPage | |
], | |
providers: [ | |
StatusBar, | |
SplashScreen, | |
{ provide: ErrorHandler, useClass: IonicErrorHandler }, | |
AuthService, | |
] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment