Skip to content

Nativescript/Angular app UI is freezing #2367

Open

Description

@robertcbit

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

Activity

  1. robertcbit commented on Jul 10, 2021

    @robertcbit
    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.

  2. nikoTM commented on Feb 21, 2022

    @nikoTM

    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.

  3. cjohn001 commented on May 23, 2022

    @cjohn001

    @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?

  4. nikoTM commented on May 23, 2022

    @nikoTM

    @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.

  5. cjohn001 commented on May 23, 2022

    @cjohn001

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions