From 4d38daf86567d436361f23180b8ce61926fb97e0 Mon Sep 17 00:00:00 2001 From: tomdurrent Date: Tue, 24 Mar 2020 13:16:53 +0800 Subject: [PATCH] for ios review --- docs/android.json | 45 ++++++++++++++++++ docs/default.html | 13 ++++- docs/manifest.json | 3 +- .../release/cash.sero.popup.community.wgt | Bin 1682835 -> 1684092 bytes docs/version.json | 8 ++-- public/android.json | 45 ++++++++++++++++++ public/default.html | 13 ++++- public/version.json | 8 ++-- 8 files changed, 122 insertions(+), 13 deletions(-) create mode 100644 docs/android.json create mode 100644 public/android.json diff --git a/docs/android.json b/docs/android.json new file mode 100644 index 0000000..a5f93d5 --- /dev/null +++ b/docs/android.json @@ -0,0 +1,45 @@ +{ + "zh": { + "docs": { + "version": "1.1.6", + "url": "https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/popup/wgt/1.1.6/cash.sero.popup.community.wgt", + "show": false, + "description": [ + "1. 优化了钱包页面打不开的问题", + "2. 增加了钱包热更新的功能", + "3. 优化了同步区块数据的核心代码", + "4. 优化了同步过程的状态提示", + "5. 在钱包管理界面,增加了修复数据的功能,可对单个账户修复数据", + "6. 删除了开源社区的选择功能", + "7. 优化了助记词导入的功能,自动格式化助记词(去空格和去回车符)。", + "8. 显示了当前账号同步的最新区块高度(为了资产的安全性,钱包同步的区块比主链落后了12个区块)", + "9. 增加了域名节点,自动适配国内外用户", + "10. 增加了钱包启动图" + ] + }, + "dapps": { + } + }, + + "en": { + "docs": { + "version": "1.1.6", + "url": "https://sero-popup.s3-ap-southeast-1.amazonaws.com/wgt/1.1.6/cash.sero.popup.community.wgt", + "show": false, + "description": [ + "1. Optimized the problem that the wallet page cannot be opened", + "2. Added the function of hot wallet update", + "3. Optimized core code for synchronizing block data", + "4. Optimized status prompt for synchronization process", + "5. In the wallet management interface, the function of repairing data has been added, which can repair data for a single account", + "6. Removed the selection function of the open source community", + "7. Optimized the function of importing mnemonics, and automatically format the mnemonics (remove spaces and carriage returns).", + "8. Shows the latest block height of the current account synchronization (for asset security, the wallet synchronized block is 12 blocks behind the main chain)", + "9. Added domain name nodes, automatically adapt to domestic and foreign users", + "10. Added wallet startup image" + ] + }, + "dapps": { + } + } +} diff --git a/docs/default.html b/docs/default.html index 9a785df..8fda666 100644 --- a/docs/default.html +++ b/docs/default.html @@ -32,12 +32,20 @@ } function checkUpdate(wgtVer){ - var checkUrl="https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/popup/version.json"; + var checkUrl="https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/popup/version.json?"+new Date().getTime(); if(!isZH()){ - checkUrl = "http://popup-github.sero.cash/version.json"; + checkUrl = "http://popup-github.sero.cash/version.json?"+new Date().getTime(); } + if(isAndroid){ + checkUrl="https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/popup/android.json?"+new Date().getTime(); + if(!isZH()){ + checkUrl = "http://popup-github.sero.cash/android.json?"+new Date().getTime(); + } + } + console.log(checkUrl); httpGet(checkUrl,function(resp,err){ if(!err){ + console.log(resp); var data= JSON.parse(resp); var _remoteObj = null; if(isZH()){ @@ -45,6 +53,7 @@ }else{ _remoteObj = data["en"]; } + if(wgtVer&&_remoteObj.docs&&(wgtVer!==_remoteObj.docs.version)){ plus.nativeUI.closeWaiting(); downWgt(_remoteObj); diff --git a/docs/manifest.json b/docs/manifest.json index 5068c69..d09cfd3 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -230,7 +230,8 @@ } }, "plugins" : { - "speech" : {} + "speech" : {}, + "ad" : {} } }, "screenOrientation" : [ "portrait-primary" ] diff --git a/docs/unpackage/release/cash.sero.popup.community.wgt b/docs/unpackage/release/cash.sero.popup.community.wgt index 125db863493e94c7a14210eb57685cc8d41f4122..64fb6eab113f95c07bde61e1185a03c8f8e6b78d 100644 GIT binary patch delta 6848 zcma)A2{=@3^uM!Y8T&Hak$tD^Tamq#ttd*7Y=g-%7+Wes3lXYs;*z~0(rEF0A=%nU zi;~Y8`bwJ;2`!ZWy<@JW{{QFsd!E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ce8 100644 --- a/docs/version.json +++ b/docs/version.json @@ -1,9 +1,9 @@ { "zh": { "docs": { - "version": "1.1.6", + "version": "1.1.5", "url": "https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/popup/wgt/1.1.6/cash.sero.popup.community.wgt", - "show": true, + "show": false, "description": [ "1. 优化了钱包页面打不开的问题", "2. 增加了钱包热更新的功能", @@ -23,9 +23,9 @@ "en": { "docs": { - "version": "1.1.6", + "version": "1.1.5", "url": "https://sero-popup.s3-ap-southeast-1.amazonaws.com/wgt/1.1.6/cash.sero.popup.community.wgt", - "show": true, + "show": false, "description": [ "1. Optimized the problem that the wallet page cannot be opened", "2. Added the function of hot wallet update", diff --git a/public/android.json b/public/android.json new file mode 100644 index 0000000..a5f93d5 --- /dev/null +++ b/public/android.json @@ -0,0 +1,45 @@ +{ + "zh": { + "docs": { + "version": "1.1.6", + "url": "https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/popup/wgt/1.1.6/cash.sero.popup.community.wgt", + "show": false, + "description": [ + "1. 优化了钱包页面打不开的问题", + "2. 增加了钱包热更新的功能", + "3. 优化了同步区块数据的核心代码", + "4. 优化了同步过程的状态提示", + "5. 在钱包管理界面,增加了修复数据的功能,可对单个账户修复数据", + "6. 删除了开源社区的选择功能", + "7. 优化了助记词导入的功能,自动格式化助记词(去空格和去回车符)。", + "8. 显示了当前账号同步的最新区块高度(为了资产的安全性,钱包同步的区块比主链落后了12个区块)", + "9. 增加了域名节点,自动适配国内外用户", + "10. 增加了钱包启动图" + ] + }, + "dapps": { + } + }, + + "en": { + "docs": { + "version": "1.1.6", + "url": "https://sero-popup.s3-ap-southeast-1.amazonaws.com/wgt/1.1.6/cash.sero.popup.community.wgt", + "show": false, + "description": [ + "1. Optimized the problem that the wallet page cannot be opened", + "2. Added the function of hot wallet update", + "3. Optimized core code for synchronizing block data", + "4. Optimized status prompt for synchronization process", + "5. In the wallet management interface, the function of repairing data has been added, which can repair data for a single account", + "6. Removed the selection function of the open source community", + "7. Optimized the function of importing mnemonics, and automatically format the mnemonics (remove spaces and carriage returns).", + "8. Shows the latest block height of the current account synchronization (for asset security, the wallet synchronized block is 12 blocks behind the main chain)", + "9. Added domain name nodes, automatically adapt to domestic and foreign users", + "10. Added wallet startup image" + ] + }, + "dapps": { + } + } +} diff --git a/public/default.html b/public/default.html index 9a785df..8fda666 100644 --- a/public/default.html +++ b/public/default.html @@ -32,12 +32,20 @@ } function checkUpdate(wgtVer){ - var checkUrl="https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/popup/version.json"; + var checkUrl="https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/popup/version.json?"+new Date().getTime(); if(!isZH()){ - checkUrl = "http://popup-github.sero.cash/version.json"; + checkUrl = "http://popup-github.sero.cash/version.json?"+new Date().getTime(); } + if(isAndroid){ + checkUrl="https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/popup/android.json?"+new Date().getTime(); + if(!isZH()){ + checkUrl = "http://popup-github.sero.cash/android.json?"+new Date().getTime(); + } + } + console.log(checkUrl); httpGet(checkUrl,function(resp,err){ if(!err){ + console.log(resp); var data= JSON.parse(resp); var _remoteObj = null; if(isZH()){ @@ -45,6 +53,7 @@ }else{ _remoteObj = data["en"]; } + if(wgtVer&&_remoteObj.docs&&(wgtVer!==_remoteObj.docs.version)){ plus.nativeUI.closeWaiting(); downWgt(_remoteObj); diff --git a/public/version.json b/public/version.json index 282d5cb..69e9ce8 100644 --- a/public/version.json +++ b/public/version.json @@ -1,9 +1,9 @@ { "zh": { "docs": { - "version": "1.1.6", + "version": "1.1.5", "url": "https://sero-media-1256272584.cos.ap-shanghai.myqcloud.com/popup/wgt/1.1.6/cash.sero.popup.community.wgt", - "show": true, + "show": false, "description": [ "1. 优化了钱包页面打不开的问题", "2. 增加了钱包热更新的功能", @@ -23,9 +23,9 @@ "en": { "docs": { - "version": "1.1.6", + "version": "1.1.5", "url": "https://sero-popup.s3-ap-southeast-1.amazonaws.com/wgt/1.1.6/cash.sero.popup.community.wgt", - "show": true, + "show": false, "description": [ "1. Optimized the problem that the wallet page cannot be opened", "2. Added the function of hot wallet update",