updated AppDelegate.m template
This commit is contained in:
parent
e35d8240b4
commit
086c359895
|
@ -230,7 +230,7 @@ RCT_EXPORT_MODULE()
|
||||||
|
|
||||||
// Send a nonsense UI event to cause React Native to load our Om UI
|
// Send a nonsense UI event to cause React Native to load our Om UI
|
||||||
RCTRootView* rootView = (RCTRootView*)self.window.rootViewController.view;
|
RCTRootView* rootView = (RCTRootView*)self.window.rootViewController.view;
|
||||||
[rootView.bridge.modules[@"RCTEventDispatcher"] sendInputEventWithName:@"" body:@{@"target": @1}];
|
[rootView.bridge.modules[@"RCTEventDispatcher"] sendInputEventWithName:@"dummy" body:@{@"target": @1}];
|
||||||
|
|
||||||
// Now that React Native has been initialized, fire up our REPL server
|
// Now that React Native has been initialized, fire up our REPL server
|
||||||
self.replServer = [[ABYServer alloc] initWithContext:self.contextManager.context
|
self.replServer = [[ABYServer alloc] initWithContext:self.contextManager.context
|
||||||
|
|
Loading…
Reference in New Issue