question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unresponsive App after livesync

See original GitHub issue

Please, provide the details below:

Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.0.0
  • Cross-platform modules: 4.0.0
  • Runtime(s): 4.0.1
  • Plugin(s):
"nativescript-advanced-webview": "^2.0.0",
    "nativescript-angular": "5.3.0",
    "nativescript-audio": "~4.0.3",
    "nativescript-couchbase": "^1.0.18",
    "nativescript-downloader": "^1.1.0",
    "nativescript-email": "^1.4.2",
    "nativescript-exoplayer": "^3.3.2",
    "nativescript-google-analytics": "^0.4.1",
    "nativescript-image-cache-it": "^3.0.0",
    "nativescript-iqkeyboardmanager": "^1.1.0",
    "nativescript-ngx-fonticon": "~4.0.0",
    "nativescript-pager": "^7.0.9",
    "nativescript-permissions": "~1.2.3",
    "nativescript-ui-core": "^1.0.0",
    "nativescript-ui-listview": "^3.5.0",
    "nativescript-ui-sidedrawer": "^3.5.0",
    "nativescript-videorecorder": "^3.0.0-alpha.6",
    "nativescript-webkit-webview": "1.0.4",
    "nativescript-zip": "^2.0.4",

Please tell us how to recreate the issue in as much detail as possible.

After a couple livesync the app becomes unresponsive then I will need to do one of the following hard close the app (fails to reopen sometimes) , hard close + uninstall or try updating one of the components until the app restarts then repeat the above steps until the eod

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sammoorecommented, May 2, 2018

I am facing the same issue after implementing some before-prepare, after-prepare, and before-watch hooks that writes files – and based on the logs supplied above, it appears @triniwiz also had a custom hook running, with output stating that was copying the entitlements file.

However, my environment is pre-4.0:

  • CLI: 3.4.3
  • tns-core-modules: 3.4.1
  • Runtime(s): 3.4.1

After starting the app with tns run ios, making a modification to a file that will cause another file to be written to during the before-prepare hook will cause 2 syncs (first with the user modified file, second with the hook modified file). The second sync occurs just after a refresh was triggered, at which point the CLI stalls. Exiting the simulator causes the CLI to become responsive again.

I’ve also noticed in my environment that Android does not suffer from this issue; the app refreshes twice no problem. I cannot share my current project but time permitting I can try to produce a sample project. Hope this helps.

EDIT: Sounds possibly related to #3410

0reactions
jeremypelecommented, Jun 7, 2018

I confirm on my side that custom hooks does break the livesync functionnaly on {N} 4.1 😞

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lumion "LiveSync will not work on your computer" Problem
In this video we'll learn the solution to the message " LiveSync will not work on your computer - Host file hacked" when...
Read more >
How do you resolve installation problems? - Lumion Support
3.1: If one or more files are missing or corrupted, please follow the instructions in the article below and run the Download Manager...
Read more >
If an app freezes or quits unexpectedly on Mac - Apple Support
If an app doesn't quit as expected, or it's unresponsive, you can force quit the app (you may lose unsaved changes). Choose Apple...
Read more >
Lumion® LiveSync® for Autodesk® Revit® - Autodesk App Store
The free Lumion LiveSync plugin lets you set up a simultaneous, real-time ... After that, every attempt to export a collada file from...
Read more >
Screen Share - reMarkable Support
Make sure you have the reMarkable desktop app installed (Version 2.8.1 or newer); When using Screen Share, your reMarkable and desktop can now...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found