NativeScript / NativeScript/nativescript-cli
[LiveSync] UI don't updates during LiveSync if app was suspended
未關閉
還沒有人認領這個 Issue。
livesync
to-be-checked
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Environment
✔ Component nativescript has 5.0.0 version and is up to date.
✔ Component tns-core-modules has 5.0.2 version and is up to date.
✔ Component tns-android has 5.0.0 version and is up to date.
✔ Component tns-ios has 5.0.0 version and is up to date.
To Reproduce
- Change XML or CSS file (for example,
backgroundColorof any element) - Turn off screen
- Save XML or CSS file to run LiveSync process
- Turn on screen
You will see not updated UI.
In NS4 it worked. But after upgrading to NS5 it don't work.
Additional context
Tested on Android only.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
未指定檔案或測試。首先,在螢幕關閉時修改 XML 或 CSS 檔案,以重現 Android LiveSync 流程,然後檢查應用程式恢復時涉及的 LiveSync 進入點。螢幕重新開啟後,UI 反映出已儲存的變更,即表示完成,就像在 NativeScript 4 中一樣。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, javascript
- 領域
- cli, mobile-dev
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100