React Native: null reactTag


(Scott Nelson) #1

I’m trying to dispatch an event from a native component very similar to what is done in the documentation here: https://facebook.github.io/react-native/docs/native-components-ios.html#events

My problem is that reactTag is always null. I would have expected the UIView returned from the -(UIView *)view method to have a reactTag. I’m only trying to dispatch events once the component is already visible in the view hierarchy. Any ideas?

Thanks!