mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-27 17:39:49 -04:00
Add AngularFire2 so we can use it in our ionic application.
This commit is contained in:
parent
bb11af767b
commit
46099bbf32
@ -66,7 +66,6 @@
|
|||||||
<feature name="SplashScreen">
|
<feature name="SplashScreen">
|
||||||
<param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen" />
|
<param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen" />
|
||||||
</feature>
|
</feature>
|
||||||
<engine name="android" spec="^6.2.3" />
|
|
||||||
<plugin name="cordova-plugin-console" spec="^1.0.5" />
|
<plugin name="cordova-plugin-console" spec="^1.0.5" />
|
||||||
<plugin name="cordova-plugin-crosswalk-webview" spec="^2.3.0">
|
<plugin name="cordova-plugin-crosswalk-webview" spec="^2.3.0">
|
||||||
<variable name="XWALK_VERSION" value="23+" />
|
<variable name="XWALK_VERSION" value="23+" />
|
||||||
@ -80,4 +79,5 @@
|
|||||||
<plugin name="cordova-plugin-statusbar" spec="^2.2.3" />
|
<plugin name="cordova-plugin-statusbar" spec="^2.2.3" />
|
||||||
<plugin name="cordova-plugin-whitelist" spec="^1.3.1" />
|
<plugin name="cordova-plugin-whitelist" spec="^1.3.1" />
|
||||||
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
|
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
|
||||||
|
<engine name="android" spec="^6.2.3" />
|
||||||
</widget>
|
</widget>
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
"@ionic-native/splash-screen": "3.12.1",
|
"@ionic-native/splash-screen": "3.12.1",
|
||||||
"@ionic-native/status-bar": "3.12.1",
|
"@ionic-native/status-bar": "3.12.1",
|
||||||
"@ionic/storage": "2.0.1",
|
"@ionic/storage": "2.0.1",
|
||||||
|
"angularfire2": "^5.0.0-rc.3",
|
||||||
"cordova-android": "^6.2.3",
|
"cordova-android": "^6.2.3",
|
||||||
"cordova-plugin-console": "^1.0.5",
|
"cordova-plugin-console": "^1.0.5",
|
||||||
"cordova-plugin-crosswalk-webview": "^2.3.0",
|
"cordova-plugin-crosswalk-webview": "^2.3.0",
|
||||||
|
0
DynamicBibleIonic/platforms/android/cordova/version
Normal file → Executable file
0
DynamicBibleIonic/platforms/android/cordova/version
Normal file → Executable file
@ -23,6 +23,18 @@ import { StrongsModal } from '../components/strongs-modal/strongs-modal';
|
|||||||
import { ErrorMessage } from '../components/error-message/error-message';
|
import { ErrorMessage } from '../components/error-message/error-message';
|
||||||
import { VersePickerModal } from '../components/verse-picker/verse-picker';
|
import { VersePickerModal } from '../components/verse-picker/verse-picker';
|
||||||
|
|
||||||
|
import {AngularFireModule } from 'angularfire2';
|
||||||
|
|
||||||
|
export const firebaseConfig = {
|
||||||
|
apiKey: 'AIzaSyA3UV4s56CV2EumgvZmyJBTyU-vhv0xhc8',
|
||||||
|
authDomain: 'dynamicbible-7c6cf.firebaseapp.com',
|
||||||
|
databaseURL: 'https://dynamicbible-7c6cf.firebaseio.com',
|
||||||
|
projectId: 'dynamicbible-7c6cf',
|
||||||
|
// TODO(jwall): What is a storage bucket?
|
||||||
|
storageBucket: '',
|
||||||
|
messagingSenderId: '200739882604'
|
||||||
|
};
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
MyApp,
|
MyApp,
|
||||||
@ -42,7 +54,8 @@ import { VersePickerModal } from '../components/verse-picker/verse-picker';
|
|||||||
IonicModule.forRoot(MyApp),
|
IonicModule.forRoot(MyApp),
|
||||||
IonicStorageModule.forRoot(),
|
IonicStorageModule.forRoot(),
|
||||||
BrowserModule,
|
BrowserModule,
|
||||||
HttpModule
|
HttpModule,
|
||||||
|
AngularFireModule.initializeApp(firebaseConfig)
|
||||||
],
|
],
|
||||||
bootstrap: [IonicApp],
|
bootstrap: [IonicApp],
|
||||||
entryComponents: [
|
entryComponents: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user