diff --git a/DynamicBibleIonic/config.xml b/DynamicBibleIonic/config.xml
index a9293a10..2527461a 100644
--- a/DynamicBibleIonic/config.xml
+++ b/DynamicBibleIonic/config.xml
@@ -66,7 +66,6 @@
-
@@ -80,4 +79,5 @@
+
diff --git a/DynamicBibleIonic/package.json b/DynamicBibleIonic/package.json
index 047f1a40..f27ac3e3 100644
--- a/DynamicBibleIonic/package.json
+++ b/DynamicBibleIonic/package.json
@@ -1,108 +1,109 @@
{
- "version": "3.0.3",
- "name": "dynamicbible",
- "author": "Jason Wall",
- "homepage": "http://dynamicbible.com/",
- "private": true,
- "config": {
- "ionic_source_map": "source-map"
+ "version": "3.0.3",
+ "name": "dynamicbible",
+ "author": "Jason Wall",
+ "homepage": "http://dynamicbible.com/",
+ "private": true,
+ "config": {
+ "ionic_source_map": "source-map"
+ },
+ "scripts": {
+ "clean": "ionic-app-scripts clean",
+ "build": "ionic-app-scripts build",
+ "lint": "ionic-app-scripts lint",
+ "ionic:build": "ionic-app-scripts build",
+ "ionic:serve": "ionic-app-scripts serve",
+ "start": "ionic serve",
+ "lab": "ionic serve --lab",
+ "test": "ng test",
+ "test-coverage": "ng test --code-coverage"
+ },
+ "dependencies": {
+ "@angular/cli": "1.3.1",
+ "@angular/common": "4.1.3",
+ "@angular/compiler": "4.1.3",
+ "@angular/compiler-cli": "4.1.3",
+ "@angular/core": "4.1.3",
+ "@angular/forms": "4.1.3",
+ "@angular/http": "4.1.3",
+ "@angular/platform-browser": "4.1.3",
+ "@angular/platform-browser-dynamic": "4.1.3",
+ "@ionic-native/core": "3.12.1",
+ "@ionic-native/splash-screen": "3.12.1",
+ "@ionic-native/status-bar": "3.12.1",
+ "@ionic/storage": "2.0.1",
+ "angularfire2": "^5.0.0-rc.3",
+ "cordova-android": "^6.2.3",
+ "cordova-plugin-console": "^1.0.5",
+ "cordova-plugin-crosswalk-webview": "^2.3.0",
+ "cordova-plugin-device": "^1.1.4",
+ "cordova-plugin-splashscreen": "^4.0.3",
+ "cordova-plugin-statusbar": "^2.2.3",
+ "cordova-plugin-whitelist": "^1.3.1",
+ "ionic-angular": "3.6.0",
+ "ionic-plugin-keyboard": "^2.2.1",
+ "ionicons": "3.0.0",
+ "rxjs": "5.4.0",
+ "sw-toolbox": "3.6.0",
+ "zone.js": "0.8.12"
+ },
+ "devDependencies": {
+ "@angular/cli": "1.1.2",
+ "@ionic/app-scripts": "2.1.0",
+ "@types/jasmine": "2.5.41",
+ "@types/node": "7.0.4",
+ "codecov": "2.2.0",
+ "connect": "3.6.2",
+ "ionic-mocks": "0.10.1",
+ "jasmine-core": "2.6.2",
+ "jasmine-reporters": "2.2.1",
+ "karma": "1.7.0",
+ "karma-chrome-launcher": "2.1.1",
+ "karma-cli": "1.0.1",
+ "karma-coverage-istanbul-reporter": "1.2.1",
+ "karma-jasmine": "1.1.0",
+ "karma-jasmine-html-reporter": "0.2.2",
+ "karma-junit-reporter": "1.2.0",
+ "protractor": "5.1.2",
+ "serve-static": "1.12.3",
+ "ts-node": "3.0.4",
+ "tslint": "5.3.2",
+ "tslint-eslint-rules": "4.1.1",
+ "typescript": "2.3.4"
+ },
+ "cordovaPlugins": [
+ "cordova-plugin-whitelist",
+ "cordova-plugin-statusbar",
+ "cordova-plugin-console",
+ "cordova-plugin-device",
+ "cordova-plugin-splashscreen",
+ "ionic-plugin-keyboard"
+ ],
+ "cordovaPlatforms": [],
+ "description": "Dynamic Bible: A bible made for studying scripture",
+ "-vs-binding": {
+ "AfterBuild": [
+ "ionic:serve"
+ ]
+ },
+ "cordova": {
+ "plugins": {
+ "cordova-plugin-console": {},
+ "cordova-plugin-device": {},
+ "cordova-plugin-splashscreen": {},
+ "cordova-plugin-statusbar": {},
+ "cordova-plugin-whitelist": {},
+ "ionic-plugin-keyboard": {},
+ "cordova-plugin-crosswalk-webview": {
+ "XWALK_VERSION": "23+",
+ "XWALK_LITEVERSION": "xwalk_core_library_canary:17+",
+ "XWALK_COMMANDLINE": "--disable-pull-to-refresh-effect",
+ "XWALK_MODE": "embedded",
+ "XWALK_MULTIPLEAPK": "true"
+ }
},
- "scripts": {
- "clean": "ionic-app-scripts clean",
- "build": "ionic-app-scripts build",
- "lint": "ionic-app-scripts lint",
- "ionic:build": "ionic-app-scripts build",
- "ionic:serve": "ionic-app-scripts serve",
- "start": "ionic serve",
- "lab": "ionic serve --lab",
- "test": "ng test",
- "test-coverage": "ng test --code-coverage"
- },
- "dependencies": {
- "@angular/cli": "1.3.1",
- "@angular/common": "4.1.3",
- "@angular/compiler": "4.1.3",
- "@angular/compiler-cli": "4.1.3",
- "@angular/core": "4.1.3",
- "@angular/forms": "4.1.3",
- "@angular/http": "4.1.3",
- "@angular/platform-browser": "4.1.3",
- "@angular/platform-browser-dynamic": "4.1.3",
- "@ionic-native/core": "3.12.1",
- "@ionic-native/splash-screen": "3.12.1",
- "@ionic-native/status-bar": "3.12.1",
- "@ionic/storage": "2.0.1",
- "cordova-android": "^6.2.3",
- "cordova-plugin-console": "^1.0.5",
- "cordova-plugin-crosswalk-webview": "^2.3.0",
- "cordova-plugin-device": "^1.1.4",
- "cordova-plugin-splashscreen": "^4.0.3",
- "cordova-plugin-statusbar": "^2.2.3",
- "cordova-plugin-whitelist": "^1.3.1",
- "ionic-angular": "3.6.0",
- "ionic-plugin-keyboard": "^2.2.1",
- "ionicons": "3.0.0",
- "rxjs": "5.4.0",
- "sw-toolbox": "3.6.0",
- "zone.js": "0.8.12"
- },
- "devDependencies": {
- "@angular/cli": "1.1.2",
- "@ionic/app-scripts": "2.1.0",
- "@types/jasmine": "2.5.41",
- "@types/node": "7.0.4",
- "codecov": "2.2.0",
- "connect": "3.6.2",
- "ionic-mocks": "0.10.1",
- "jasmine-core": "2.6.2",
- "jasmine-reporters": "2.2.1",
- "karma": "1.7.0",
- "karma-chrome-launcher": "2.1.1",
- "karma-cli": "1.0.1",
- "karma-coverage-istanbul-reporter": "1.2.1",
- "karma-jasmine": "1.1.0",
- "karma-jasmine-html-reporter": "0.2.2",
- "karma-junit-reporter": "1.2.0",
- "protractor": "5.1.2",
- "serve-static": "1.12.3",
- "ts-node": "3.0.4",
- "tslint": "5.3.2",
- "tslint-eslint-rules": "4.1.1",
- "typescript": "2.3.4"
- },
- "cordovaPlugins": [
- "cordova-plugin-whitelist",
- "cordova-plugin-statusbar",
- "cordova-plugin-console",
- "cordova-plugin-device",
- "cordova-plugin-splashscreen",
- "ionic-plugin-keyboard"
- ],
- "cordovaPlatforms": [],
- "description": "Dynamic Bible: A bible made for studying scripture",
- "-vs-binding": {
- "AfterBuild": [
- "ionic:serve"
- ]
- },
- "cordova": {
- "plugins": {
- "cordova-plugin-console": {},
- "cordova-plugin-device": {},
- "cordova-plugin-splashscreen": {},
- "cordova-plugin-statusbar": {},
- "cordova-plugin-whitelist": {},
- "ionic-plugin-keyboard": {},
- "cordova-plugin-crosswalk-webview": {
- "XWALK_VERSION": "23+",
- "XWALK_LITEVERSION": "xwalk_core_library_canary:17+",
- "XWALK_COMMANDLINE": "--disable-pull-to-refresh-effect",
- "XWALK_MODE": "embedded",
- "XWALK_MULTIPLEAPK": "true"
- }
- },
- "platforms": [
- "android"
- ]
- }
+ "platforms": [
+ "android"
+ ]
+ }
}
\ No newline at end of file
diff --git a/DynamicBibleIonic/platforms/android/cordova/version b/DynamicBibleIonic/platforms/android/cordova/version
old mode 100644
new mode 100755
diff --git a/DynamicBibleIonic/src/app/app.module.ts b/DynamicBibleIonic/src/app/app.module.ts
index 2521188d..565f4292 100644
--- a/DynamicBibleIonic/src/app/app.module.ts
+++ b/DynamicBibleIonic/src/app/app.module.ts
@@ -23,6 +23,18 @@ import { StrongsModal } from '../components/strongs-modal/strongs-modal';
import { ErrorMessage } from '../components/error-message/error-message';
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({
declarations: [
MyApp,
@@ -42,7 +54,8 @@ import { VersePickerModal } from '../components/verse-picker/verse-picker';
IonicModule.forRoot(MyApp),
IonicStorageModule.forRoot(),
BrowserModule,
- HttpModule
+ HttpModule,
+ AngularFireModule.initializeApp(firebaseConfig)
],
bootstrap: [IonicApp],
entryComponents: [