text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  const WarningAggregator_1 = require("../WarningAggregator");
  function getSplashScreen(config) {
      var _a;
      if (config.splash || ((_a = config.ios) === null || _a === void 0 ? void 0 : _a.splash)) {
          return true;
      }
      else {
          return false;
      }
  }
  exports.getSplashScreen = getSplashScreen;
  function setSplashScreenAsync(config, projectRoot) {
      const splash = getSplashScreen(config);
      if (!splash) {
          return;
      }
      WarningAggregator_1.addWarningIOS('splash', 'This is the image that your app uses on the loading screen, we recommend installing and using expo-splash-screen.', 'https://github.com/expo/expo/blob/master/packages/expo-splash-screen/README.md');
  }
  exports.setSplashScreenAsync = setSplashScreenAsync;
  //# sourceMappingURL=SplashScreen.js.map