From b3641cf445644100874a0b1e97b7eb5e2c59ae0b Mon Sep 17 00:00:00 2001 From: Brendon Duncan Date: Wed, 12 Sep 2018 20:14:02 +1200 Subject: [PATCH] New package name. --- README.md | 2 +- app-template/bitcoincom/appConfig.json | 2 +- app-template/bitcoincom/google-services.json | 41 +++++++++++++++++++- app-template/config-template.xml | 2 +- src/js/services/configService.js | 2 +- 5 files changed, 44 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 56ae84eab..3bb39d05a 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ For a list of frequently asked questions please visit the [Bitcoin.com Wallet FA - Push notifications (only available for ios and android versions) - Customizable wallet naming and background colors - Multiple languages supported -- Available for [iOS](https://itunes.apple.com/us/app/bitcoin-wallet-by-bitcoin-com/id1252903728?ls=1), [Android](https://play.google.com/store/apps/details?id=com.bitcoin.mwallet), [Linux](https://www.bitcoin.com/api/rv/click?p=2&b=435&z=6&c=be81fd753f&dest=https://github.com/Bitcoin-com/Wallet/releases/download/4.0.4/bitcoin-com-wallet-4.0.4-linux-x64.tar.gz), [Windows](https://www.bitcoin.com/api/rv/click?p=2&b=435&z=6&c=be81fd753f&dest=https://github.com/Bitcoin-com/Wallet/releases/download/4.0.4/bitcoin-com-wallet-4.0.4-win-x64.zip) and [OS X](https://www.bitcoin.com/api/rv/click?p=2&b=435&z=6&c=be81fd753f&dest=https://github.com/Bitcoin-com/Wallet/releases/download/4.0.4/bitcoin-com-wallet-4.0.4-osx.dmg) devices +- Available for [iOS](https://itunes.apple.com/us/app/bitcoin-wallet-by-bitcoin-com/id1252903728?ls=1), [Android](https://play.google.com/store/apps/details?id=com.bitcoin.wallet), [Linux](https://www.bitcoin.com/api/rv/click?p=2&b=435&z=6&c=be81fd753f&dest=https://github.com/Bitcoin-com/Wallet/releases/download/4.0.4/bitcoin-com-wallet-4.0.4-linux-x64.tar.gz), [Windows](https://www.bitcoin.com/api/rv/click?p=2&b=435&z=6&c=be81fd753f&dest=https://github.com/Bitcoin-com/Wallet/releases/download/4.0.4/bitcoin-com-wallet-4.0.4-win-x64.zip) and [OS X](https://www.bitcoin.com/api/rv/click?p=2&b=435&z=6&c=be81fd753f&dest=https://github.com/Bitcoin-com/Wallet/releases/download/4.0.4/bitcoin-com-wallet-4.0.4-osx.dmg) devices ## Building the wallet You don't need to run npm install, run apply:bitcoincom instead diff --git a/app-template/bitcoincom/appConfig.json b/app-template/bitcoincom/appConfig.json index c65f67248..37a585922 100644 --- a/app-template/bitcoincom/appConfig.json +++ b/app-template/bitcoincom/appConfig.json @@ -1,7 +1,7 @@ { "packageName": "bitcoin.com", "packageDescription": "Bitcoin.com Wallet", - "packageNameId": "com.bitcoin.mwallet", + "packageNameId": "com.bitcoin.wallet", "userVisibleName": "Bitcoin.com Wallet", "purposeLine": "Bitcoin.com Wallet", "bundleName": "bitcoincom", diff --git a/app-template/bitcoincom/google-services.json b/app-template/bitcoincom/google-services.json index c29523051..32735209f 100644 --- a/app-template/bitcoincom/google-services.json +++ b/app-template/bitcoincom/google-services.json @@ -42,6 +42,14 @@ { "client_id": "432300239540-aeh6b8eebnkgq0e3tv0g0a0t1qhkhhcc.apps.googleusercontent.com", "client_type": 3 + }, + { + "client_id": "432300239540-qfr4lk43b0134fgijqp7mk138lifjnki.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "com.bitcoin.mwallet", + "app_store_id": "1252903728" + } } ] }, @@ -49,7 +57,38 @@ "status": 2 } } + }, + { + "client_info": { + "mobilesdk_app_id": "1:432300239540:android:3be699f352c30a45", + "android_client_info": { + "package_name": "com.bitcoin.wallet" + } + }, + "oauth_client": [ + { + "client_id": "432300239540-aeh6b8eebnkgq0e3tv0g0a0t1qhkhhcc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDphC3flCVFFOENAy9tMgOUFxC6_H8JWMs" + } + ], + "services": { + "analytics_service": { + "status": 1 + }, + "appinvite_service": { + "status": 1, + "other_platform_oauth_client": [] + }, + "ads_service": { + "status": 2 + } + } } ], "configuration_version": "1" -} +} \ No newline at end of file diff --git a/app-template/config-template.xml b/app-template/config-template.xml index 2f8e3db04..44f57301c 100644 --- a/app-template/config-template.xml +++ b/app-template/config-template.xml @@ -1,5 +1,5 @@ - diff --git a/src/js/services/configService.js b/src/js/services/configService.js index 72cc4825f..b48f701a8 100644 --- a/src/js/services/configService.js +++ b/src/js/services/configService.js @@ -51,7 +51,7 @@ angular.module('copayApp.services').factory('configService', function(storageSer }, bitcoincom: { ios: 'http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=1252903728&pageNumber=0&sortOrdering=2&type=Purple+Software&mt=8', - android: 'https://play.google.com/store/apps/details?id=com.bitcoin.mwallet', + android: 'https://play.google.com/store/apps/details?id=com.bitcoin.wallet', wp: '' } },