diff --git a/app/config.json b/app/config.json index 0f098e97ff3b3efbcf2a4e106e70b60a09a0fbb9..3e7040179fd101407d86c03cc7a6196b54924d2f 100644 --- a/app/config.json +++ b/app/config.json @@ -19,16 +19,14 @@ "ucoin-fr": { "APP_CONFIG": { - "UCOIN_NODE": "metab.ucoin.fr", - "UCOIN_NODE_WS": "metab.ucoin.fr:9201", + "UCOIN_NODE": "twiced.fr:9330", "UCOIN_NODE_ES": "es.ucoin.fr" } }, "dev": { "APP_CONFIG": { - "UCOIN_NODE": "192.168.0.5:9201", - "UCOIN_NODE_WS": "192.168.0.5:9201", + "UCOIN_NODE": "twiced.fr:9330", "UCOIN_NODE_ES": "192.168.0.5:9200" } } diff --git a/config.xml b/config.xml index d015970d8509e10f3053b9d7f9b7a59aaa347883..3a91ad31cae947644c10895b4f7a3c8493163896 100644 --- a/config.xml +++ b/config.xml @@ -39,10 +39,33 @@ <splash src="resources/android/splash/drawable-port-xxhdpi-screen.png" density="port-xxhdpi"/> <splash src="resources/android/splash/drawable-port-xxxhdpi-screen.png" density="port-xxxhdpi"/> </platform> - - <!-- A wildcard can be used to whitelist the entire network, - over HTTP and HTTPS. - *NOT RECOMMENDED* - see https://github.com/apache/cordova-plugin-whitelist - --> - <allow-navigation href="*" /> -</widget> + <platform name="ios"> + <icon src="resources/ios/icon/icon.png" width="57" height="57"/> + <icon src="resources/ios/icon/icon@2x.png" width="114" height="114"/> + <icon src="resources/ios/icon/icon-40.png" width="40" height="40"/> + <icon src="resources/ios/icon/icon-40@2x.png" width="80" height="80"/> + <icon src="resources/ios/icon/icon-50.png" width="50" height="50"/> + <icon src="resources/ios/icon/icon-50@2x.png" width="100" height="100"/> + <icon src="resources/ios/icon/icon-60.png" width="60" height="60"/> + <icon src="resources/ios/icon/icon-60@2x.png" width="120" height="120"/> + <icon src="resources/ios/icon/icon-60@3x.png" width="180" height="180"/> + <icon src="resources/ios/icon/icon-72.png" width="72" height="72"/> + <icon src="resources/ios/icon/icon-72@2x.png" width="144" height="144"/> + <icon src="resources/ios/icon/icon-76.png" width="76" height="76"/> + <icon src="resources/ios/icon/icon-76@2x.png" width="152" height="152"/> + <icon src="resources/ios/icon/icon-small.png" width="29" height="29"/> + <icon src="resources/ios/icon/icon-small@2x.png" width="58" height="58"/> + <icon src="resources/ios/icon/icon-small@3x.png" width="87" height="87"/> + <splash src="resources/ios/splash/Default-568h@2x~iphone.png" height="1136" width="640"/> + <splash src="resources/ios/splash/Default-667h.png" height="1334" width="750"/> + <splash src="resources/ios/splash/Default-736h.png" height="2208" width="1242"/> + <splash src="resources/ios/splash/Default-Landscape-736h.png" height="1242" width="2208"/> + <splash src="resources/ios/splash/Default-Landscape@2x~ipad.png" height="1536" width="2048"/> + <splash src="resources/ios/splash/Default-Landscape~ipad.png" height="768" width="1024"/> + <splash src="resources/ios/splash/Default-Portrait@2x~ipad.png" height="2048" width="1536"/> + <splash src="resources/ios/splash/Default-Portrait~ipad.png" height="1024" width="768"/> + <splash src="resources/ios/splash/Default@2x~iphone.png" height="960" width="640"/> + <splash src="resources/ios/splash/Default~iphone.png" height="480" width="320"/> + </platform> + <allow-navigation href="*"/> +</widget> \ No newline at end of file diff --git a/package.json b/package.json index 0636f959d6b63123423880d9c548afc4e05ce7b7..cff1ef72bdb44f0d7fc6c8de773677763b3a518f 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "cordova-plugin-device" ], "cordovaPlatforms": [ - "android" + "android", + "ios" ] } diff --git a/www/js/config.js b/www/js/config.js index 9417b3aca07b3097e0762dbef495541a0d8f9818..ed674fbca9751a043aaa2d385d6b18ab6a4b582a 100644 --- a/www/js/config.js +++ b/www/js/config.js @@ -10,8 +10,9 @@ angular.module("cesium.config", []) .constant("APP_CONFIG", { "UCOIN_NODE": "twiced.fr:9330", + "UCOIN_NODE_ES": "es.ucoin.fr", "VERSION": "0.0.1", - "BUILD_DATE": "2016-04-06T17:25:44.944Z" + "BUILD_DATE": "2016-04-07T10:31:33.206Z" }) ; \ No newline at end of file diff --git a/www/js/controllers/currency-controllers.js b/www/js/controllers/currency-controllers.js index 7c8bed42b7170be8234be806b03d63b5aebbc10c..c8c997adf46086522d5d7a11de703ace1547768b 100644 --- a/www/js/controllers/currency-controllers.js +++ b/www/js/controllers/currency-controllers.js @@ -46,7 +46,7 @@ angular.module('cesium.currency.controllers', ['cesium.services']) function CurrenciesController($scope, $state) { $scope.selectedCurrency = ''; - $scope.knownCurrencies = ['meta_brouzouf']; + $scope.knownCurrencies = ['super_currency']; // Called to navigate to the main app $scope.selectCurrency = function(currency) { @@ -66,7 +66,7 @@ function ExploreController($scope, $rootScope, $state, BMA, $q, UIUtils, $interv $scope.accountTypeMember = null; $scope.accounts = []; $scope.search = { text: '', results: {} }; - $scope.knownCurrencies = ['meta_brouzouf']; + $scope.knownCurrencies = ['super_currency']; $scope.formData = { useRelative: false }; $scope.knownBlocks = []; $scope.entered = false; diff --git a/www/js/services/wallet-services.js b/www/js/services/wallet-services.js index 817b6e455545ee93b6775a6bcd0b2fb521e8cd9e..dca10a581197878a2676155ac7dfc97b1df41372 100644 --- a/www/js/services/wallet-services.js +++ b/www/js/services/wallet-services.js @@ -346,7 +346,7 @@ angular.module('cesium.wallet.services', ['ngResource', 'cesium.bma.services', ' } if (sourceAmount < amount) { - reject('Not enought sources (max amount: ' + reject('Not enough sources (max amount: ' +(data.useRelative ? (sourceAmount / data.currentUD)+' UD' : sourceAmount) +'). Please wait next block computation.'); return; diff --git a/www/templates/explore/tabs/explore_tab_currency.html b/www/templates/explore/tabs/explore_tab_currency.html index eac77ffd50b4d11cdd639a63e1d2503a7daae905..e453f4dec2aec93bf085f51f0686dc961eb3de46 100644 --- a/www/templates/explore/tabs/explore_tab_currency.html +++ b/www/templates/explore/tabs/explore_tab_currency.html @@ -4,7 +4,7 @@ <a href="#" class="item item-icon-left"> <i class="icon ion-android-bookmark"></i> <span translate>CURRENCY.VIEW.CURRENCY_NAME</span> - <span class="item-note">{{selectedCurrency}} meta_brouzouf ({{unit | abbreviate}}<sub>{{udUnit | abbreviate}}</sub>)</span> + <span class="item-note">{{selectedCurrency}} super_currency ({{unit | abbreviate}}<sub>{{udUnit | abbreviate}}</sub>)</span> </a> <a class="item item-icon-left" href="#"> @@ -90,4 +90,4 @@ <span translate>CURRENCY.VIEW.UD</span> <span class="item-note">MAX(UD<sub>t-1</sub>, c*M/N)</span> </a> - </div> \ No newline at end of file + </div>