build(cordova): build with new app assets
This commit is contained in:
parent
3068fc31f4
commit
be1648e488
13 changed files with 116 additions and 113 deletions
|
|
@ -117,16 +117,5 @@ function copyDir(from, to, cb) {
|
|||
|
||||
|
||||
copyDir(configDir + '/img/', '../www/img/', function() {
|
||||
copyDir(configDir + '/androidRes/', '../cordova/android/res/', function() {
|
||||
copyDir(configDir + '/iosIcons/', '../cordova/ios/icons/', function() {
|
||||
copyDir(configDir + '/iosSplash/', '../cordova/ios/splash/', function() {
|
||||
copyDir(configDir + '/wpAssets/', '../cordova/wp/Assets/', function() {
|
||||
copyDir(configDir + '/wpImg/', '../cordova/wp/', function() {
|
||||
// TODO WP
|
||||
console.log("apply.js finished. \n\n");
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
console.log("apply.js finished. \n\n");
|
||||
});
|
||||
|
|
|
|||
30
app-template/bitpay/appConfig.json
Normal file
30
app-template/bitpay/appConfig.json
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"packageName": "bitpay",
|
||||
"packageDescription": "Secure Bitcoin Wallet",
|
||||
"userVisibleName": "BitPay",
|
||||
"purposeLine": "Secure Bitcoin Wallet",
|
||||
"bundleName": "wallet",
|
||||
"appUri": "bitpay",
|
||||
|
||||
"name": "bitpay",
|
||||
"nameNoSpace": "bitpay",
|
||||
"nameCase": "BitPay",
|
||||
"nameCaseNoSpace": "BitPay",
|
||||
"gitHubRepoName": "bitpay-wallet",
|
||||
"disclaimerUrl": "",
|
||||
"url": "https://bitpay.com",
|
||||
"appDescription": "Secure Bitcoin Storage",
|
||||
"winAppName": "BitPayWallet",
|
||||
"wpPublisherId": "{}",
|
||||
"wpProductId": "{}",
|
||||
"description": "Secure Bitcoin Storage",
|
||||
"version": "0.14.0",
|
||||
"androidVersion": "1",
|
||||
"_extraCSS": null,
|
||||
"_enabledExtensions": {
|
||||
"coinbase": true,
|
||||
"glidera": true,
|
||||
"debitcard": true,
|
||||
"amazon": true
|
||||
}
|
||||
}
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 8.3c.6.1.8.1.9.1.2.1.4.1.6.1z" fill="#FFF"/></svg>
|
||||
|
After Width: | Height: | Size: 2 KiB |
1
app-template/bitpay/img/logo.svg
Normal file
1
app-template/bitpay/img/logo.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="252.5 17 185 64"><path d="M437.6 32.1H428l-5.6 23.4-.8 3.1c-.6.2-1 .2-1.7.4-1 .2-1.9.2-2.9.2-1.3 0-2.1-.2-2.9-.6-.6-.4-1.3-.8-1.5-1.5-.2-.6-.4-1.5-.4-2.3s.2-1.9.4-2.7l2.9-12.2 1.9-8.1h-9.8l-4.5 18.7c-.6 2.3-.8 4.5-.8 6.4 0 2.1.2 3.8.8 5.3.6 1.5 1.9 2.7 3.6 3.6 1.7.8 4.1 1.3 7 1.3 2.1 0 4.1-.2 5.6-.6h.2c-.4 1.9-1.3 3.4-2.7 4.7-1.5 1.3-3.4 1.9-6.2 1.9-1 0-2.3 0-3.1-.2l-2 7.9c1.3.2 2.7.2 4.3.2 2.9 0 5.6-.4 7.7-1 2.1-.6 4.1-1.7 5.8-2.9 1.5-1.3 2.9-2.9 4.1-5.1 1-2.1 1.9-4.5 2.5-7.2l6.6-27.8 1.1-4.9zM397.4 52c-.6 2.3-.8 4.9-.6 7.4.2 2.5 1.3 6.2 2.1 8.1h-9.3c-1-1.9-1-2.7-1.3-3.4-1.3 1-2.5 1.7-4.1 2.3-1.5.6-2.9 1-4.9 1-2.1 0-4.1-.4-5.6-1s-2.7-1.7-3.8-2.9c-1-1.3-1.7-2.7-2.1-4.5s-.6-3.4-.6-5.6c0-2.9.6-5.8 1.5-8.3 1-2.5 2.5-4.9 4.5-6.8 1.9-1.9 6.4-6.4 13.8-6.4h14.9L397.4 52zm-6.8-11.8c-4.5 0-5.3 0-7.2.8-1.3.6-2.3 1.7-3.4 2.9-.8 1-1.7 2.5-2.3 4.1-.6 1.5-.8 3.1-.8 4.9 0 2.1.4 3.6 1 4.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-4.1-.8-1.5-.4-2.7-.8-4.1-1.5l11.1-46.6 10-1.5-4.1 16.6c.8-.4 1.7-.6 2.5-.8 1.8-.8 2.6-.8 3.7-.8zm-8.5 27.6c1.5 0 2.9-.4 4.3-1s2.5-1.7 3.4-2.9c1-1.3 1.7-2.5 2.3-4.1s.8-3.1.8-4.9c0-2.1-.4-3.6-1-4.9-.6-1-2.1-1.7-4.1-1.7-.6 0-1.3 0-2.1.2-1 .2-1.7.6-2.5 1.3L264 59.4c1.3.2 1.7.2 1.9.2.3.1.8.1 1.2.1z" fill="#002855"/></svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
|
|
@ -62,22 +62,83 @@
|
|||
<!-- Supported Platforms -->
|
||||
<engine name="ios" spec="~4.2.1" />
|
||||
<engine name="android" spec="~5.2.2" />
|
||||
<engine name="wp8" spec="~3.8.2" />
|
||||
|
||||
<!-- Platform Specific Settings -->
|
||||
<platform name="ios">
|
||||
<!-- <hook type="after_prepare" src="util/hooks/ios/add-custom-urls-to-plist.js" />
|
||||
<hook type="after_prepare" src="util/hooks/ios/add-uistatusbarhidden-to-plist.js" /> -->
|
||||
|
||||
<!-- <icon src="resources/bitpay/ios/icon-60@3x.png" width="180" height="180" />
|
||||
<icon src="resources/bitpay/ios/icon-60.png" width="60" height="60" />
|
||||
<icon src="resources/bitpay/ios/icon-60@2x.png" width="120" height="120" />
|
||||
<icon src="resources/bitpay/ios/icon-76.png" width="76" height="76" />
|
||||
<icon src="resources/bitpay/ios/icon-76@2x.png" width="152" height="152" />
|
||||
<icon src="resources/bitpay/ios/icon-40.png" width="40" height="40" />
|
||||
<icon src="resources/bitpay/ios/icon-40@2x.png" width="80" height="80" />
|
||||
<icon src="resources/bitpay/ios/icon.png" width="57" height="57" />
|
||||
<icon src="resources/bitpay/ios/icon@2x.png" width="114" height="114" />
|
||||
<icon src="resources/bitpay/ios/icon-72.png" width="72" height="72" />
|
||||
<icon src="resources/bitpay/ios/icon-72@2x.png" width="144" height="144" />
|
||||
<icon src="resources/bitpay/ios/icon-small.png" width="29" height="29" />
|
||||
<icon src="resources/bitpay/ios/icon-small@2x.png" width="58" height="58" />
|
||||
<icon src="resources/bitpay/ios/icon-50.png" width="50" height="50" />
|
||||
<icon src="resources/bitpay/ios/icon-50@2x.png" width="100" height="100" /> -->
|
||||
|
||||
|
||||
<splash src="resources/bitpay/ios/splash/Default~iphone.png" width="320" height="480"/>
|
||||
<splash src="resources/bitpay/ios/splash/Default@2x~iphone.png" width="640" height="960"/>
|
||||
<splash src="resources/bitpay/ios/splash/Default-Portrait~ipad.png" width="768" height="1024"/>
|
||||
<splash src="resources/bitpay/ios/splash/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
|
||||
<splash src="resources/bitpay/ios/splash/Default-Landscape~ipad.png" width="1024" height="768"/>
|
||||
<splash src="resources/bitpay/ios/splash/Default-Landscape@2x~ipad.png" width="2048" height="1536"/>
|
||||
<splash src="resources/bitpay/ios/splash/Default-568h@2x~iphone.png" width="640" height="1136"/>
|
||||
<splash src="resources/bitpay/ios/splash/Default-667h.png" width="750" height="1334"/>
|
||||
<splash src="resources/bitpay/ios/splash/Default-736h.png" width="1242" height="2208"/>
|
||||
<splash src="resources/bitpay/ios/splash/Default-Landscape-736h.png" width="2208" height="1242"/>
|
||||
</platform>
|
||||
|
||||
<platform name="android">
|
||||
<hook type="after_prepare" src="util/hooks/android/add-custom-urls-to-android-manifest.js" />
|
||||
<hook type="after_prepare" src="util/hooks/android/prohibit-cloud-backups-in-android-manifest.js" />
|
||||
<!-- https://github.com/phonegap/phonegap-plugin-push/issues/424 -->
|
||||
|
||||
<!-- <icon src="resources/bitpay/android/icons/ldpi.png" density="ldpi" />
|
||||
<icon src="resources/bitpay/android/icons/mdpi.png" density="mdpi" />
|
||||
<icon src="resources/bitpay/android/icons/hdpi.png" density="hdpi" />
|
||||
<icon src="resources/bitpay/android/icons/xhdpi.png" density="xhdpi" />
|
||||
<icon src="resources/bitpay/android/icons/xxhdpi.png" density="xxhdpi" />
|
||||
<icon src="resources/bitpay/android/icons/xxxhdpi.png" density="xxxhdpi" /> -->
|
||||
|
||||
<splash src="resources/bitpay/android/splash/drawable-land-hdpi-screen.png" density="land-hdpi"/>
|
||||
<splash src="resources/bitpay/android/splash/drawable-land-ldpi-screen.png" density="land-ldpi"/>
|
||||
<splash src="resources/bitpay/android/splash/drawable-land-mdpi-screen.png" density="land-mdpi"/>
|
||||
<splash src="resources/bitpay/android/splash/drawable-land-xhdpi-screen.png" density="land-xhdpi"/>
|
||||
<splash src="resources/bitpay/android/splash/drawable-land-xxhdpi-screen.png" density="land-xxhdpi"/>
|
||||
<splash src="resources/bitpay/android/splash/drawable-land-xxxhdpi-screen.png" density="land-xxxhdpi"/>
|
||||
|
||||
<splash src="resources/bitpay/android/splash/drawable-port-hdpi-screen.png" density="port-hdpi"/>
|
||||
<splash src="resources/bitpay/android/splash/drawable-port-ldpi-screen.png" density="port-ldpi"/>
|
||||
<splash src="resources/bitpay/android/splash/drawable-port-mdpi-screen.png" density="port-mdpi"/>
|
||||
<splash src="resources/bitpay/android/splash/drawable-port-xhdpi-screen.png" density="port-xhdpi"/>
|
||||
<splash src="resources/bitpay/android/splash/drawable-port-xxhdpi-screen.png" density="port-xxhdpi"/>
|
||||
<splash src="resources/bitpay/android/splash/drawable-port-xxxhdpi-screen.png" density="port-xxxhdpi"/>
|
||||
</platform>
|
||||
|
||||
<platform name="wp8">
|
||||
<plugin name="phonegap-plugin-barcodescanner" spec="https://github.com/jrontend/phonegap-plugin-barcodescanner" />
|
||||
</platform>
|
||||
|
||||
<platform name="windows">
|
||||
<!-- <icon src="resources/bitpay/windows/icons/storelogo.png" target="StoreLogo" />
|
||||
<icon src="resources/bitpay/windows/icons/smalllogo.png" target="Square30x30Logo" />
|
||||
<icon src="resources/bitpay/windows/icons/Square44x44Logo.png" target="Square44x44Logo" />
|
||||
<icon src="resources/bitpay/windows/icons/Square70x70Logo.png" target="Square70x70Logo" />
|
||||
<icon src="resources/bitpay/windows/icons/Square71x71Logo.png" target="Square71x71Logo" />
|
||||
<icon src="resources/bitpay/windows/icons/Square150x150Logo.png" target="Square150x150Logo" />
|
||||
<icon src="resources/bitpay/windows/icons/Square310x310Logo.png" target="Square310x310Logo" />
|
||||
<icon src="resources/bitpay/windows/icons/Wide310x150Logo.png" target="Wide310x150Logo" /> -->
|
||||
|
||||
<splash src="resources/bitpay/windows/splash/splashscreen.png" width="620" height="300"/>
|
||||
<splash src="resources/bitpay/windows/splash/splashscreenphone.png" width="1152" height="1920"/>
|
||||
</platform>
|
||||
|
||||
</widget>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
{
|
||||
"packageName": "copay",
|
||||
"packageDescription": "Copay Bitcoin Wallet",
|
||||
"userVisibleName": "Copay",
|
||||
"purposeLine": "Copay Bitcoin Wallet",
|
||||
"appUri": "copay",
|
||||
|
||||
"name": "copay",
|
||||
"nameNoSpace": "copay",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue