1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4  value: true
5});
6exports.withAndroidUserInterfaceStyle = void 0;
7
8function _configPlugins() {
9  const data = require("@expo/config-plugins");
10
11  _configPlugins = function () {
12    return data;
13  };
14
15  return data;
16}
17
18const withAndroidUserInterfaceStyle = config => {
19  return (0, _configPlugins().withStringsXml)(config, config => {
20    var _config$android$userI, _config$android;
21
22    const userInterfaceStyle = (_config$android$userI = (_config$android = config.android) === null || _config$android === void 0 ? void 0 : _config$android.userInterfaceStyle) !== null && _config$android$userI !== void 0 ? _config$android$userI : config.userInterfaceStyle;
23
24    if (userInterfaceStyle) {
25      _configPlugins().WarningAggregator.addWarningAndroid('userInterfaceStyle', // TODO: Maybe warn that they need a certain version of React Native as well?
26      'Install expo-system-ui in your project to enable this feature.');
27    }
28
29    return config;
30  });
31};
32
33exports.withAndroidUserInterfaceStyle = withAndroidUserInterfaceStyle;
34//# sourceMappingURL=withAndroidUserInterfaceStyle.js.map