NativeScript / NativeScript/nativescript-cli
[LiveSync] UI don't updates during LiveSync if app was suspended
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. First reproduce the Android LiveSync flow by changing an XML or CSS file while the screen is off, then inspect the LiveSync entry points involved in resuming the app. Done means the UI reflects the saved change after the screen is turned back on, as it did in NativeScript 4.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- cli, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100