Home
last modified time | relevance | path

Searched refs:mods (Results 1 – 25 of 47) sorted by relevance

12

/expo/packages/@expo/prebuild-config/src/plugins/__tests__/
H A DwithDefaultPlugins-test.ts180 mods: null,
339 delete config.mods;
482 const mods = config.mods!; constant
487 expect(mods.android?.dangerous).toBeUndefined();
492 expect(mods.ios?.dangerous).toBeUndefined();
493 expect(mods.ios?.xcodeproj).toBeUndefined();
495 delete config.mods;
629 const mods = config.mods!; constant
639 expect(mods.ios?.dangerous).toBeUndefined();
640 expect(mods.ios?.xcodeproj).toBeUndefined();
[all …]
/expo/packages/@expo/config-plugins/src/plugins/__tests__/
H A Dmod-compiler-test.ts33 mods: null,
58 expect(Object.values(config.mods.ios).every((value) => typeof value === 'function')).toBe(true);
68 mods: null,
92 mods: null,
101 expect(Object.values(config.mods.ios).every((value) => typeof value === 'function')).toBe(true);
110 mods: {
136 expect(Object.values(config.mods.ios).every((value) => typeof value === 'function')).toBe(true);
149 mods: {
H A DwithMod-test.ts8 const exportedConfig: ExportedConfig = { name: 'app', slug: '', mods: null };
27 expect(Object.values(config.mods.android).every((value) => typeof value === 'function')).toBe(
31 delete config.mods;
44 { name: 'app', slug: '', mods: null },
H A DwithIosBaseMods-test.ts48 expect(config.mods.ios.entitlements).toBeDefined();
216 expect(config.mods.ios.infoPlist).toBeDefined();
/expo/docs/pages/config-plugins/
H A Dplugins-and-mods.mdx2 title: Plugins and mods
3 description: Learn about what are plugins and mods when creating a config plugin.
159 ## What are mods
163 Mods are added to the `mods` object of the app config. The `mods` object is different from the rest…
174 mods: {
176 /* iOS mods... */
179 /* Android mods... */
185 ## How mods work
196 ### Default mods
227 After the mods are resolved, the contents of each mod will be written to disk. Custom default mods
[all …]
/expo/packages/@expo/config-plugins/src/plugins/
H A Dmod-compiler.ts45 if (config.mods) {
47 for (const platform of Object.keys(config.mods) as ModPlatform[]) {
49 for (const key of Object.keys(config.mods[platform] || {})) {
51 if (!config.mods[platform]?.[key]?.isIntrospective) {
54 delete config.mods[platform]?.[key];
100 function getRawClone({ mods, ...config }: ExportedConfig) {
141 for (const [platformName, platform] of Object.entries(config.mods ?? ({} as ModConfig))) {
H A DwithMod.ts53 if (!config.mods) {
54 config.mods = {};
56 if (!config.mods[platform]) {
57 config.mods[platform] = {};
60 let interceptedMod: Mod<T> = (config.mods[platform] as Record<string, any>)[mod];
128 (config.mods[platform] as any)[mod] = interceptingMod;
/expo/packages/@expo/config-plugins/build/plugins/
H A DwithMod.js55 if (!config.mods) {
56 config.mods = {};
58 if (!config.mods[platform]) {
59 config.mods[platform] = {};
61 let interceptedMod = config.mods[platform][mod];
124 config.mods[platform][mod] = interceptingMod;
H A Dmod-compiler.js94 if (config.mods) {
96 for (const platform of Object.keys(config.mods)) {
98 for (const key of Object.keys(config.mods[platform] || {})) {
101 …if (!((_config$mods$platform = config.mods[platform]) !== null && _config$mods$platform !== void 0…
105 …(_config$mods$platform3 = config.mods[platform]) === null || _config$mods$platform3 === void 0 ? t…
140 mods, field
167 …for (const [platformName, platform] of Object.entries((_config$mods = config.mods) !== null && _co…
H A Dmod-compiler.js.map1mods","platform","keys","_config$mods$platform","_config$mods$platform2","isIntrospective","_confi…
H A DwithDangerousMod.js.map1 …lity is performed inside a dangerous mod.\n * All dangerous mods run first before other mods.\n *\…
H A DwithMod.js.map1mods","interceptedMod","noopMod","debugTrace","isDebug","_internal","stack","Error","getDebugPlugi…
H A DcreateBaseMod.js.map1mods","Error","JSON","stringify","upperFirst","name","charAt","toUpperCase","slice","createPlatfor…
H A DwithIosBaseMods.js.map1mods on `mods.ios.appDelegate`\n appDelegate: provider<Paths.AppDelegateProjectFile>({\n getFi…
/expo/packages/@expo/config/src/
H A DConfig.ts27 type SplitConfigs = { expo: ExpoConfig; mods: ModConfig };
38 const { mods, ...expo } = config.expo ?? config; constant
42 mods,
110 mods: config.mods,
119 configWithDefaultValues.exp.mods = config.mods ?? null;
130 delete configWithDefaultValues.exp.mods;
H A DConfig.types.ts16 mods?: ModConfig | null; property
/expo/packages/expo-build-properties/src/__tests__/
H A Dandroid-test.ts9 mods?: Record<'ios' | 'android', Record<string, unknown[]>>;
95 expect((expoConfig as ExpoConfigWithMods)?.mods?.android).toBeUndefined();
102 expect((expoConfig as ExpoConfigWithMods)?.mods?.android).toBeUndefined();
/expo/packages/expo-image-picker/plugin/src/__tests__/
H A DwithImagePicker-test.ts22 const { modResults } = await (config as any).mods.android.manifest({
61 const { modResults } = await (config as any).mods.android.manifest({
/expo/packages/@expo/config-plugins/src/android/__tests__/
H A DPermissions-test.ts40 const { modResults } = await (config as any).mods.android.manifest({
84 expect((config as any).mods).not.toBeDefined();
97 const { modResults } = await (config as any).mods.android.manifest({
136 const { modResults } = await (config as any).mods.android.manifest({
/expo/packages/@expo/config/build/
H A DConfig.js133 mods,
138 mods
204 mods: config.mods,
213 …configWithDefaultValues.exp.mods = (_config$mods = config.mods) !== null && _config$mods !== void …
220 delete configWithDefaultValues.exp.mods;
H A DSerialize.js.map1mods' || property === 'plugins') {\n // Don't serialize mods or plugins\n output…
H A DConfig.types.d.ts16 mods?: ModConfig | null; property
/expo/packages/@expo/config-plugins/build/
H A DPlugin.types.js.map1mods config.\n */\n readonly platform: ModPlatform;\n\n /**\n * If the mod is being evaluate…
H A DPlugin.types.d.ts49 mods?: ModConfig | null; property
/expo/packages/@expo/config-plugins/src/
H A DPlugin.types.ts62 mods?: ModConfig | null; property

12