Closed
Description
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
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
[-][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[/+]mikesurowiec commentedon May 24, 2016
I'm experiencing a similar issue on RN 0.26.1. When I enable "debug JS remotely" the simulator will freeze completely
Elyx0 commentedon May 24, 2016
Confirmed too when using React via Cocoapods. RN 26.2
mitchellhuang commentedon May 25, 2016
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 commentedon May 26, 2016
Just so you all know, I don't experience this issue on 0.27.0-rc
nikolugano commentedon May 26, 2016
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 commentedon May 26, 2016
I also had this issue and can confirm that after upgrading to 0.27.0-rc1 the issue is gone.
tarun29061990 commentedon Jun 25, 2016
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