prevent SIGPIPE crash on iOS

This commit is contained in:
Roman Volosovskyi 2016-12-11 13:09:12 +02:00
parent 85e7c6c1f1
commit f74944ac2d
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
signal(SIGPIPE, SIG_IGN);
NSURL *jsCodeLocation;
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];