Skip to content
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

Nativescript/Angular app UI is freezing #2367

Open
robertcbit opened this issue Jul 10, 2021 · 5 comments
Open

Nativescript/Angular app UI is freezing #2367

robertcbit opened this issue Jul 10, 2021 · 5 comments

Comments

@robertcbit
Copy link

robertcbit commented Jul 10, 2021

I recently converted an old NS6 app to NS8, all the latest libraries. Noticed in some areas the UI is really slow but even worse, now the UI is freezing upon the very first click, my Login button. Is there any way I can capture any type of logs that might expose why this is occurring? It literally just freezes/stops and I have to restart the emulator with ns -avd myavdname -wipe-data

@robertcbit
Copy link
Author

Update! - Switching AVD from Nexus 4 to Nexus 6 appears to have resolved the freezing and Livesync is working now also. No idea the root cause, perhaps some compatibility issue somewhere in the pipeline.

@nikoTM
Copy link

nikoTM commented Feb 21, 2022

This has been happening to me as well. Once this freeze happens, all the NativeScript apps within the emulator stop working properly. For me there are 2 kinds of freezes: All the tap bindings stop working, but scroll views and buttons are still functional, and the second kind is when everything stops working. I am yet to catch anything in adb logcat that might be related.

@cjohn001
Copy link

@nikoTM : I am seeing the same behavior, NA app not really freezing but tap events not being processed. However, in my case it only appears to happen in the simulator. Have you found the source of the issue? Or you still think bug in this library?

@nikoTM
Copy link

nikoTM commented May 23, 2022

@cjohn001 I wasn't able to find the cause, but a workaround is to restart the emulator, not the process but the device, just holding down the power button and clicking restart within the emulator. After a restart it never happens again. I don't think this is happening on real devices, I feel like it's an emulator issue but I am not sure.

@cjohn001
Copy link

@nikoTM : Thanks for the feedback. Unfortunately, after a restart it takes only some clicks till the app is going in the same state again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants