Move RCTLinkingManager to the main thread

Reviewed By: shergin

Differential Revision: D4709352

fbshipit-source-id: 3fc86504b12fe64dd94dd7330073d1a4a4f272e2
This commit is contained in:
Mehdi Mulani 2017-03-16 15:59:10 -07:00 committed by Facebook Github Bot
parent 7e4c93d65a
commit 55f48eb9f6
1 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,11 @@ NSString *const RCTOpenURLNotification = @"RCTOpenURLNotification";
RCT_EXPORT_MODULE()
- (dispatch_queue_t)methodQueue
{
return dispatch_get_main_queue();
}
- (void)startObserving
{
[[NSNotificationCenter defaultCenter] addObserver:self