diff --git a/.gitignore b/.gitignore
index de5c767da..54fd8f0c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,17 +13,17 @@ log.txt
npm-debug.log*
package-lock.json
-# Notifications service
-GoogleService-Info.plist
-google-services.json
+# Firebase
+/GoogleService-Info.plist
+/google-services.json
## App
-desktop
-chrome-app
+/desktop
+/chrome-app
-config.xml
-ionic.config.json
+/config.xml
+/ionic.config.json
src/assets/appConfig.json
src/assets/externalServices.json
diff --git a/app-template/apply.js b/app-template/apply.js
index b7c8f5a6a..5a292df56 100755
--- a/app-template/apply.js
+++ b/app-template/apply.js
@@ -91,7 +91,7 @@ try {
location = location.replace(/^\~/, process.env.HOME || process.env.USERPROFILE);
}
console.log('Found at: ' + location);
- console.log('Copying ' + location + ' to root');
+ console.log('Copying ' + location + ' to assets');
externalServices = fs.readFileSync(location, 'utf8');
} else {
throw externalServicesConf + ' environment variable not set.';
diff --git a/app-template/bitpay/GoogleService-Info.plist b/app-template/bitpay/GoogleService-Info.plist
new file mode 100644
index 000000000..507efcdbe
--- /dev/null
+++ b/app-template/bitpay/GoogleService-Info.plist
@@ -0,0 +1,40 @@
+
+
+
+
+ AD_UNIT_ID_FOR_BANNER_TEST
+ ca-app-pub-3940256099942544/2934735716
+ AD_UNIT_ID_FOR_INTERSTITIAL_TEST
+ ca-app-pub-3940256099942544/4411468910
+ CLIENT_ID
+ 149194066736-nrekra78jvd1cqakh0l69bpbgmj05j81.apps.googleusercontent.com
+ REVERSED_CLIENT_ID
+ com.googleusercontent.apps.149194066736-nrekra78jvd1cqakh0l69bpbgmj05j81
+ API_KEY
+ AIzaSyAygvOaO5hmkL2Vze66yVAGU2QhcoTyZFA
+ GCM_SENDER_ID
+ 149194066736
+ PLIST_VERSION
+ 1
+ BUNDLE_ID
+ com.bitpay.wallet
+ PROJECT_ID
+ bitpay-wallet
+ STORAGE_BUCKET
+ bitpay-wallet.appspot.com
+ IS_ADS_ENABLED
+
+ IS_ANALYTICS_ENABLED
+
+ IS_APPINVITE_ENABLED
+
+ IS_GCM_ENABLED
+
+ IS_SIGNIN_ENABLED
+
+ GOOGLE_APP_ID
+ 1:149194066736:ios:64dc8a200f13f9ee
+ DATABASE_URL
+ https://bitpay-wallet.firebaseio.com
+
+
\ No newline at end of file
diff --git a/app-template/bitpay/google-services.json b/app-template/bitpay/google-services.json
new file mode 100644
index 000000000..ccce4a633
--- /dev/null
+++ b/app-template/bitpay/google-services.json
@@ -0,0 +1,42 @@
+{
+ "project_info": {
+ "project_number": "149194066736",
+ "firebase_url": "https://bitpay-wallet.firebaseio.com",
+ "project_id": "bitpay-wallet",
+ "storage_bucket": "bitpay-wallet.appspot.com"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:149194066736:android:64dc8a200f13f9ee",
+ "android_client_info": {
+ "package_name": "com.bitpay.wallet"
+ }
+ },
+ "oauth_client": [
+ {
+ "client_id": "149194066736-1gf0d9nk288dke5jdiuj8unkplhl8nco.apps.googleusercontent.com",
+ "client_type": 3
+ }
+ ],
+ "api_key": [
+ {
+ "current_key": "AIzaSyCZ8nyjRBe-0Lyur0LjO-SOkjv32uNQKy0"
+ }
+ ],
+ "services": {
+ "analytics_service": {
+ "status": 1
+ },
+ "appinvite_service": {
+ "status": 1,
+ "other_platform_oauth_client": []
+ },
+ "ads_service": {
+ "status": 2
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
diff --git a/app-template/copay/GoogleService-Info.plist b/app-template/copay/GoogleService-Info.plist
new file mode 100644
index 000000000..977ffeb62
--- /dev/null
+++ b/app-template/copay/GoogleService-Info.plist
@@ -0,0 +1,40 @@
+
+
+
+
+ AD_UNIT_ID_FOR_BANNER_TEST
+ ca-app-pub-3940256099942544/2934735716
+ AD_UNIT_ID_FOR_INTERSTITIAL_TEST
+ ca-app-pub-3940256099942544/4411468910
+ CLIENT_ID
+ 149194066736-tukkdahsck00842frm4l7c2r04bhhj4l.apps.googleusercontent.com
+ REVERSED_CLIENT_ID
+ com.googleusercontent.apps.149194066736-tukkdahsck00842frm4l7c2r04bhhj4l
+ API_KEY
+ AIzaSyAygvOaO5hmkL2Vze66yVAGU2QhcoTyZFA
+ GCM_SENDER_ID
+ 149194066736
+ PLIST_VERSION
+ 1
+ BUNDLE_ID
+ com.bitpay.copay
+ PROJECT_ID
+ bitpay-wallet
+ STORAGE_BUCKET
+ bitpay-wallet.appspot.com
+ IS_ADS_ENABLED
+
+ IS_ANALYTICS_ENABLED
+
+ IS_APPINVITE_ENABLED
+
+ IS_GCM_ENABLED
+
+ IS_SIGNIN_ENABLED
+
+ GOOGLE_APP_ID
+ 1:149194066736:ios:6de8942b48fea047
+ DATABASE_URL
+ https://bitpay-wallet.firebaseio.com
+
+
\ No newline at end of file
diff --git a/app-template/copay/google-services.json b/app-template/copay/google-services.json
new file mode 100644
index 000000000..8b14cdb70
--- /dev/null
+++ b/app-template/copay/google-services.json
@@ -0,0 +1,42 @@
+{
+ "project_info": {
+ "project_number": "149194066736",
+ "firebase_url": "https://bitpay-wallet.firebaseio.com",
+ "project_id": "bitpay-wallet",
+ "storage_bucket": "bitpay-wallet.appspot.com"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:149194066736:android:6de8942b48fea047",
+ "android_client_info": {
+ "package_name": "com.bitpay.copay"
+ }
+ },
+ "oauth_client": [
+ {
+ "client_id": "149194066736-1gf0d9nk288dke5jdiuj8unkplhl8nco.apps.googleusercontent.com",
+ "client_type": 3
+ }
+ ],
+ "api_key": [
+ {
+ "current_key": "AIzaSyCZ8nyjRBe-0Lyur0LjO-SOkjv32uNQKy0"
+ }
+ ],
+ "services": {
+ "analytics_service": {
+ "status": 1
+ },
+ "appinvite_service": {
+ "status": 1,
+ "other_platform_oauth_client": []
+ },
+ "ads_service": {
+ "status": 2
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}