RCTBridge required dispatch_sync to load RCTDevLoadingView. This may lead to deadlocks
#ifdefDEBUGjsCodeLocation=[[RCTBundleURLProvidersharedSettings]jsBundleURLForBundleRoot:@"index"fallbackResource:nil];#elsejsCodeLocation=[CodePushbundleURL];#endifRCTBridge*bridge=[[RCTBridgealloc]in