Commit 32516cae authored by Kyeson Chow's avatar Kyeson Chow
Browse files

save

parent 1da58a76
Showing with 16 additions and 1 deletion
+16 -1
......@@ -98,6 +98,7 @@ public class MainActivity extends TgActivity {
@Override
public void run() {
final AlisiaClientApi.AppVersionUpdate avu = AlisiaClientApi.CheckNewVersion__NotAllowedInMainThread();
Debug.Log("debug, avu", avu);
if (avu.HasNewVersion) {
CommonDialog.staticStartDialogAndShowWithTwoButtonWithoutTopClose__OnMainThread(MainActivity.this, "发现新版本", avu.NewVersionTxt, "下次再说", new Runnable() {
@Override
......
README.md 0 → 100644
### Coins
#### 新版本发布
##### Android
- 新版本测试完成后
1. 更新为实际需要的版本号`src/config/configStruct/version.go:19`
2.`/src/config/configBuild`对应分支配置下更新新版信息
3. 执行`tgl make uploadapk`编译并上传最新版本apk
4. 下载`/src/config/configAndroidDownloadUrl.go`中的apk并本地测试确保上线版本正常
5. 前往tua更新服务器
......@@ -10,7 +10,9 @@ func init() {
DbAccount: "root",
DbPassword: "",
DbDatabase: "Coins",
AndroidServerExpectVersion: 1, // * 为降低理解复杂度,这个版本号只给服务端读取,客户端代码不允许直接调用此处配置
// * 为降低理解复杂度,AndroidServerExpectVersion这个版本号只给服务端读取,客户端代码不允许直接调用此处配置
// 客户端需要推送更新的话,请确保此处数值大于src/config/configStruct/version.go:14处数值
AndroidServerExpectVersion: 2,
AndroidNewVersionTxt: `1.增加Bittrex,Bitfinex交易所行情
2.添加最新市场咨询
3.修复已知bug`,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment