1"use strict"; 2var __importDefault = (this && this.__importDefault) || function (mod) { 3 return (mod && mod.__esModule) ? mod : { "default": mod }; 4}; 5Object.defineProperty(exports, "__esModule", { value: true }); 6const config_plugins_1 = require("@expo/config-plugins"); 7// @ts-expect-error missing types 8const app_plugin_1 = __importDefault(require("expo-dev-launcher/app.plugin")); 9// @ts-expect-error missing types 10const app_plugin_2 = __importDefault(require("expo-dev-menu/app.plugin")); 11const withGeneratedAndroidScheme_1 = require("./withGeneratedAndroidScheme"); 12const withGeneratedIosScheme_1 = require("./withGeneratedIosScheme"); 13const pkg = require('expo-dev-client/package.json'); 14function withDevClient(config, props) { 15 config = (0, app_plugin_2.default)(config); 16 config = (0, app_plugin_1.default)(config, props); 17 config = (0, withGeneratedAndroidScheme_1.withGeneratedAndroidScheme)(config); 18 config = (0, withGeneratedIosScheme_1.withGeneratedIosScheme)(config); 19 return config; 20} 21exports.default = (0, config_plugins_1.createRunOncePlugin)(withDevClient, pkg.name, pkg.version); 22