NativeScript / NativeScript/nativescript-cli

[LiveSync] UI don't updates during LiveSync if app was suspended

未关闭
#4,125 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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

  1. Change XML or CSS file (for example, backgroundColor of any element)
  2. Turn off screen
  3. Save XML or CSS file to run LiveSync process
  4. 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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定文件或测试。首先,在屏幕关闭时修改 XML 或 CSS 文件,以复现 Android LiveSync 流程,然后检查应用恢复时涉及的 LiveSync 入口点。屏幕重新打开后,UI 反映出已保存的更改,即表示完成,就像在 NativeScript 4 中一样。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, javascript
领域
cli, mobile-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。