NativeScript / NativeScript/nativescript-cli

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

Open
#4,125 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

livesync to-be-checked
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

  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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.