- edited description
(UI) Version Update 版本更新通知介面
github repository
https://github.com/NDark/vtactics
Bitbucket issues
https://bitbucket.org/NDarkTeng/vtactic
git repository introduction
milestone introduction
setup dev branch: 20201122_VersionUpdate
environment setup - unity 2017.4.40f1
environment setup - submodule
environment setup - ndinfra
版本更新通知介面 introduction
ui mockup
ReallyReallyDownloadManager.cs
VTacticDownloadManager.cs
Server api (use dev server)
http://li1440-68.members.linode.com:5325/vt_server_info
http://li1440-68.members.linode.com:3101/vt_server_info
實際開發場景 : Download
Panel 參考場景 : ProfileInherit ( 參考 ProfileInheritManager.cs , 複製UI: InheritPanel 到 Download 場景,參考腳本 UnlockUnitPanelHelper.cs 來控制 .Show() 這件事 )
補充:
跳轉商城請用 OnClickOpenBrower.cs 指定好url 掛上UIButton那個物件即可(內已經寫好OnClick() 不需要另外指定按鈕的Callback)
Comments (17)
-
reporter -
reporter - edited description
-
reporter - changed title to (UI) Version Update 版本更新通知介面
-
reporter - edited description
-
reporter - edited description
-
reporter - attached ReallyReallyDownloadManager.cs
ReallyReallyDownloadManager.cs
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter ReallyReallyConstant.iOSAppStoreURL; (done)
ReallyReallyConstant.GooglePlayMarketStoreURL; (done)
(介面)版本更新通知介面
ReallyReallyDownloadManager.cs
StartSendRequestServerInfo() -> ParseServerInfo()
// check recommend update version, dialog
m_RecommendToUpdate = CheckVersionIsLarger( currentBundleVersion , serverInfoResObj.RecommendToUpdateClientVersion ) ;
// check need update version, dialog
m_NeedToUpdate = CheckVersionIsLarger( currentBundleVersion , serverInfoResObj.NeedToUpdateClientVersion ) ;
StartSendRequestVersionTable() -> ParseVersionTable()
StartInitializedAssetBundleLocal()
StartSendRequestLocalization()
StartSendRequestStrategyList() -> PreloadStrategyListFileContent()
StartSendRequestCustomerResponses() ->
StartCheckLocalAB()
CheckToChanceScene() -> ChangeScene()
Download.NeedToUpdate
Download.RecommendToUpdate
m_Description.text += System.Environment.NewLine + needToUpdate;
m_Description.text += System.Environment.NewLine + recommendUpdate;
cancel.gameObject.SetActive(false);
m_VersionConfirmPanel.Show(true);
VersionConfirmMenu
m_OnClickOpenBrower.m_Url = ReallyReallyConstant.iOSAppStoreURL;
m_OnClickOpenBrower.m_Url = ReallyReallyConstant.GooglePlayMarketStoreURL;ConfirmedToChangeScene() -> ChangeScene()
-
reporter - edited description
-
Working hours
6 hours
1.串接 UI
2.處理流程
3.建立 Web 和 Android 環境TBD
1.套用 NGUI prefab 到別的場景的UI上時會得到比例不對的結果
2.錯別字訂正 chance → change
3.確認 Localization 流程
4.確認 ServerVersion 和 currentBundleVersion 的格式是否不一致
5.確認 Assets/ndInfra 是否要加到 git ignore 中
6.確認 android keystore
7.確認 Web 和 Android 測試 -
reporter -
assigned issue to
-
assigned issue to
-
reporter 1.套用 NGUI prefab 到別的場景的UI上時會得到比例不對的結果
介面貌似正常.
3.確認 Localization 流程
Localization 內容已補足4.確認 ServerVersion 和 currentBundleVersion 的格式是否不一致
目前測試正常6.確認 android keystore
請用unity 內建的 debug keystore 測試. (2017 Unity版本應該是可以自產keystore.)
7.確認 Web 和 Android 測試
WebGL比較難測,因為不能本地用檔案開.一定要放到網路上才能開啟. 不過只需要用define guard把WebGL的平台擋起來即可.
Android 可hardcode server response , version.txt 去測試
-
reporter - changed status to resolved
-
reporter - changed status to closed
- Log in to comment