-
-
Notifications
You must be signed in to change notification settings - Fork 197
Unresponsive App after livesync #3545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @triniwiz, Thank you for reporting this issue. Can you please give us more information about your problem? |
I've only tested on the simulator -> log.txt |
Hi @triniwiz, Thank you for providing the log. I investigated it but was not able to reproduce the problem. I tried to add all your plugins to the application and tried to do different changes but the changes are successfully applied on the simulator every time. If you could provide a sample application, which illustrates the issue, that would be extremely helpful. Or if you noticed some specific actions or sequence of specific actions that leads to this behaviour, it would be great appreciated to share it with us. I can suggest you to try to executed the command on different iOS simulator. You need the followings:
I've noticed sometimes on my side unexpected behaviour from simulator itself. This leads to leaked processes on simulator. It usually gets fixed after restrarting my machine. I can suggest you to try it on your side. |
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:
After starting the app with 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 |
@samtheprogram you're correct I forgot about that => hook |
same thing here with tns 4.0.1. |
As a workaround (cc: @triniwiz) I have This works for us because the relevant file isn't code or modified often, and we can settle with those files just being copied when initially executing |
Hi @triniwiz, @samtheprogram, @farfromrefug Sorry for the late reply. I didn't notice the app has a custom hook. I added it to the application and was able to reproduce the problem. It seems like a bug but we need more time to investigate it. We'll try to provide a solution ASAP. @triniwiz, |
@Fatme I can confirm that deleting the custom hook does "resolve" the issue with the livesync locking up. Obviously this is a short-term resolution for development, but not ideal for continuing to support for production releases. |
I confirm on my side that custom hooks does break the livesync functionnaly on {N} 4.1 😞 |
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:
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
The text was updated successfully, but these errors were encountered: