Skip to content

[0.26.1][iOS] Native UI component hangs application with chrome debugger active #7707

Closed
@samfoot

Description

@samfoot

I am having an issue when I add an iOS native UI component to a new React Native project the application hangs if you enable the chrome debugger whilst the UI component is included in the project.

I have created a very simple example application here:

https://github.com/spreech/rnnativecompissue

If you run the above it will hang once you enable the debugger. If you comment out RCT_EXPORT_MODULE() at MapViewManager.m:20 and rebuild the app will work correctly even with the debugger attached.

I have been following: https://facebook.github.io/react-native/docs/native-components-ios.html#content

I am using:

OSX
iOS
RN: 0.26.1

Activity

changed the title [-][0.26.1] Native UI component hangs application with chrome debugger active[/-] [+][0.26.1][iOS] Native UI component hangs application with chrome debugger active[/+] on May 23, 2016
mikesurowiec

mikesurowiec commented on May 24, 2016

@mikesurowiec

I'm experiencing a similar issue on RN 0.26.1. When I enable "debug JS remotely" the simulator will freeze completely

Elyx0

Elyx0 commented on May 24, 2016

@Elyx0

Confirmed too when using React via Cocoapods. RN 26.2

mitchellhuang

mitchellhuang commented on May 25, 2016

@mitchellhuang

I can confirm this bug exists as well. Frustrating to try and use the debugger to see console.log statements and the whole thing just crashes. RN 0.26.0. I don't think I ran into this issue on 0.25.

mikesurowiec

mikesurowiec commented on May 26, 2016

@mikesurowiec

Just so you all know, I don't experience this issue on 0.27.0-rc

nikolugano

nikolugano commented on May 26, 2016

@nikolugano

I can confirm this as well. It happens both in simulator and on device (when use development server) and since I moved to 0.26.2. Using react and fbsdk via Cocoapods

alloy

alloy commented on May 26, 2016

@alloy
Contributor

I also had this issue and can confirm that after upgrading to 0.27.0-rc1 the issue is gone.

tarun29061990

tarun29061990 commented on Jun 25, 2016

@tarun29061990

Still facing this issue while doing transition between screens. Debugging on MotoE and chrome debugger is active. My react-native version is 0.27.2

locked as resolved and limited conversation to collaborators on May 30, 2018
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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @alloy@brentvatne@Elyx0@samfoot@mikesurowiec

        Issue actions

          [0.26.1][iOS] Native UI component hangs application with chrome debugger active · Issue #7707 · facebook/react-native