Merge pull request #5579 from gabrielbazan7/windows-platform
windows platform build
This commit is contained in:
commit
85215cb583
16 changed files with 9 additions and 356 deletions
15
.gitignore
vendored
15
.gitignore
vendored
|
|
@ -6,8 +6,6 @@ src/js/translations.js
|
||||||
# cordova
|
# cordova
|
||||||
plugins
|
plugins
|
||||||
platforms
|
platforms
|
||||||
cordova/project-*/*
|
|
||||||
cordova/*.keystore
|
|
||||||
|
|
||||||
# node-webkit
|
# node-webkit
|
||||||
cache
|
cache
|
||||||
|
|
@ -98,26 +96,13 @@ www/fonts
|
||||||
/ionic.config.json
|
/ionic.config.json
|
||||||
/appConfig.json
|
/appConfig.json
|
||||||
externalServices.json
|
externalServices.json
|
||||||
cordova/Makefile
|
|
||||||
cordova/ProjectMakefile
|
|
||||||
app-template/bitpay-wallet
|
app-template/bitpay-wallet
|
||||||
cordova/config.xml
|
|
||||||
cordova/wp/Package.appxmanifest
|
|
||||||
src/js/appConfig.js
|
src/js/appConfig.js
|
||||||
src/js/externalServices.js
|
src/js/externalServices.js
|
||||||
chrome-app/manifest.json
|
chrome-app/manifest.json
|
||||||
www/img/app
|
www/img/app
|
||||||
www/index.html
|
www/index.html
|
||||||
|
|
||||||
|
|
||||||
cordova/android/res/
|
|
||||||
cordova/wp/Assets/
|
|
||||||
cordova/wp/*.png
|
|
||||||
cordova/wp/*.jpg
|
|
||||||
cordova/ios/splash/
|
|
||||||
cordova/ios/icons/
|
|
||||||
cordova/project/
|
|
||||||
|
|
||||||
## Firebase
|
## Firebase
|
||||||
GoogleService-Info.plist
|
GoogleService-Info.plist
|
||||||
google-services.json
|
google-services.json
|
||||||
|
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
.PHONY: ios android wp
|
|
||||||
|
|
||||||
WORKDIR=project-
|
|
||||||
|
|
||||||
all:
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -Rf $(WORKDIR)*
|
|
||||||
|
|
||||||
wp-init: config.xml
|
|
||||||
cordova create $(WORKDIR)$@ com.bitpay.*BUNDLENAME* "*USERVISIBLENAME*" || echo "Project Path Existed"
|
|
||||||
cp ProjectMakefile $(WORKDIR)$@/Makefile
|
|
||||||
mkdir -p $(WORKDIR)$@/www
|
|
||||||
cp -Rf ../www/* $(WORKDIR)$@/www
|
|
||||||
cp config.xml $(WORKDIR)$@/config.xml
|
|
||||||
make -C $(WORKDIR)$@ $(subst $(WORKDIR),, $(WORKDIR)$@)
|
|
||||||
|
|
||||||
wp-copy:
|
|
||||||
cp -rvf wp/Properties/* $(WORKDIR)wp/platforms/wp8/Properties/
|
|
||||||
cp -rvf wp/MainPage.xaml $(WORKDIR)wp/platforms/wp8/
|
|
||||||
cp -rvf wp/Package.appxmanifest $(WORKDIR)wp/platforms/wp8/
|
|
||||||
cp -rvf wp/Assets/* $(WORKDIR)wp/platforms/wp8/Assets/
|
|
||||||
cp -rvf wp/SplashScreenImage.jpg $(WORKDIR)wp/platforms/wp8/
|
|
||||||
cp -rvf wp/ApplicationIcon.png $(WORKDIR)wp/platforms/wp8/
|
|
||||||
cp -rvf wp/Background.png $(WORKDIR)wp/platforms/wp8/
|
|
||||||
cp -rvf ../www/* $(WORKDIR)wp/www
|
|
||||||
wp/fix-svg.sh
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest" xmlns:m3="http://schemas.microsoft.com/appx/2014/manifest" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest">
|
|
||||||
<Identity Name="18C7659D.*WINAPPNAME*" Publisher="CN=F89609D1-EB3E-45FD-A58A-C2E3895FCE7B" Version="*VERSION*.0" />
|
|
||||||
<mp:PhoneIdentity PhoneProductId="5381aa50-9069-11e4-84cc-293caf9cbdc8" PhonePublisherId="F89609D1-EB3E-45FD-A58A-C2E3895FCE7B" />
|
|
||||||
<Properties>
|
|
||||||
<DisplayName>*APPDESCRIPTION*</DisplayName>
|
|
||||||
<PublisherDisplayName>BitPay Inc.</PublisherDisplayName>
|
|
||||||
<Logo>Assets\StoreLogo.png</Logo>
|
|
||||||
</Properties>
|
|
||||||
<Prerequisites>
|
|
||||||
<OSMinVersion>6.3.1</OSMinVersion>
|
|
||||||
<OSMaxVersionTested>6.3.1</OSMaxVersionTested>
|
|
||||||
</Prerequisites>
|
|
||||||
<Resources>
|
|
||||||
<Resource Language="x-generate" />
|
|
||||||
</Resources>
|
|
||||||
<Applications>
|
|
||||||
<Application Id="x5381aa50y9069y11e4y84ccy293caf9cbdc8x" Executable="AGHost.exe" EntryPoint="MainPage.xaml">
|
|
||||||
<m3:VisualElements DisplayName="*APPDESCRIPTION*" Square150x150Logo="Assets\SquareTile150x150.png" Square44x44Logo="Assets\Logo.png" Description="A multisignature Bitcoin Wallet" ForegroundText="light" BackgroundColor="#464646">
|
|
||||||
<m3:DefaultTile Square71x71Logo="Assets\SquareTile71x71.png">
|
|
||||||
</m3:DefaultTile>
|
|
||||||
<m3:SplashScreen Image="SplashScreenImage.jpg" />
|
|
||||||
</m3:VisualElements>
|
|
||||||
<Extensions>
|
|
||||||
<Extension Category="windows.backgroundTasks" EntryPoint="AgHost.BackgroundTask">
|
|
||||||
<BackgroundTasks>
|
|
||||||
<Task Type="systemEvent" />
|
|
||||||
</BackgroundTasks>
|
|
||||||
</Extension>
|
|
||||||
</Extensions>
|
|
||||||
</Application>
|
|
||||||
</Applications>
|
|
||||||
<Extensions>
|
|
||||||
<Extension Category="windows.activatableClass.inProcessServer">
|
|
||||||
<InProcessServer>
|
|
||||||
<Path>AgHostSvcs.dll</Path>
|
|
||||||
<ActivatableClass ActivatableClassId="AgHost.BackgroundTask" ThreadingModel="both" />
|
|
||||||
</InProcessServer>
|
|
||||||
</Extension>
|
|
||||||
</Extensions>
|
|
||||||
</Package>
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
.PHONY:plugins ios-platform android-platform wp8-platform
|
|
||||||
|
|
||||||
plugins:
|
|
||||||
cordova plugin add https://github.com/cmgustavo/Custom-URL-scheme.git --variable URL_SCHEME=bitcoin --variable SECOND_URL_SCHEME=*APPURI*
|
|
||||||
cordova prepare
|
|
||||||
rm -rf platforms/android/res/values-es
|
|
||||||
|
|
||||||
wp8-platform:
|
|
||||||
cordova platforms add $(subst -platform,,$@) || echo "Platform already added"
|
|
||||||
|
|
||||||
wp: wp8-platform plugins
|
|
||||||
cordova plugin add https://github.com/jrontend/phonegap-plugin-barcodescanner
|
|
||||||
|
|
||||||
build-wp8:
|
|
||||||
cordova build $(subst build-,,$@)
|
|
||||||
|
|
||||||
run:
|
|
||||||
cordova run --device
|
|
||||||
|
|
@ -1,49 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Deployment AppPlatformVersion="8.1" xmlns="http://schemas.microsoft.com/windowsphone/2014/deployment">
|
|
||||||
<DefaultLanguage code="en-US" xmlns="" />
|
|
||||||
<Languages xmlns="">
|
|
||||||
<Language code="en-US" />
|
|
||||||
<Language code="fr" />
|
|
||||||
<Language code="de" />
|
|
||||||
<Language code="ja" />
|
|
||||||
<Language code="es" />
|
|
||||||
<Language code="ru" />
|
|
||||||
<Language code="pl" />
|
|
||||||
<Language code="cs" />
|
|
||||||
</Languages>
|
|
||||||
<App Author="Bitpay Inc." BitsPerPixel="32" Description="*DESCRIPTION*" Genre="apps.normal" ProductID="*WPPRODUCTID*" Publisher="*APPDESCRIPTION*" PublisherID="*WPPUBLISHERID*" RuntimeType="Silverlight" Title="*PURPOSELINE*" Version="*VERSION*.0" xmlns="" NotificationService="MPN">
|
|
||||||
<IconPath IsRelative="true" IsResource="false">Assets\icon@2.png</IconPath>
|
|
||||||
<Capabilities>
|
|
||||||
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
|
|
||||||
<Capability Name="ID_CAP_NETWORKING" />
|
|
||||||
<Capability Name="ID_CAP_ISV_CAMERA" />
|
|
||||||
<Capability Name="ID_CAP_IDENTITY_DEVICE" />
|
|
||||||
</Capabilities>
|
|
||||||
<Tasks>
|
|
||||||
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
|
|
||||||
</Tasks>
|
|
||||||
<Tokens>
|
|
||||||
<PrimaryToken TaskName="_default" TokenID="*NAMECASENOSPACE*Token">
|
|
||||||
<TemplateFlip>
|
|
||||||
<SmallImageURI IsRelative="true" IsResource="false">Assets\200x200@1.png</SmallImageURI>
|
|
||||||
<Count>0</Count>
|
|
||||||
<BackgroundImageURI IsRelative="true" IsResource="false">Assets\200x200@2.png</BackgroundImageURI>
|
|
||||||
<Title>*APPDESCRIPTION*</Title>
|
|
||||||
<BackContent />
|
|
||||||
<BackBackgroundImageURI />
|
|
||||||
<BackTitle />
|
|
||||||
<LargeBackgroundImageURI />
|
|
||||||
<LargeBackContent />
|
|
||||||
<LargeBackBackgroundImageURI />
|
|
||||||
<DeviceLockImageURI />
|
|
||||||
<HasLarge>false</HasLarge>
|
|
||||||
</TemplateFlip>
|
|
||||||
</PrimaryToken>
|
|
||||||
</Tokens>
|
|
||||||
<ScreenResolutions>
|
|
||||||
<ScreenResolution Name="ID_RESOLUTION_WVGA" />
|
|
||||||
<ScreenResolution Name="ID_RESOLUTION_WXGA" />
|
|
||||||
<ScreenResolution Name="ID_RESOLUTION_HD720P" />
|
|
||||||
</ScreenResolutions>
|
|
||||||
</App>
|
|
||||||
</Deployment>
|
|
||||||
|
|
@ -7,11 +7,8 @@
|
||||||
var templates = {
|
var templates = {
|
||||||
'package-template.json': '/',
|
'package-template.json': '/',
|
||||||
'index.html': 'www/',
|
'index.html': 'www/',
|
||||||
'Makefile': 'cordova/',
|
|
||||||
'ProjectMakefile': 'cordova/',
|
|
||||||
'config-template.xml': '/',
|
'config-template.xml': '/',
|
||||||
'ionic.config.json': '/',
|
'ionic.config.json': '/',
|
||||||
'Package.appxmanifest': 'cordova/wp/',
|
|
||||||
'.desktop': 'webkitbuilds/',
|
'.desktop': 'webkitbuilds/',
|
||||||
'setup-win.iss': 'webkitbuilds/',
|
'setup-win.iss': 'webkitbuilds/',
|
||||||
'build-macos.sh': 'webkitbuilds/',
|
'build-macos.sh': 'webkitbuilds/',
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
<!-- <preference name="KeyboardDisplayRequiresUserAction" value="false" /> -->
|
<!-- <preference name="KeyboardDisplayRequiresUserAction" value="false" /> -->
|
||||||
<preference name="StatusBarBackgroundColor" value="#1e3186" />
|
<preference name="StatusBarBackgroundColor" value="#1e3186" />
|
||||||
<preference name="BackupWebStorage" value="none"/>
|
<preference name="BackupWebStorage" value="none"/>
|
||||||
<preference name="windows-target-version" value="8.1"/>
|
<preference name="windows-target-version" value="10.0"/>
|
||||||
<preference name="Orientation" value="default" />
|
<preference name="Orientation" value="default" />
|
||||||
<preference name="cordova-custom-config-stoponerror" value="true" />
|
<preference name="cordova-custom-config-stoponerror" value="true" />
|
||||||
|
|
||||||
|
|
@ -56,20 +56,20 @@
|
||||||
<plugin name="ionic-plugin-keyboard" spec="~2.2.1" />
|
<plugin name="ionic-plugin-keyboard" spec="~2.2.1" />
|
||||||
<plugin name="cordova-plugin-whitelist" spec="~1.3.0" />
|
<plugin name="cordova-plugin-whitelist" spec="~1.3.0" />
|
||||||
<plugin name="cordova-plugin-wkwebview-engine" spec="https://github.com/driftyco/cordova-plugin-wkwebview-engine.git#4221015eb3f309fe593a7d81205b691e27088743" />
|
<plugin name="cordova-plugin-wkwebview-engine" spec="https://github.com/driftyco/cordova-plugin-wkwebview-engine.git#4221015eb3f309fe593a7d81205b691e27088743" />
|
||||||
<plugin name="cordova-plugin-qrscanner" spec="~2.4.0" />
|
<plugin name="cordova-plugin-qrscanner" spec="~2.5.0" />
|
||||||
<plugin name="cordova-plugin-customurlscheme" spec="https://github.com/cmgustavo/Custom-URL-scheme.git">
|
<plugin name="cordova-plugin-customurlscheme" spec="https://github.com/cmgustavo/Custom-URL-scheme.git">
|
||||||
<variable name="URL_SCHEME" value="bitcoin" />
|
<variable name="URL_SCHEME" value="bitcoin" />
|
||||||
<variable name="SECOND_URL_SCHEME" value="*APPURI*" />
|
<variable name="SECOND_URL_SCHEME" value="*APPURI*" />
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin name="cordova-custom-config" spec="~3.0.5" />
|
<plugin name="cordova-custom-config" spec="~3.0.5" />
|
||||||
<plugin name="cordova-plugin-queries-schemes" spec="~0.1.5" />
|
<plugin name="cordova-plugin-queries-schemes" spec="~0.1.5" />
|
||||||
|
|
||||||
<plugin name="cordova-plugin-fcm" spec="2.1.1" />
|
<plugin name="cordova-plugin-fcm" spec="2.1.1" />
|
||||||
|
<plugin name="cordova-plugin-winstore-jscompat" spec="https://github.com/gabrielbazan7/cordova-plugin-winstore-jscompat.git" />
|
||||||
|
|
||||||
<!-- Supported Platforms -->
|
<!-- Supported Platforms -->
|
||||||
<engine name="ios" spec="~4.2.1" />
|
<engine name="ios" spec="~4.2.1" />
|
||||||
<engine name="android" spec="~5.2.2" />
|
<engine name="android" spec="~5.2.2" />
|
||||||
<!-- <engine name="windows" spec="~4.4.2" /> -->
|
<engine name="windows" spec="~4.4.3" />
|
||||||
|
|
||||||
<!-- Platform Specific Settings -->
|
<!-- Platform Specific Settings -->
|
||||||
<platform name="ios">
|
<platform name="ios">
|
||||||
|
|
|
||||||
|
|
@ -55,12 +55,12 @@
|
||||||
"angular-mocks": "1.4.10",
|
"angular-mocks": "1.4.10",
|
||||||
"bezier-easing": "^2.0.3",
|
"bezier-easing": "^2.0.3",
|
||||||
"bhttp": "^1.2.1",
|
"bhttp": "^1.2.1",
|
||||||
"bitauth": "^0.3.2",
|
"bitauth": "git@github.com:gabrielbazan7/bitauth.git#copay",
|
||||||
"bitcore-wallet-client": "5.0.0",
|
"bitcore-wallet-client": "5.0.0",
|
||||||
"bower": "^1.7.9",
|
"bower": "^1.7.9",
|
||||||
"cordova-android": "5.1.1",
|
"cordova-android": "5.1.1",
|
||||||
"cordova-custom-config": "^3.0.5",
|
"cordova-custom-config": "^3.0.5",
|
||||||
"cordova-plugin-qrscanner": "^2.3.1",
|
"cordova-plugin-qrscanner": "^2.5.0",
|
||||||
"coveralls": "^2.11.9",
|
"coveralls": "^2.11.9",
|
||||||
"express": "^4.11.2",
|
"express": "^4.11.2",
|
||||||
"fs": "0.0.2",
|
"fs": "0.0.2",
|
||||||
|
|
@ -84,12 +84,14 @@
|
||||||
"start": "npm run build:www && ionic serve --nolivereload --nogulp -s",
|
"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: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:android": "npm run build:www && npm run build:android && npm run run:android",
|
||||||
|
"start:windows": "npm run build:www && npm run build:windows",
|
||||||
"start:desktop": "npm start",
|
"start:desktop": "npm start",
|
||||||
"watch": "grunt watch",
|
"watch": "grunt watch",
|
||||||
"build:www": "grunt",
|
"build:www": "grunt",
|
||||||
"build:www-release": "grunt prod",
|
"build:www-release": "grunt prod",
|
||||||
"build:ios": "cordova prepare ios && cordova build ios --debug",
|
"build:ios": "cordova prepare ios && cordova build ios --debug",
|
||||||
"build:android": "cordova prepare android && cordova build android --debug",
|
"build:android": "cordova prepare android && cordova build android --debug",
|
||||||
|
"build:windows": "cordova prepare windows && cordova build windows -- --arch=\"x86\"",
|
||||||
"build:ios-release": "cordova prepare ios && cordova build ios --release",
|
"build:ios-release": "cordova prepare ios && cordova build ios --release",
|
||||||
"build:android-release": "cordova prepare android && cordova build android --release",
|
"build:android-release": "cordova prepare android && cordova build android --release",
|
||||||
"build:desktop": "grunt desktop",
|
"build:desktop": "grunt desktop",
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,46 +0,0 @@
|
||||||
<!--
|
|
||||||
Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
or more contributor license agreements. See the NOTICE file
|
|
||||||
distributed with this work for additional information
|
|
||||||
regarding copyright ownership. The ASF licenses this file
|
|
||||||
to you under the Apache License, Version 2.0 (the
|
|
||||||
"License"); you may not use this file except in compliance
|
|
||||||
with the License. You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing,
|
|
||||||
software distributed under the License is distributed on an
|
|
||||||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, either express or implied. See the License for the
|
|
||||||
specific language governing permissions and limitations
|
|
||||||
under the License.
|
|
||||||
-->
|
|
||||||
<phone:PhoneApplicationPage
|
|
||||||
x:Class="com.bitpay.copay.MainPage"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
|
|
||||||
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
|
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
mc:Ignorable="d" FontFamily="{StaticResource PhoneFontFamilyNormal}"
|
|
||||||
FontSize="{StaticResource PhoneFontSizeNormal}"
|
|
||||||
Foreground="{StaticResource PhoneForegroundBrush}"
|
|
||||||
Background="Black"
|
|
||||||
SupportedOrientations="Portrait" Orientation="Portrait"
|
|
||||||
shell:SystemTray.IsVisible="True" d:DesignHeight="768" d:DesignWidth="480"
|
|
||||||
xmlns:my="clr-namespace:WPCordovaClassLib">
|
|
||||||
<Grid x:Name="LayoutRoot" Background="Transparent">
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="*" />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
<my:CordovaView
|
|
||||||
HorizontalAlignment="Stretch"
|
|
||||||
Margin="1,0,0,0"
|
|
||||||
x:Name="CordovaView"
|
|
||||||
VerticalAlignment="Stretch" />
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</phone:PhoneApplicationPage>
|
|
||||||
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
<!--
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
>
|
|
||||||
<Deployment.Parts>
|
|
||||||
</Deployment.Parts>
|
|
||||||
</Deployment>
|
|
||||||
|
|
@ -1,52 +0,0 @@
|
||||||
/*
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
using System.Resources;
|
|
||||||
|
|
||||||
// General Information about an assembly is controlled through the following
|
|
||||||
// set of attributes. Change these attribute values to modify the information
|
|
||||||
// associated with an assembly.
|
|
||||||
[assembly: AssemblyTitle("CordovaAppProj")]
|
|
||||||
[assembly: AssemblyDescription("2.0.0.0")]
|
|
||||||
[assembly: AssemblyConfiguration("")]
|
|
||||||
[assembly: AssemblyCompany("Apache Cordova")]
|
|
||||||
[assembly: AssemblyProduct("CordovaAppProj")]
|
|
||||||
[assembly: AssemblyCopyright("Copyright © Apache Cordova 2013")]
|
|
||||||
[assembly: AssemblyTrademark("Apache Cordova")]
|
|
||||||
[assembly: AssemblyCulture("")]
|
|
||||||
|
|
||||||
|
|
||||||
[assembly: NeutralResourcesLanguageAttribute("en-US")]
|
|
||||||
|
|
||||||
// Setting ComVisible to false makes the types in this assembly not visible
|
|
||||||
// to COM components. If you need to access a type in this assembly from
|
|
||||||
// COM, set the ComVisible attribute to true on that type.
|
|
||||||
[assembly: ComVisible(false)]
|
|
||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
||||||
[assembly: Guid("9e27b972-0825-4386-ba17-63c695262c3d")]
|
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
|
||||||
//
|
|
||||||
// Major Version
|
|
||||||
// Minor Version
|
|
||||||
// Build Number
|
|
||||||
// Revision
|
|
||||||
//
|
|
||||||
// You can specify all the values or you can default the Revision and Build Numbers
|
|
||||||
// by using the '*' as shown below:
|
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
||||||
|
|
@ -1,49 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Deployment AppPlatformVersion="8.1" xmlns="http://schemas.microsoft.com/windowsphone/2014/deployment">
|
|
||||||
<DefaultLanguage code="en-US" xmlns="" />
|
|
||||||
<Languages xmlns="">
|
|
||||||
<Language code="en-US" />
|
|
||||||
<Language code="fr" />
|
|
||||||
<Language code="de" />
|
|
||||||
<Language code="ja" />
|
|
||||||
<Language code="es" />
|
|
||||||
<Language code="ru" />
|
|
||||||
<Language code="pl" />
|
|
||||||
<Language code="cs" />
|
|
||||||
</Languages>
|
|
||||||
<App Author="Bitpay Inc." BitsPerPixel="32" Description="A multisignature Bitcoin Wallet" Genre="apps.normal" ProductID="{5381aa50-9069-11e4-84cc-293caf9cbdc8}" Publisher="Copay Bitcoin Wallet" PublisherID="{31cdd08b-457c-413d-b440-f6665eec847d}" RuntimeType="Silverlight" Title="Copay Bitcoin Wallet" Version="2.5.0.0" xmlns="" NotificationService="MPN">
|
|
||||||
<IconPath IsRelative="true" IsResource="false">Assets\icon@2.png</IconPath>
|
|
||||||
<Capabilities>
|
|
||||||
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
|
|
||||||
<Capability Name="ID_CAP_NETWORKING" />
|
|
||||||
<Capability Name="ID_CAP_ISV_CAMERA" />
|
|
||||||
<Capability Name="ID_CAP_IDENTITY_DEVICE" />
|
|
||||||
</Capabilities>
|
|
||||||
<Tasks>
|
|
||||||
<DefaultTask Name="_default" NavigationPage="MainPage.xaml" />
|
|
||||||
</Tasks>
|
|
||||||
<Tokens>
|
|
||||||
<PrimaryToken TaskName="_default" TokenID="CopayToken">
|
|
||||||
<TemplateFlip>
|
|
||||||
<SmallImageURI IsRelative="true" IsResource="false">Assets\200x200@1.png</SmallImageURI>
|
|
||||||
<Count>0</Count>
|
|
||||||
<BackgroundImageURI IsRelative="true" IsResource="false">Assets\200x200@2.png</BackgroundImageURI>
|
|
||||||
<Title>Copay Bitcoin Wallet</Title>
|
|
||||||
<BackContent />
|
|
||||||
<BackBackgroundImageURI />
|
|
||||||
<BackTitle />
|
|
||||||
<LargeBackgroundImageURI />
|
|
||||||
<LargeBackContent />
|
|
||||||
<LargeBackBackgroundImageURI />
|
|
||||||
<DeviceLockImageURI />
|
|
||||||
<HasLarge>false</HasLarge>
|
|
||||||
</TemplateFlip>
|
|
||||||
</PrimaryToken>
|
|
||||||
</Tokens>
|
|
||||||
<ScreenResolutions>
|
|
||||||
<ScreenResolution Name="ID_RESOLUTION_WVGA" />
|
|
||||||
<ScreenResolution Name="ID_RESOLUTION_WXGA" />
|
|
||||||
<ScreenResolution Name="ID_RESOLUTION_HD720P" />
|
|
||||||
</ScreenResolutions>
|
|
||||||
</App>
|
|
||||||
</Deployment>
|
|
||||||
|
|
@ -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
|
|
||||||
BIN
resources/bitpay/windows/app-store/icon-300x300.png
Normal file
BIN
resources/bitpay/windows/app-store/icon-300x300.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 65 KiB |
|
|
@ -1100,7 +1100,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
||||||
if (screen.width < 768 && platformInfo.isCordova)
|
if (screen.width < 768 && platformInfo.isCordova)
|
||||||
screen.lockOrientation('portrait');
|
screen.lockOrientation('portrait');
|
||||||
|
|
||||||
if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
|
if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard && !platformInfo.isWP) {
|
||||||
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
|
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
|
||||||
cordova.plugins.Keyboard.disableScroll(true);
|
cordova.plugins.Keyboard.disableScroll(true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue