React Native Bootsplash dismisses automatically on iOS


If anyone has worked with the react-native-bootsplash package, on iOS the splash screen shows up on the first boot just fine but quickly dismisses itself.

On Android this is not an issue as the splash screen stays on the screen since I have not called the .hide() method.

This is what my looks like:

  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
  UIViewController *rootViewController = [UIViewController new];
  rootViewController.view = rootView;
  self.window.rootViewController = rootViewController;
  [self.window makeKeyAndVisible];

  [RNBootSplash initWithStoryboard:@"BootSplash" rootView:rootView];

  return YES;

What would be the cause of it dismissing automatically after appearing for a split second?