diff --git a/.gitignore b/.gitignore
index a91c523001b..2ac0613fc13 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,9 @@ plugins
platforms
cordova/project-*/*
cordova/*.keystore
+cordova/wp/MainPage.xaml
+cordova/wp/Package.appxmanifest
+cordova/wp/Properties/WMAppManifest.xml
# node-webkit
cache
diff --git a/cordova/wp/MainPage.xaml b/app-template/MainPage.xaml
similarity index 98%
rename from cordova/wp/MainPage.xaml
rename to app-template/MainPage.xaml
index 10a9fbbd3d6..fd8b1b115af 100644
--- a/cordova/wp/MainPage.xaml
+++ b/app-template/MainPage.xaml
@@ -17,7 +17,7 @@
under the License.
-->
-->
-
@@ -34,8 +33,8 @@
-
+
@@ -57,23 +56,23 @@
-
-
-
-
-
+
-
+
+
+
+
+
@@ -107,6 +106,10 @@
+
+
+
+
@@ -131,6 +134,13 @@
+
+
+
+
+
+
+
diff --git a/app-template/copay/appConfig.json b/app-template/copay/appConfig.json
index f0bea881676..f477a0a0bd2 100644
--- a/app-template/copay/appConfig.json
+++ b/app-template/copay/appConfig.json
@@ -18,6 +18,7 @@
"winAppName": "CopayWallet",
"wpPublisherId": "{31cdd08b-457c-413d-b440-f6665eec847d}",
"wpProductId": "{5381aa50-9069-11e4-84cc-293caf9cbdc8}",
+ "wpMainPageId": "com.bitpay.copay.MainPage",
"windowsAppId": "804636ee-b017-4cad-8719-e58ac97ffa5c",
"pushSenderId": "1036948132229",
"description": "A Secure Bitcoin Wallet",
diff --git a/app-template/package-template.json b/app-template/package-template.json
index 73f2839fad8..e9bb122bf07 100644
--- a/app-template/package-template.json
+++ b/app-template/package-template.json
@@ -87,12 +87,14 @@
"start": "npm run build:www && ionic serve --nolivereload --nogulp -s",
"start:ios": "npm run build:www && npm run build:ios && npm run open:ios",
"start:android": "npm run build:www && npm run build:android && npm run run:android",
+ "start:wp": "npm run build:www && npm run build:wp",
"start:desktop": "npm start",
"watch": "grunt watch",
"build:www": "grunt",
"build:www-release": "grunt prod",
"build:ios": "cordova prepare ios && cordova build ios --debug",
"build:android": "cordova prepare android && cordova build android --debug",
+ "build:wp": "rm -rf platforms/wp8 && cordova platform add wp8 && cordova build wp8",
"build:ios-release": "cordova prepare ios && cordova build ios --release",
"build:android-release": "cordova prepare android && cordova build android --release",
"build:desktop": "grunt desktop",
diff --git a/cordova/readme.md b/cordova/readme.md
deleted file mode 100644
index b80002e4144..00000000000
--- a/cordova/readme.md
+++ /dev/null
@@ -1,18 +0,0 @@
-# Mobile building
-
-## Requisites
-* [Install Android SDK](https://developer.android.com/sdk/installing/index.html?pkg=tools)
-* [Install XCode for IOS](https://itunes.apple.com/en/app/xcode/id497799835?mt=12)
-* Install Cordova: ``sudo npm install -g cordova``
-* Install Copay dependecies: ``bower install && npm install``
-* Install Java-SDK and Apache Ant
-
-## Build the project
-
- $ make [clean] open-ios
- OR $ make [clean] android-run
- OR $ make [clean] wp8
-
- See Makefile for more targets
-
-
diff --git a/cordova/wp/Properties/WMAppManifest.xml b/cordova/wp/Properties/WMAppManifest.xml
deleted file mode 100644
index 81a7e9513cd..00000000000
--- a/cordova/wp/Properties/WMAppManifest.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Assets\icon@2.png
-
-
-
-
-
-
-
-
-
-
-
-
- Assets\200x200@1.png
- 0
- Assets\200x200@2.png
- Copay Bitcoin Wallet
-
-
-
-
-
-
-
- false
-
-
-
-
-
-
-
-
-
-
diff --git a/cordova/wp/fix-svg.sh b/cordova/wp/fix-svg.sh
deleted file mode 100755
index 8015e1dac1c..00000000000
--- a/cordova/wp/fix-svg.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#/bin/bash
-
-PROJECT=./build-wp/platforms
-for i in $PROJECT/wp8/www/img/*.svg
-do
- cat $i |grep -v ?xml > $i
-done
-
-for i in $PROJECT/wp8/www/font/*.svg
-do
- cat $i |grep -v ?xml > $i
-done
diff --git a/cordova/wp/fix-wp8.sh b/cordova/wp/fix-wp8.sh
new file mode 100644
index 00000000000..74e0f6ef347
--- /dev/null
+++ b/cordova/wp/fix-wp8.sh
@@ -0,0 +1,6 @@
+#/bin/bash
+PROJECT=./platforms
+
+cp -rvf ./cordova/wp/Properties/* $PROJECT/wp8/Properties/
+cp -rvf ./cordova/wp/MainPage.xaml $PROJECT/wp8/
+cp -rvf ./cordova/wp/Package.appxmanifest $PROJECT/wp8/
\ No newline at end of file
diff --git a/hooks/fix-svg.sh b/hooks/fix-svg.sh
new file mode 100644
index 00000000000..20611b88cb7
--- /dev/null
+++ b/hooks/fix-svg.sh
@@ -0,0 +1,12 @@
+#/bin/bash
+shopt -s globstar
+PROJECT=./platforms
+for i in $PROJECT/wp8/www/img/**/*.svg
+do
+ cat $i |grep -v ?xml > $i
+done
+
+for i in $PROJECT/wp8/www/fonts/*.svg
+do
+ cat $i |grep -v ?xml > $i
+done
diff --git a/resources/bitpay/wp8/ApplicationIcon.png b/resources/bitpay/wp8/ApplicationIcon.png
new file mode 100644
index 00000000000..6db598fa9a9
Binary files /dev/null and b/resources/bitpay/wp8/ApplicationIcon.png differ
diff --git a/resources/bitpay/wp8/Background.png b/resources/bitpay/wp8/Background.png
new file mode 100644
index 00000000000..5fd762d9949
Binary files /dev/null and b/resources/bitpay/wp8/Background.png differ
diff --git a/resources/bitpay/wp8/SplashScreenImage.jpg b/resources/bitpay/wp8/SplashScreenImage.jpg
new file mode 100644
index 00000000000..69bda60a29e
Binary files /dev/null and b/resources/bitpay/wp8/SplashScreenImage.jpg differ
diff --git a/resources/bitpay/wp8/assets/173x173@1.png b/resources/bitpay/wp8/assets/173x173@1.png
new file mode 100644
index 00000000000..131b0018a71
Binary files /dev/null and b/resources/bitpay/wp8/assets/173x173@1.png differ
diff --git a/resources/bitpay/wp8/assets/173x173@2.png b/resources/bitpay/wp8/assets/173x173@2.png
new file mode 100644
index 00000000000..88ae68c8ea7
Binary files /dev/null and b/resources/bitpay/wp8/assets/173x173@2.png differ
diff --git a/resources/bitpay/wp8/assets/200x200@1.png b/resources/bitpay/wp8/assets/200x200@1.png
new file mode 100644
index 00000000000..da5084c4630
Binary files /dev/null and b/resources/bitpay/wp8/assets/200x200@1.png differ
diff --git a/resources/bitpay/wp8/assets/200x200@2.png b/resources/bitpay/wp8/assets/200x200@2.png
new file mode 100644
index 00000000000..af14aaa495e
Binary files /dev/null and b/resources/bitpay/wp8/assets/200x200@2.png differ
diff --git a/resources/bitpay/wp8/assets/62x62@1.png b/resources/bitpay/wp8/assets/62x62@1.png
new file mode 100644
index 00000000000..093b8e4ac1e
Binary files /dev/null and b/resources/bitpay/wp8/assets/62x62@1.png differ
diff --git a/resources/bitpay/wp8/assets/62x62@2.png b/resources/bitpay/wp8/assets/62x62@2.png
new file mode 100644
index 00000000000..28148de0009
Binary files /dev/null and b/resources/bitpay/wp8/assets/62x62@2.png differ
diff --git a/resources/bitpay/wp8/assets/99x99@1.png b/resources/bitpay/wp8/assets/99x99@1.png
new file mode 100644
index 00000000000..a813b5122b4
Binary files /dev/null and b/resources/bitpay/wp8/assets/99x99@1.png differ
diff --git a/resources/bitpay/wp8/assets/99x99@2.png b/resources/bitpay/wp8/assets/99x99@2.png
new file mode 100644
index 00000000000..e9a930b04a0
Binary files /dev/null and b/resources/bitpay/wp8/assets/99x99@2.png differ
diff --git a/resources/bitpay/wp8/assets/BadgeLogo.png b/resources/bitpay/wp8/assets/BadgeLogo.png
new file mode 100644
index 00000000000..24974c15da9
Binary files /dev/null and b/resources/bitpay/wp8/assets/BadgeLogo.png differ
diff --git a/resources/bitpay/wp8/assets/Logo.png b/resources/bitpay/wp8/assets/Logo.png
new file mode 100644
index 00000000000..7e8875a9710
Binary files /dev/null and b/resources/bitpay/wp8/assets/Logo.png differ
diff --git a/resources/bitpay/wp8/assets/SplashScreen.png b/resources/bitpay/wp8/assets/SplashScreen.png
new file mode 100644
index 00000000000..cb5a52389cd
Binary files /dev/null and b/resources/bitpay/wp8/assets/SplashScreen.png differ
diff --git a/resources/bitpay/wp8/assets/SquareTile150x150.png b/resources/bitpay/wp8/assets/SquareTile150x150.png
new file mode 100644
index 00000000000..e0e097239ca
Binary files /dev/null and b/resources/bitpay/wp8/assets/SquareTile150x150.png differ
diff --git a/resources/bitpay/wp8/assets/SquareTile71x71.png b/resources/bitpay/wp8/assets/SquareTile71x71.png
new file mode 100644
index 00000000000..fdab02ed912
Binary files /dev/null and b/resources/bitpay/wp8/assets/SquareTile71x71.png differ
diff --git a/resources/bitpay/wp8/assets/StoreLogo.png b/resources/bitpay/wp8/assets/StoreLogo.png
new file mode 100644
index 00000000000..363182bb786
Binary files /dev/null and b/resources/bitpay/wp8/assets/StoreLogo.png differ
diff --git a/resources/bitpay/wp8/assets/WideLogo.png b/resources/bitpay/wp8/assets/WideLogo.png
new file mode 100644
index 00000000000..bf104ae25c0
Binary files /dev/null and b/resources/bitpay/wp8/assets/WideLogo.png differ
diff --git a/resources/bitpay/wp8/assets/icon-300.png b/resources/bitpay/wp8/assets/icon-300.png
new file mode 100644
index 00000000000..f9b681b5d11
Binary files /dev/null and b/resources/bitpay/wp8/assets/icon-300.png differ
diff --git a/resources/bitpay/wp8/assets/icon@1.png b/resources/bitpay/wp8/assets/icon@1.png
new file mode 100644
index 00000000000..c070f8b26c7
Binary files /dev/null and b/resources/bitpay/wp8/assets/icon@1.png differ
diff --git a/resources/bitpay/wp8/assets/icon@2.png b/resources/bitpay/wp8/assets/icon@2.png
new file mode 100644
index 00000000000..0a696d2ad69
Binary files /dev/null and b/resources/bitpay/wp8/assets/icon@2.png differ
diff --git a/resources/bitpay/wp8/assets/icon@2x.png b/resources/bitpay/wp8/assets/icon@2x.png
new file mode 100644
index 00000000000..147c21e54db
Binary files /dev/null and b/resources/bitpay/wp8/assets/icon@2x.png differ
diff --git a/resources/copay/wp8/ApplicationIcon.png b/resources/copay/wp8/ApplicationIcon.png
new file mode 100644
index 00000000000..6db598fa9a9
Binary files /dev/null and b/resources/copay/wp8/ApplicationIcon.png differ
diff --git a/resources/copay/wp8/Background.png b/resources/copay/wp8/Background.png
new file mode 100644
index 00000000000..5fd762d9949
Binary files /dev/null and b/resources/copay/wp8/Background.png differ
diff --git a/resources/copay/wp8/SplashScreenImage.jpg b/resources/copay/wp8/SplashScreenImage.jpg
new file mode 100644
index 00000000000..69bda60a29e
Binary files /dev/null and b/resources/copay/wp8/SplashScreenImage.jpg differ
diff --git a/resources/copay/wp8/assets/173x173@1.png b/resources/copay/wp8/assets/173x173@1.png
new file mode 100644
index 00000000000..131b0018a71
Binary files /dev/null and b/resources/copay/wp8/assets/173x173@1.png differ
diff --git a/resources/copay/wp8/assets/173x173@2.png b/resources/copay/wp8/assets/173x173@2.png
new file mode 100644
index 00000000000..88ae68c8ea7
Binary files /dev/null and b/resources/copay/wp8/assets/173x173@2.png differ
diff --git a/resources/copay/wp8/assets/200x200@1.png b/resources/copay/wp8/assets/200x200@1.png
new file mode 100644
index 00000000000..da5084c4630
Binary files /dev/null and b/resources/copay/wp8/assets/200x200@1.png differ
diff --git a/resources/copay/wp8/assets/200x200@2.png b/resources/copay/wp8/assets/200x200@2.png
new file mode 100644
index 00000000000..af14aaa495e
Binary files /dev/null and b/resources/copay/wp8/assets/200x200@2.png differ
diff --git a/resources/copay/wp8/assets/62x62@1.png b/resources/copay/wp8/assets/62x62@1.png
new file mode 100644
index 00000000000..093b8e4ac1e
Binary files /dev/null and b/resources/copay/wp8/assets/62x62@1.png differ
diff --git a/resources/copay/wp8/assets/62x62@2.png b/resources/copay/wp8/assets/62x62@2.png
new file mode 100644
index 00000000000..28148de0009
Binary files /dev/null and b/resources/copay/wp8/assets/62x62@2.png differ
diff --git a/resources/copay/wp8/assets/99x99@1.png b/resources/copay/wp8/assets/99x99@1.png
new file mode 100644
index 00000000000..a813b5122b4
Binary files /dev/null and b/resources/copay/wp8/assets/99x99@1.png differ
diff --git a/resources/copay/wp8/assets/99x99@2.png b/resources/copay/wp8/assets/99x99@2.png
new file mode 100644
index 00000000000..e9a930b04a0
Binary files /dev/null and b/resources/copay/wp8/assets/99x99@2.png differ
diff --git a/resources/copay/wp8/assets/BadgeLogo.png b/resources/copay/wp8/assets/BadgeLogo.png
new file mode 100644
index 00000000000..24974c15da9
Binary files /dev/null and b/resources/copay/wp8/assets/BadgeLogo.png differ
diff --git a/resources/copay/wp8/assets/Logo.png b/resources/copay/wp8/assets/Logo.png
new file mode 100644
index 00000000000..7e8875a9710
Binary files /dev/null and b/resources/copay/wp8/assets/Logo.png differ
diff --git a/resources/copay/wp8/assets/SplashScreen.png b/resources/copay/wp8/assets/SplashScreen.png
new file mode 100644
index 00000000000..cb5a52389cd
Binary files /dev/null and b/resources/copay/wp8/assets/SplashScreen.png differ
diff --git a/resources/copay/wp8/assets/SquareTile150x150.png b/resources/copay/wp8/assets/SquareTile150x150.png
new file mode 100644
index 00000000000..e0e097239ca
Binary files /dev/null and b/resources/copay/wp8/assets/SquareTile150x150.png differ
diff --git a/resources/copay/wp8/assets/SquareTile71x71.png b/resources/copay/wp8/assets/SquareTile71x71.png
new file mode 100644
index 00000000000..fdab02ed912
Binary files /dev/null and b/resources/copay/wp8/assets/SquareTile71x71.png differ
diff --git a/resources/copay/wp8/assets/StoreLogo.png b/resources/copay/wp8/assets/StoreLogo.png
new file mode 100644
index 00000000000..363182bb786
Binary files /dev/null and b/resources/copay/wp8/assets/StoreLogo.png differ
diff --git a/resources/copay/wp8/assets/WideLogo.png b/resources/copay/wp8/assets/WideLogo.png
new file mode 100644
index 00000000000..bf104ae25c0
Binary files /dev/null and b/resources/copay/wp8/assets/WideLogo.png differ
diff --git a/resources/copay/wp8/assets/icon-300.png b/resources/copay/wp8/assets/icon-300.png
new file mode 100644
index 00000000000..f9b681b5d11
Binary files /dev/null and b/resources/copay/wp8/assets/icon-300.png differ
diff --git a/resources/copay/wp8/assets/icon@1.png b/resources/copay/wp8/assets/icon@1.png
new file mode 100644
index 00000000000..c070f8b26c7
Binary files /dev/null and b/resources/copay/wp8/assets/icon@1.png differ
diff --git a/resources/copay/wp8/assets/icon@2.png b/resources/copay/wp8/assets/icon@2.png
new file mode 100644
index 00000000000..0a696d2ad69
Binary files /dev/null and b/resources/copay/wp8/assets/icon@2.png differ
diff --git a/resources/copay/wp8/assets/icon@2x.png b/resources/copay/wp8/assets/icon@2x.png
new file mode 100644
index 00000000000..147c21e54db
Binary files /dev/null and b/resources/copay/wp8/assets/icon@2x.png differ