Skip to content

[iOS] Crash when using HMR (and possibly ListView) #61

Open
@fpaaske

Description

@fpaaske

I'm struggling with crashes when using HMR and changing code in the libs section of the NX workspace.
I have more details about the issue here NativeScript/NativeScript#10107.

I'm wondering if this has something to do with the combination of NativeScript+NX (using this repo), or something else.

Basically I have this setup:

apps
  app1 -> home -> contactmodule
  app2 -> contactmodule
libs
  shared
    contactmodule -> contactlist -> contactdetails

If I do nx run app1:ios it will run ns debug ios --force. It seems to me as if I change the code under libs after it has been displayed (navigated to, perhaps via a list), the app will crash on the next navigation to contactdetails.

Initially I thought this had something to do with ListView, but I'm leaning more towards bad HMR update of code from libs.
Do you guys have any idea?

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