@expo/prebuild-config 8.1.2 → 8.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/getPrebuildConfig.js +2 -1
- package/build/getPrebuildConfig.js.map +1 -1
- package/build/plugins/unversioned/react-native-edge-to-edge/helpers.d.ts +5 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/helpers.js +47 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/helpers.js.map +1 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withConfigureEdgeToEdgeEnforcement.d.ts +6 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withConfigureEdgeToEdgeEnforcement.js +53 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withConfigureEdgeToEdgeEnforcement.js.map +1 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withEdgeToEdge.d.ts +15 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withEdgeToEdge.js +110 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withEdgeToEdge.js.map +1 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withEdgeToEdgeEnabledGradleProperties.d.ts +6 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withEdgeToEdgeEnabledGradleProperties.js +42 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withEdgeToEdgeEnabledGradleProperties.js.map +1 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withRestoreDefaultTheme.d.ts +4 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withRestoreDefaultTheme.js +46 -0
- package/build/plugins/unversioned/react-native-edge-to-edge/withRestoreDefaultTheme.js.map +1 -0
- package/build/plugins/withDefaultPlugins.d.ts +1 -0
- package/build/plugins/withDefaultPlugins.js +8 -1
- package/build/plugins/withDefaultPlugins.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPrebuildConfig.js","names":["_config","data","require","_getAutolinkedPackages","_withDefaultPlugins","getPrebuildConfigAsync","projectRoot","props","autolinkedModules","getAutolinkedPackagesAsync","platforms","getPrebuildConfig","bundleIdentifier","packageName","exp","config","rest","getConfig","skipSDKVersionRequirement","isModdedConfig","_internal","withVersionedExpoSDKPlugins","withLegacyExpoPlugins","includes","ios","withIosExpoPlugins","android","package","withAndroidExpoPlugins"],"sources":["../src/getPrebuildConfig.ts"],"sourcesContent":["import { getConfig } from '@expo/config';\nimport { ModPlatform } from '@expo/config-plugins';\n\nimport { getAutolinkedPackagesAsync } from './getAutolinkedPackages';\nimport {\n withAndroidExpoPlugins,\n withIosExpoPlugins,\n withLegacyExpoPlugins,\n withVersionedExpoSDKPlugins,\n} from './plugins/withDefaultPlugins';\n\nexport async function getPrebuildConfigAsync(\n projectRoot: string,\n props: {\n bundleIdentifier?: string;\n packageName?: string;\n platforms: ModPlatform[];\n }\n): Promise<ReturnType<typeof getConfig>> {\n const autolinkedModules = await getAutolinkedPackagesAsync(projectRoot, props.platforms);\n\n return getPrebuildConfig(projectRoot, {\n ...props,\n autolinkedModules,\n });\n}\n\nfunction getPrebuildConfig(\n projectRoot: string,\n {\n platforms,\n bundleIdentifier,\n packageName,\n autolinkedModules,\n }: {\n bundleIdentifier?: string;\n packageName?: string;\n platforms: ModPlatform[];\n autolinkedModules?: string[];\n }\n) {\n // let config: ExpoConfig;\n let { exp: config, ...rest } = getConfig(projectRoot, {\n skipSDKVersionRequirement: true,\n isModdedConfig: true,\n });\n\n if (autolinkedModules) {\n if (!config._internal) {\n config._internal = {};\n }\n config._internal.autolinkedModules = autolinkedModules;\n }\n\n // Add all built-in plugins first because they should take\n // priority over the unversioned plugins.\n config = withVersionedExpoSDKPlugins(config);\n config = withLegacyExpoPlugins(config);\n\n if (platforms.includes('ios')) {\n if (!config.ios) config.ios = {};\n config.ios.bundleIdentifier =\n bundleIdentifier ?? config.ios.bundleIdentifier ?? `com.placeholder.appid`;\n\n // Add all built-in plugins\n config = withIosExpoPlugins(config, {\n bundleIdentifier: config.ios.bundleIdentifier,\n });\n }\n\n if (platforms.includes('android')) {\n if (!config.android) config.android = {};\n config.android.package = packageName ?? config.android.package ?? `com.placeholder.appid`;\n\n // Add all built-in plugins\n config = withAndroidExpoPlugins(config, {\n package: config.android.package,\n });\n }\n\n return { exp: config, ...rest };\n}\n"],"mappings":";;;;;;AAAA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGA,SAAAE,uBAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,sBAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,oBAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,mBAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAOO,eAAeI,sBAAsBA,CAC1CC,WAAmB,EACnBC,KAIC,EACsC;EACvC,MAAMC,iBAAiB,GAAG,MAAM,IAAAC,mDAA0B,EAACH,WAAW,EAAEC,KAAK,CAACG,SAAS,CAAC;EAExF,OAAOC,iBAAiB,CAACL,WAAW,EAAE;IACpC,GAAGC,KAAK;IACRC;EACF,CAAC,CAAC;AACJ;AAEA,SAASG,iBAAiBA,CACxBL,WAAmB,EACnB;EACEI,SAAS;EACTE,gBAAgB;EAChBC,WAAW;EACXL;AAMF,CAAC,EACD;EACA;EACA,IAAI;IAAEM,GAAG,EAAEC,MAAM;IAAE,GAAGC;EAAK,CAAC,GAAG,IAAAC,mBAAS,EAACX,WAAW,EAAE;IACpDY,yBAAyB,EAAE,IAAI;IAC/BC,cAAc,EAAE;EAClB,CAAC,CAAC;EAEF,IAAIX,iBAAiB,EAAE;IACrB,IAAI,CAACO,MAAM,CAACK,SAAS,EAAE;MACrBL,MAAM,CAACK,SAAS,GAAG,CAAC,CAAC;IACvB;IACAL,MAAM,CAACK,SAAS,CAACZ,iBAAiB,GAAGA,iBAAiB;EACxD;;EAEA;EACA;EACAO,MAAM,GAAG,IAAAM,iDAA2B,EAACN,MAAM,CAAC;EAC5CA,MAAM,GAAG,IAAAO,2CAAqB,EAACP,MAAM,CAAC;EAEtC,IAAIL,SAAS,CAACa,QAAQ,CAAC,KAAK,CAAC,EAAE;IAC7B,IAAI,CAACR,MAAM,CAACS,GAAG,EAAET,MAAM,CAACS,GAAG,GAAG,CAAC,CAAC;IAChCT,MAAM,CAACS,GAAG,CAACZ,gBAAgB,GACzBA,gBAAgB,IAAIG,MAAM,CAACS,GAAG,CAACZ,gBAAgB,IAAI,uBAAuB;;IAE5E;IACAG,MAAM,GAAG,IAAAU,wCAAkB,EAACV,MAAM,EAAE;MAClCH,gBAAgB,EAAEG,MAAM,CAACS,GAAG,CAACZ;IAC/B,CAAC,CAAC;EACJ;EAEA,IAAIF,SAAS,CAACa,QAAQ,CAAC,SAAS,CAAC,EAAE;IACjC,IAAI,CAACR,MAAM,CAACW,OAAO,EAAEX,MAAM,CAACW,OAAO,GAAG,CAAC,CAAC;IACxCX,MAAM,CAACW,OAAO,CAACC,OAAO,GAAGd,WAAW,IAAIE,MAAM,CAACW,OAAO,CAACC,OAAO,IAAI,uBAAuB;;IAEzF;IACAZ,MAAM,GAAG,IAAAa,4CAAsB,EAACb,MAAM,EAAE;MACtCY,OAAO,EAAEZ,MAAM,CAACW,OAAO,CAACC;
|
|
1
|
+
{"version":3,"file":"getPrebuildConfig.js","names":["_config","data","require","_getAutolinkedPackages","_withDefaultPlugins","getPrebuildConfigAsync","projectRoot","props","autolinkedModules","getAutolinkedPackagesAsync","platforms","getPrebuildConfig","bundleIdentifier","packageName","exp","config","rest","getConfig","skipSDKVersionRequirement","isModdedConfig","_internal","withVersionedExpoSDKPlugins","withLegacyExpoPlugins","includes","ios","withIosExpoPlugins","android","package","withAndroidExpoPlugins"],"sources":["../src/getPrebuildConfig.ts"],"sourcesContent":["import { getConfig } from '@expo/config';\nimport { ModPlatform } from '@expo/config-plugins';\n\nimport { getAutolinkedPackagesAsync } from './getAutolinkedPackages';\nimport {\n withAndroidExpoPlugins,\n withIosExpoPlugins,\n withLegacyExpoPlugins,\n withVersionedExpoSDKPlugins,\n} from './plugins/withDefaultPlugins';\n\nexport async function getPrebuildConfigAsync(\n projectRoot: string,\n props: {\n bundleIdentifier?: string;\n packageName?: string;\n platforms: ModPlatform[];\n }\n): Promise<ReturnType<typeof getConfig>> {\n const autolinkedModules = await getAutolinkedPackagesAsync(projectRoot, props.platforms);\n\n return getPrebuildConfig(projectRoot, {\n ...props,\n autolinkedModules,\n });\n}\n\nfunction getPrebuildConfig(\n projectRoot: string,\n {\n platforms,\n bundleIdentifier,\n packageName,\n autolinkedModules,\n }: {\n bundleIdentifier?: string;\n packageName?: string;\n platforms: ModPlatform[];\n autolinkedModules?: string[];\n }\n) {\n // let config: ExpoConfig;\n let { exp: config, ...rest } = getConfig(projectRoot, {\n skipSDKVersionRequirement: true,\n isModdedConfig: true,\n });\n\n if (autolinkedModules) {\n if (!config._internal) {\n config._internal = {};\n }\n config._internal.autolinkedModules = autolinkedModules;\n }\n\n // Add all built-in plugins first because they should take\n // priority over the unversioned plugins.\n config = withVersionedExpoSDKPlugins(config);\n config = withLegacyExpoPlugins(config);\n\n if (platforms.includes('ios')) {\n if (!config.ios) config.ios = {};\n config.ios.bundleIdentifier =\n bundleIdentifier ?? config.ios.bundleIdentifier ?? `com.placeholder.appid`;\n\n // Add all built-in plugins\n config = withIosExpoPlugins(config, {\n bundleIdentifier: config.ios.bundleIdentifier,\n });\n }\n\n if (platforms.includes('android')) {\n if (!config.android) config.android = {};\n config.android.package = packageName ?? config.android.package ?? `com.placeholder.appid`;\n\n // Add all built-in plugins\n config = withAndroidExpoPlugins(config, {\n package: config.android.package,\n projectRoot,\n });\n }\n\n return { exp: config, ...rest };\n}\n"],"mappings":";;;;;;AAAA,SAAAA,QAAA;EAAA,MAAA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AC7B,IAAI,CAACR,MAAM,CAACS,GAAG,EAAET,MAAM,CAACS,GAAG,GAAG,CAAC,CAAC;IAChCT,MAAM,CAACS,GAAG,CAACZ,gBAAgB,GACzBA,gBAAgB,IAAIG,MAAM,CAACS,GAAG,CAACZ,gBAAgB,IAAI,uBAAuB;;IAE5E;IACAG,MAAM,GAAG,IAAAU,wCAAkB,EAACV,MAAM,EAAE;MAClCH,gBAAgB,EAAEG,MAAM,CAACS,GAAG,CAACZ;IAC/B,CAAC,CAAC;EACJ;EAEA,IAAIF,SAAS,CAACa,QAAQ,CAAC,SAAS,CAAC,EAAE;IACjC,IAAI,CAACR,MAAM,CAACW,OAAO,EAAEX,MAAM,CAACW,OAAO,GAAG,CAAC,CAAC;IACxCX,MAAM,CAACW,OAAO,CAACC,OAAO,GAAGd,WAAW,IAAIE,MAAM,CAACW,OAAO,CAACC,OAAO,IAAI,uBAAuB;;IAEzF;IACAZ,MAAM,GAAG,IAAAa,4CAAsB,EAACb,MAAM,EAAE;MACtCY,OAAO,EAAEZ,MAAM,CAACW,OAAO,CAACC,OAAO;MAC/BrB;IACF,CAAC,CAAC;EACJ;EAEA,OAAO;IAAEQ,GAAG,EAAEC,MAAM;IAAE,GAAGC;EAAK,CAAC;AACjC","ignoreList":[]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ExpoConfig } from '@expo/config-types';
|
|
2
|
+
import { EdgeToEdgePlugin } from './withEdgeToEdge';
|
|
3
|
+
export declare function edgeToEdgePluginIndex(config: ExpoConfig): number | null;
|
|
4
|
+
export declare function hasEnabledEdgeToEdge(config: ExpoConfig): boolean;
|
|
5
|
+
export declare function loadEdgeToEdgeConfigPlugin(projectRoot: string): EdgeToEdgePlugin | null;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.edgeToEdgePluginIndex = edgeToEdgePluginIndex;
|
|
7
|
+
exports.hasEnabledEdgeToEdge = hasEnabledEdgeToEdge;
|
|
8
|
+
exports.loadEdgeToEdgeConfigPlugin = loadEdgeToEdgeConfigPlugin;
|
|
9
|
+
function _resolveFrom() {
|
|
10
|
+
const data = _interopRequireDefault(require("resolve-from"));
|
|
11
|
+
_resolveFrom = function () {
|
|
12
|
+
return data;
|
|
13
|
+
};
|
|
14
|
+
return data;
|
|
15
|
+
}
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
function edgeToEdgePluginIndex(config) {
|
|
18
|
+
const isEdgeToEdgePluginArray = plugin => Array.isArray(plugin) && typeof plugin[0] === 'string' && plugin[0].includes('react-native-edge-to-edge');
|
|
19
|
+
const isEdgeToEdgePluginString = plugin => typeof plugin === 'string' && plugin.includes('react-native-edge-to-edge');
|
|
20
|
+
const pluginIndex = config.plugins?.findIndex(plugin => isEdgeToEdgePluginString(plugin) || isEdgeToEdgePluginArray(plugin)) ?? -1;
|
|
21
|
+
if (pluginIndex === -1) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return pluginIndex;
|
|
25
|
+
}
|
|
26
|
+
function hasEnabledEdgeToEdge(config) {
|
|
27
|
+
return config.android?.edgeToEdgeEnabled === true || edgeToEdgePluginIndex(config) != null;
|
|
28
|
+
}
|
|
29
|
+
function loadEdgeToEdgeConfigPlugin(projectRoot) {
|
|
30
|
+
try {
|
|
31
|
+
let edgeToEdgePath = _resolveFrom().default.silent(projectRoot, 'react-native-edge-to-edge/app.plugin');
|
|
32
|
+
if (edgeToEdgePath == null) {
|
|
33
|
+
const expoPackageRoot = _resolveFrom().default.silent(projectRoot, 'expo/package.json');
|
|
34
|
+
edgeToEdgePath = _resolveFrom().default.silent(expoPackageRoot ?? projectRoot, 'react-native-edge-to-edge/app.plugin');
|
|
35
|
+
}
|
|
36
|
+
if (edgeToEdgePath) {
|
|
37
|
+
const {
|
|
38
|
+
default: plugin
|
|
39
|
+
} = require(edgeToEdgePath);
|
|
40
|
+
return plugin;
|
|
41
|
+
}
|
|
42
|
+
} catch {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","names":["_resolveFrom","data","_interopRequireDefault","require","e","__esModule","default","edgeToEdgePluginIndex","config","isEdgeToEdgePluginArray","plugin","Array","isArray","includes","isEdgeToEdgePluginString","pluginIndex","plugins","findIndex","hasEnabledEdgeToEdge","android","edgeToEdgeEnabled","loadEdgeToEdgeConfigPlugin","projectRoot","edgeToEdgePath","resolveFrom","silent","expoPackageRoot"],"sources":["../../../../src/plugins/unversioned/react-native-edge-to-edge/helpers.ts"],"sourcesContent":["import type { ExpoConfig } from '@expo/config-types';\nimport resolveFrom from 'resolve-from';\n\nimport { EdgeToEdgePlugin } from './withEdgeToEdge';\n\nexport function edgeToEdgePluginIndex(config: ExpoConfig): number | null {\n const isEdgeToEdgePluginArray = (plugin: string | [] | [string] | [string, any]) =>\n Array.isArray(plugin) &&\n typeof plugin[0] === 'string' &&\n plugin[0].includes('react-native-edge-to-edge');\n const isEdgeToEdgePluginString = (plugin: string | [] | [string] | [string, any]) =>\n typeof plugin === 'string' && plugin.includes('react-native-edge-to-edge');\n\n const pluginIndex =\n config.plugins?.findIndex(\n (plugin) => isEdgeToEdgePluginString(plugin) || isEdgeToEdgePluginArray(plugin)\n ) ?? -1;\n\n if (pluginIndex === -1) {\n return null;\n }\n return pluginIndex;\n}\n\nexport function hasEnabledEdgeToEdge(config: ExpoConfig) {\n return config.android?.edgeToEdgeEnabled === true || edgeToEdgePluginIndex(config) != null;\n}\n\nexport function loadEdgeToEdgeConfigPlugin(projectRoot: string): EdgeToEdgePlugin | null {\n try {\n let edgeToEdgePath = resolveFrom.silent(projectRoot, 'react-native-edge-to-edge/app.plugin');\n if (edgeToEdgePath == null) {\n const expoPackageRoot = resolveFrom.silent(projectRoot, 'expo/package.json');\n edgeToEdgePath = resolveFrom.silent(\n expoPackageRoot ?? projectRoot,\n 'react-native-edge-to-edge/app.plugin'\n );\n }\n\n if (edgeToEdgePath) {\n const { default: plugin } = require(edgeToEdgePath);\n return plugin as EdgeToEdgePlugin;\n }\n } catch {\n return null;\n }\n return null;\n}\n"],"mappings":";;;;;;;;AACA,SAAAA,aAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,YAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAuC,SAAAC,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAIhC,SAASG,qBAAqBA,CAACC,MAAkB,EAAiB;EACvE,MAAMC,uBAAuB,GAAIC,MAA8C,IAC7EC,KAAK,CAACC,OAAO,CAACF,MAAM,CAAC,IACrB,OAAOA,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAC7BA,MAAM,CAAC,CAAC,CAAC,CAACG,QAAQ,CAAC,2BAA2B,CAAC;EACjD,MAAMC,wBAAwB,GAAIJ,MAA8C,IAC9E,OAAOA,MAAM,KAAK,QAAQ,IAAIA,MAAM,CAACG,QAAQ,CAAC,2BAA2B,CAAC;EAE5E,MAAME,WAAW,GACfP,MAAM,CAACQ,OAAO,EAAEC,SAAS,CACtBP,MAAM,IAAKI,wBAAwB,CAACJ,MAAM,CAAC,IAAID,uBAAuB,CAACC,MAAM,CAChF,CAAC,IAAI,CAAC,CAAC;EAET,IAAIK,WAAW,KAAK,CAAC,CAAC,EAAE;IACtB,OAAO,IAAI;EACb;EACA,OAAOA,WAAW;AACpB;AAEO,SAASG,oBAAoBA,CAACV,MAAkB,EAAE;EACvD,OAAOA,MAAM,CAACW,OAAO,EAAEC,iBAAiB,KAAK,IAAI,IAAIb,qBAAqB,CAACC,MAAM,CAAC,IAAI,IAAI;AAC5F;AAEO,SAASa,0BAA0BA,CAACC,WAAmB,EAA2B;EACvF,IAAI;IACF,IAAIC,cAAc,GAAGC,sBAAW,CAACC,MAAM,CAACH,WAAW,EAAE,sCAAsC,CAAC;IAC5F,IAAIC,cAAc,IAAI,IAAI,EAAE;MAC1B,MAAMG,eAAe,GAAGF,sBAAW,CAACC,MAAM,CAACH,WAAW,EAAE,mBAAmB,CAAC;MAC5EC,cAAc,GAAGC,sBAAW,CAACC,MAAM,CACjCC,eAAe,IAAIJ,WAAW,EAC9B,sCACF,CAAC;IACH;IAEA,IAAIC,cAAc,EAAE;MAClB,MAAM;QAAEjB,OAAO,EAAEI;MAAO,CAAC,GAAGP,OAAO,CAACoB,cAAc,CAAC;MACnD,OAAOb,MAAM;IACf;EACF,CAAC,CAAC,MAAM;IACN,OAAO,IAAI;EACb;EACA,OAAO,IAAI;AACb","ignoreList":[]}
|
package/build/plugins/unversioned/react-native-edge-to-edge/withConfigureEdgeToEdgeEnforcement.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
+
import { ResourceXMLConfig } from './withEdgeToEdge';
|
|
3
|
+
export declare const withConfigureEdgeToEdgeEnforcement: ConfigPlugin<{
|
|
4
|
+
disableEdgeToEdgeEnforcement: boolean;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function configureEdgeToEdgeEnforcement(config: ResourceXMLConfig, disableEdgeToEdgeEnforcement: boolean): ResourceXMLConfig;
|
package/build/plugins/unversioned/react-native-edge-to-edge/withConfigureEdgeToEdgeEnforcement.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.configureEdgeToEdgeEnforcement = configureEdgeToEdgeEnforcement;
|
|
7
|
+
exports.withConfigureEdgeToEdgeEnforcement = void 0;
|
|
8
|
+
function _configPlugins() {
|
|
9
|
+
const data = require("@expo/config-plugins");
|
|
10
|
+
_configPlugins = function () {
|
|
11
|
+
return data;
|
|
12
|
+
};
|
|
13
|
+
return data;
|
|
14
|
+
}
|
|
15
|
+
const OPT_OUT_EDGE_TO_EDGE_ATTRIBUTE = 'android:windowOptOutEdgeToEdgeEnforcement';
|
|
16
|
+
const withConfigureEdgeToEdgeEnforcement = (config, {
|
|
17
|
+
disableEdgeToEdgeEnforcement
|
|
18
|
+
}) => {
|
|
19
|
+
return (0, _configPlugins().withAndroidStyles)(config, config => {
|
|
20
|
+
return configureEdgeToEdgeEnforcement(config, disableEdgeToEdgeEnforcement);
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
exports.withConfigureEdgeToEdgeEnforcement = withConfigureEdgeToEdgeEnforcement;
|
|
24
|
+
function configureEdgeToEdgeEnforcement(config, disableEdgeToEdgeEnforcement) {
|
|
25
|
+
const {
|
|
26
|
+
style = []
|
|
27
|
+
} = config.modResults.resources;
|
|
28
|
+
const disableEdgeToEdgeEnforcementItem = {
|
|
29
|
+
_: 'true',
|
|
30
|
+
$: {
|
|
31
|
+
name: OPT_OUT_EDGE_TO_EDGE_ATTRIBUTE,
|
|
32
|
+
'tools:targetApi': '35'
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
const mainThemeIndex = style.findIndex(({
|
|
36
|
+
$
|
|
37
|
+
}) => $.name === 'AppTheme');
|
|
38
|
+
if (mainThemeIndex === -1) {
|
|
39
|
+
return config;
|
|
40
|
+
}
|
|
41
|
+
const existingItem = style[mainThemeIndex].item.filter(({
|
|
42
|
+
$
|
|
43
|
+
}) => $.name !== OPT_OUT_EDGE_TO_EDGE_ATTRIBUTE);
|
|
44
|
+
if (disableEdgeToEdgeEnforcement) {
|
|
45
|
+
existingItem.push(disableEdgeToEdgeEnforcementItem);
|
|
46
|
+
}
|
|
47
|
+
if (!config.modResults.resources.style) {
|
|
48
|
+
return config;
|
|
49
|
+
}
|
|
50
|
+
config.modResults.resources.style[mainThemeIndex].item = existingItem;
|
|
51
|
+
return config;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=withConfigureEdgeToEdgeEnforcement.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withConfigureEdgeToEdgeEnforcement.js","names":["_configPlugins","data","require","OPT_OUT_EDGE_TO_EDGE_ATTRIBUTE","withConfigureEdgeToEdgeEnforcement","config","disableEdgeToEdgeEnforcement","withAndroidStyles","configureEdgeToEdgeEnforcement","exports","style","modResults","resources","disableEdgeToEdgeEnforcementItem","_","$","name","mainThemeIndex","findIndex","existingItem","item","filter","push"],"sources":["../../../../src/plugins/unversioned/react-native-edge-to-edge/withConfigureEdgeToEdgeEnforcement.ts"],"sourcesContent":["import { ConfigPlugin, withAndroidStyles } from '@expo/config-plugins';\n\nimport { ResourceXMLConfig } from './withEdgeToEdge';\n\nconst OPT_OUT_EDGE_TO_EDGE_ATTRIBUTE = 'android:windowOptOutEdgeToEdgeEnforcement';\n\nexport const withConfigureEdgeToEdgeEnforcement: ConfigPlugin<{\n disableEdgeToEdgeEnforcement: boolean;\n}> = (config, { disableEdgeToEdgeEnforcement }) => {\n return withAndroidStyles(config, (config) => {\n return configureEdgeToEdgeEnforcement(config, disableEdgeToEdgeEnforcement);\n });\n};\n\nexport function configureEdgeToEdgeEnforcement(\n config: ResourceXMLConfig,\n disableEdgeToEdgeEnforcement: boolean\n): ResourceXMLConfig {\n const { style = [] } = config.modResults.resources;\n\n const disableEdgeToEdgeEnforcementItem = {\n _: 'true',\n $: {\n name: OPT_OUT_EDGE_TO_EDGE_ATTRIBUTE,\n 'tools:targetApi': '35',\n },\n };\n\n const mainThemeIndex = style.findIndex(({ $ }) => $.name === 'AppTheme');\n\n if (mainThemeIndex === -1) {\n return config;\n }\n\n const existingItem = style[mainThemeIndex].item.filter(\n ({ $ }) => $.name !== OPT_OUT_EDGE_TO_EDGE_ATTRIBUTE\n );\n\n if (disableEdgeToEdgeEnforcement) {\n existingItem.push(disableEdgeToEdgeEnforcementItem);\n }\n if (!config.modResults.resources.style) {\n return config;\n }\n\n config.modResults.resources.style[mainThemeIndex].item = existingItem;\n return config;\n}\n"],"mappings":";;;;;;;AAAA,SAAAA,eAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,cAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIA,MAAME,8BAA8B,GAAG,2CAA2C;AAE3E,MAAMC,kCAEX,GAAGA,CAACC,MAAM,EAAE;EAAEC;AAA6B,CAAC,KAAK;EACjD,OAAO,IAAAC,kCAAiB,EAACF,MAAM,EAAGA,MAAM,IAAK;IAC3C,OAAOG,8BAA8B,CAACH,MAAM,EAAEC,4BAA4B,CAAC;EAC7E,CAAC,CAAC;AACJ,CAAC;AAACG,OAAA,CAAAL,kCAAA,GAAAA,kCAAA;AAEK,SAASI,8BAA8BA,CAC5CH,MAAyB,EACzBC,4BAAqC,EAClB;EACnB,MAAM;IAAEI,KAAK,GAAG;EAAG,CAAC,GAAGL,MAAM,CAACM,UAAU,CAACC,SAAS;EAElD,MAAMC,gCAAgC,GAAG;IACvCC,CAAC,EAAE,MAAM;IACTC,CAAC,EAAE;MACDC,IAAI,EAAEb,8BAA8B;MACpC,iBAAiB,EAAE;IACrB;EACF,CAAC;EAED,MAAMc,cAAc,GAAGP,KAAK,CAACQ,SAAS,CAAC,CAAC;IAAEH;EAAE,CAAC,KAAKA,CAAC,CAACC,IAAI,KAAK,UAAU,CAAC;EAExE,IAAIC,cAAc,KAAK,CAAC,CAAC,EAAE;IACzB,OAAOZ,MAAM;EACf;EAEA,MAAMc,YAAY,GAAGT,KAAK,CAACO,cAAc,CAAC,CAACG,IAAI,CAACC,MAAM,CACpD,CAAC;IAAEN;EAAE,CAAC,KAAKA,CAAC,CAACC,IAAI,KAAKb,8BACxB,CAAC;EAED,IAAIG,4BAA4B,EAAE;IAChCa,YAAY,CAACG,IAAI,CAACT,gCAAgC,CAAC;EACrD;EACA,IAAI,CAACR,MAAM,CAACM,UAAU,CAACC,SAAS,CAACF,KAAK,EAAE;IACtC,OAAOL,MAAM;EACf;EAEAA,MAAM,CAACM,UAAU,CAACC,SAAS,CAACF,KAAK,CAACO,cAAc,CAAC,CAACG,IAAI,GAAGD,YAAY;EACrE,OAAOd,MAAM;AACf","ignoreList":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ConfigPlugin, ExportedConfigWithProps, AndroidConfig } from '@expo/config-plugins';
|
|
2
|
+
import { type ExpoConfig } from '@expo/config-types';
|
|
3
|
+
export type EdgeToEdgePlugin = ConfigPlugin<{
|
|
4
|
+
android: {
|
|
5
|
+
parentTheme?: string;
|
|
6
|
+
enforceNavigationBarContrast?: boolean;
|
|
7
|
+
};
|
|
8
|
+
}>;
|
|
9
|
+
export type ResourceXMLConfig = ExportedConfigWithProps<AndroidConfig.Resources.ResourceXML>;
|
|
10
|
+
export type GradlePropertiesConfig = ExportedConfigWithProps<AndroidConfig.Properties.PropertiesItem[]>;
|
|
11
|
+
export declare const withEdgeToEdge: ConfigPlugin<{
|
|
12
|
+
projectRoot: string;
|
|
13
|
+
}>;
|
|
14
|
+
export declare function applyEdgeToEdge(config: ExpoConfig, projectRoot: string): ExpoConfig;
|
|
15
|
+
export default withEdgeToEdge;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.applyEdgeToEdge = applyEdgeToEdge;
|
|
7
|
+
exports.withEdgeToEdge = exports.default = void 0;
|
|
8
|
+
function _configPlugins() {
|
|
9
|
+
const data = require("@expo/config-plugins");
|
|
10
|
+
_configPlugins = function () {
|
|
11
|
+
return data;
|
|
12
|
+
};
|
|
13
|
+
return data;
|
|
14
|
+
}
|
|
15
|
+
function _helpers() {
|
|
16
|
+
const data = require("./helpers");
|
|
17
|
+
_helpers = function () {
|
|
18
|
+
return data;
|
|
19
|
+
};
|
|
20
|
+
return data;
|
|
21
|
+
}
|
|
22
|
+
function _withConfigureEdgeToEdgeEnforcement() {
|
|
23
|
+
const data = require("./withConfigureEdgeToEdgeEnforcement");
|
|
24
|
+
_withConfigureEdgeToEdgeEnforcement = function () {
|
|
25
|
+
return data;
|
|
26
|
+
};
|
|
27
|
+
return data;
|
|
28
|
+
}
|
|
29
|
+
function _withEdgeToEdgeEnabledGradleProperties() {
|
|
30
|
+
const data = require("./withEdgeToEdgeEnabledGradleProperties");
|
|
31
|
+
_withEdgeToEdgeEnabledGradleProperties = function () {
|
|
32
|
+
return data;
|
|
33
|
+
};
|
|
34
|
+
return data;
|
|
35
|
+
}
|
|
36
|
+
function _withRestoreDefaultTheme() {
|
|
37
|
+
const data = require("./withRestoreDefaultTheme");
|
|
38
|
+
_withRestoreDefaultTheme = function () {
|
|
39
|
+
return data;
|
|
40
|
+
};
|
|
41
|
+
return data;
|
|
42
|
+
}
|
|
43
|
+
const TAG = 'EDGE_TO_EDGE_PLUGIN';
|
|
44
|
+
const withEdgeToEdge = (config, {
|
|
45
|
+
projectRoot
|
|
46
|
+
}) => {
|
|
47
|
+
return applyEdgeToEdge(config, projectRoot);
|
|
48
|
+
};
|
|
49
|
+
exports.withEdgeToEdge = withEdgeToEdge;
|
|
50
|
+
function applyEdgeToEdge(config, projectRoot) {
|
|
51
|
+
// Check if someone has manually configured the config plugin
|
|
52
|
+
const pluginIndex = (0, _helpers().edgeToEdgePluginIndex)(config);
|
|
53
|
+
if (config.android?.edgeToEdgeEnabled === undefined && pluginIndex === null) {
|
|
54
|
+
_configPlugins().WarningAggregator.addWarningAndroid(TAG, 'No configuration found for `edgeToEdgeEnabled` field in the project app config, falling back to false. In Android 16+ (targetSdkVersion 36) it will no longer be possible to disable edge-to-edge. Learn more:', 'https://expo.fyi/edge-to-edge-rollout');
|
|
55
|
+
} else if (config.android?.edgeToEdgeEnabled === false && pluginIndex === null) {
|
|
56
|
+
_configPlugins().WarningAggregator.addWarningAndroid(TAG, '`edgeToEdgeEnabled` field is explicitly set to false in the project app config. In Android 16+ (targetSdkVersion 36) it will no longer be possible to disable edge-to-edge. Learn more:', 'https://expo.fyi/edge-to-edge-rollout');
|
|
57
|
+
}
|
|
58
|
+
const edgeToEdgeConfigPlugin = (0, _helpers().loadEdgeToEdgeConfigPlugin)(projectRoot);
|
|
59
|
+
if (edgeToEdgeConfigPlugin === null) {
|
|
60
|
+
_configPlugins().WarningAggregator.addWarningAndroid(TAG, 'Failed to load the react-native-edge-to-edge config plugin, edge to edge functionality will be disabled. ' + 'To enable edge-to-edge make sure that `react-native-edge-to-edge` is installed in your project.');
|
|
61
|
+
|
|
62
|
+
// Disable edge-to-edge enforcement if the plugin is not installed
|
|
63
|
+
config = (0, _withConfigureEdgeToEdgeEnforcement().withConfigureEdgeToEdgeEnforcement)(config, {
|
|
64
|
+
disableEdgeToEdgeEnforcement: true
|
|
65
|
+
});
|
|
66
|
+
config = (0, _withEdgeToEdgeEnabledGradleProperties().withEdgeToEdgeEnabledGradleProperties)(config, {
|
|
67
|
+
edgeToEdgeEnabled: false
|
|
68
|
+
});
|
|
69
|
+
return (0, _withRestoreDefaultTheme().withRestoreDefaultTheme)(config);
|
|
70
|
+
}
|
|
71
|
+
const edgeToEdgeEnabled = (0, _helpers().hasEnabledEdgeToEdge)(config);
|
|
72
|
+
config = (0, _withEdgeToEdgeEnabledGradleProperties().withEdgeToEdgeEnabledGradleProperties)(config, {
|
|
73
|
+
edgeToEdgeEnabled
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
// Enable/disable edge-to-edge enforcement
|
|
77
|
+
config = (0, _withConfigureEdgeToEdgeEnforcement().withConfigureEdgeToEdgeEnforcement)(config, {
|
|
78
|
+
disableEdgeToEdgeEnforcement: !edgeToEdgeEnabled
|
|
79
|
+
});
|
|
80
|
+
if (pluginIndex !== null) {
|
|
81
|
+
const warning = constructWarning(pluginIndex, config);
|
|
82
|
+
if (warning) {
|
|
83
|
+
_configPlugins().WarningAggregator.addWarningAndroid('EDGE_TO_EDGE_CONFLICT', warning);
|
|
84
|
+
}
|
|
85
|
+
return config;
|
|
86
|
+
}
|
|
87
|
+
if (config.android?.edgeToEdgeEnabled !== true) {
|
|
88
|
+
return (0, _withRestoreDefaultTheme().withRestoreDefaultTheme)(config);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// Run `react-native-edge-to-edge` config plugin configuration if edge-to-edge is enabled and the user hasn't added their own
|
|
92
|
+
// plugin configuration in `app.json` / `app.config.json`.
|
|
93
|
+
return edgeToEdgeConfigPlugin(config, {
|
|
94
|
+
android: {
|
|
95
|
+
parentTheme: 'Default',
|
|
96
|
+
enforceNavigationBarContrast: true
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
function constructWarning(pluginIndex, config) {
|
|
101
|
+
if (pluginIndex === null) {
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
if ((0, _helpers().hasEnabledEdgeToEdge)(config) && config?.android?.edgeToEdgeEnabled === false) {
|
|
105
|
+
return `You have configured the \`react-native-edge-to-edge\` plugin in your config file, while also setting the \`android.edgeToEdgeEnabled\` ` + `field to \`false\`. The value of \`android.edgeToEdgeEnabled\` field will be ignored`;
|
|
106
|
+
}
|
|
107
|
+
return null;
|
|
108
|
+
}
|
|
109
|
+
var _default = exports.default = withEdgeToEdge;
|
|
110
|
+
//# sourceMappingURL=withEdgeToEdge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withEdgeToEdge.js","names":["_configPlugins","data","require","_helpers","_withConfigureEdgeToEdgeEnforcement","_withEdgeToEdgeEnabledGradleProperties","_withRestoreDefaultTheme","TAG","withEdgeToEdge","config","projectRoot","applyEdgeToEdge","exports","pluginIndex","edgeToEdgePluginIndex","android","edgeToEdgeEnabled","undefined","WarningAggregator","addWarningAndroid","edgeToEdgeConfigPlugin","loadEdgeToEdgeConfigPlugin","withConfigureEdgeToEdgeEnforcement","disableEdgeToEdgeEnforcement","withEdgeToEdgeEnabledGradleProperties","withRestoreDefaultTheme","hasEnabledEdgeToEdge","warning","constructWarning","parentTheme","enforceNavigationBarContrast","_default","default"],"sources":["../../../../src/plugins/unversioned/react-native-edge-to-edge/withEdgeToEdge.ts"],"sourcesContent":["import {\n ConfigPlugin,\n ExportedConfigWithProps,\n WarningAggregator,\n AndroidConfig,\n} from '@expo/config-plugins';\nimport { type ExpoConfig } from '@expo/config-types';\n\nimport { edgeToEdgePluginIndex, hasEnabledEdgeToEdge, loadEdgeToEdgeConfigPlugin } from './helpers';\nimport { withConfigureEdgeToEdgeEnforcement } from './withConfigureEdgeToEdgeEnforcement';\nimport { withEdgeToEdgeEnabledGradleProperties } from './withEdgeToEdgeEnabledGradleProperties';\nimport { withRestoreDefaultTheme } from './withRestoreDefaultTheme';\n\nconst TAG = 'EDGE_TO_EDGE_PLUGIN';\n\nexport type EdgeToEdgePlugin = ConfigPlugin<{\n android: {\n parentTheme?: string;\n enforceNavigationBarContrast?: boolean;\n };\n}>;\n\nexport type ResourceXMLConfig = ExportedConfigWithProps<AndroidConfig.Resources.ResourceXML>;\nexport type GradlePropertiesConfig = ExportedConfigWithProps<\n AndroidConfig.Properties.PropertiesItem[]\n>;\n\nexport const withEdgeToEdge: ConfigPlugin<{ projectRoot: string }> = (config, { projectRoot }) => {\n return applyEdgeToEdge(config, projectRoot);\n};\n\nexport function applyEdgeToEdge(config: ExpoConfig, projectRoot: string): ExpoConfig {\n // Check if someone has manually configured the config plugin\n const pluginIndex = edgeToEdgePluginIndex(config);\n if (config.android?.edgeToEdgeEnabled === undefined && pluginIndex === null) {\n WarningAggregator.addWarningAndroid(\n TAG,\n 'No configuration found for `edgeToEdgeEnabled` field in the project app config, falling back to false. In Android 16+ (targetSdkVersion 36) it will no longer be possible to disable edge-to-edge. Learn more:',\n 'https://expo.fyi/edge-to-edge-rollout'\n );\n } else if (config.android?.edgeToEdgeEnabled === false && pluginIndex === null) {\n WarningAggregator.addWarningAndroid(\n TAG,\n '`edgeToEdgeEnabled` field is explicitly set to false in the project app config. In Android 16+ (targetSdkVersion 36) it will no longer be possible to disable edge-to-edge. Learn more:',\n 'https://expo.fyi/edge-to-edge-rollout'\n );\n }\n\n const edgeToEdgeConfigPlugin = loadEdgeToEdgeConfigPlugin(projectRoot);\n\n if (edgeToEdgeConfigPlugin === null) {\n WarningAggregator.addWarningAndroid(\n TAG,\n 'Failed to load the react-native-edge-to-edge config plugin, edge to edge functionality will be disabled. ' +\n 'To enable edge-to-edge make sure that `react-native-edge-to-edge` is installed in your project.'\n );\n\n // Disable edge-to-edge enforcement if the plugin is not installed\n config = withConfigureEdgeToEdgeEnforcement(config, {\n disableEdgeToEdgeEnforcement: true,\n });\n\n config = withEdgeToEdgeEnabledGradleProperties(config, { edgeToEdgeEnabled: false });\n return withRestoreDefaultTheme(config);\n }\n const edgeToEdgeEnabled = hasEnabledEdgeToEdge(config);\n\n config = withEdgeToEdgeEnabledGradleProperties(config, { edgeToEdgeEnabled });\n\n // Enable/disable edge-to-edge enforcement\n config = withConfigureEdgeToEdgeEnforcement(config, {\n disableEdgeToEdgeEnforcement: !edgeToEdgeEnabled,\n });\n\n if (pluginIndex !== null) {\n const warning = constructWarning(pluginIndex, config);\n if (warning) {\n WarningAggregator.addWarningAndroid('EDGE_TO_EDGE_CONFLICT', warning);\n }\n return config;\n }\n\n if (config.android?.edgeToEdgeEnabled !== true) {\n return withRestoreDefaultTheme(config);\n }\n\n // Run `react-native-edge-to-edge` config plugin configuration if edge-to-edge is enabled and the user hasn't added their own\n // plugin configuration in `app.json` / `app.config.json`.\n return edgeToEdgeConfigPlugin(config, {\n android: {\n parentTheme: 'Default',\n enforceNavigationBarContrast: true,\n },\n });\n}\n\nfunction constructWarning(pluginIndex: number | null, config: ExpoConfig): string | null {\n if (pluginIndex === null) {\n return null;\n }\n\n if (hasEnabledEdgeToEdge(config) && config?.android?.edgeToEdgeEnabled === false) {\n return (\n `You have configured the \\`react-native-edge-to-edge\\` plugin in your config file, while also setting the \\`android.edgeToEdgeEnabled\\` ` +\n `field to \\`false\\`. The value of \\`android.edgeToEdgeEnabled\\` field will be ignored`\n );\n }\n return null;\n}\n\nexport default withEdgeToEdge;\n"],"mappings":";;;;;;;AAAA,SAAAA,eAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,cAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAQA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,oCAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,mCAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,uCAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,sCAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,yBAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,wBAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,MAAMM,GAAG,GAAG,qBAAqB;AAc1B,MAAMC,cAAqD,GAAGA,CAACC,MAAM,EAAE;EAAEC;AAAY,CAAC,KAAK;EAChG,OAAOC,eAAe,CAACF,MAAM,EAAEC,WAAW,CAAC;AAC7C,CAAC;AAACE,OAAA,CAAAJ,cAAA,GAAAA,cAAA;AAEK,SAASG,eAAeA,CAACF,MAAkB,EAAEC,WAAmB,EAAc;EACnF;EACA,MAAMG,WAAW,GAAG,IAAAC,gCAAqB,EAACL,MAAM,CAAC;EACjD,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AAM;EACf;EAEA,IAAIA,MAAM,CAACM,OAAO,EAAEC,iBAAiB,KAAK,IAAI,EAAE;IAC9C,OAAO,IAAAS,kDAAuB,EAAChB,MAAM,CAAC;EACxC;;EAEA;EACA;EACA,OAAOW,sBAAsB,CAACX,MAAM,EAAE;IACpCM,OAAO,EAAE;MACPc,WAAW,EAAE,SAAS;MACtBC,4BAA4B,EAAE;IAChC;EACF,CAAC,CAAC;AACJ;AAEA,SAASF,gBAAgBA,CAACf,WAA0B,EAAEJ,MAAkB,EAAiB;EACvF,IAAII,WAAW,KAAK,IAAI,EAAE;IACxB,OAAO,IAAI;EACb;EAEA,IAAI,IAAAa,+BAAoB,EAACjB,MAAM,CAAC,IAAIA,MAAM,EAAEM,OAAO,EAAEC,iBAAiB,KAAK,KAAK,EAAE;IAChF,OACE,yIAAyI,GACzI,sFAAsF;EAE1F;EACA,OAAO,IAAI;AACb;AAAC,IAAAe,QAAA,GAAAnB,OAAA,CAAAoB,OAAA,GAEcxB,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ExpoConfig } from '@expo/config-types';
|
|
2
|
+
import { GradlePropertiesConfig } from './withEdgeToEdge';
|
|
3
|
+
export declare function withEdgeToEdgeEnabledGradleProperties(config: ExpoConfig, props: {
|
|
4
|
+
edgeToEdgeEnabled: boolean;
|
|
5
|
+
}): ExpoConfig;
|
|
6
|
+
export declare function configureEdgeToEdgeEnabledGradleProperties(config: GradlePropertiesConfig, edgeToEdgeEnabled: boolean): GradlePropertiesConfig;
|
package/build/plugins/unversioned/react-native-edge-to-edge/withEdgeToEdgeEnabledGradleProperties.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.configureEdgeToEdgeEnabledGradleProperties = configureEdgeToEdgeEnabledGradleProperties;
|
|
7
|
+
exports.withEdgeToEdgeEnabledGradleProperties = withEdgeToEdgeEnabledGradleProperties;
|
|
8
|
+
function _configPlugins() {
|
|
9
|
+
const data = require("@expo/config-plugins");
|
|
10
|
+
_configPlugins = function () {
|
|
11
|
+
return data;
|
|
12
|
+
};
|
|
13
|
+
return data;
|
|
14
|
+
}
|
|
15
|
+
const EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_KEY = 'expo.edgeToEdgeEnabled';
|
|
16
|
+
const EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_COMMENT = 'Whether the app is configured to use edge-to-edge via the app config or `react-native-edge-to-edge` plugin';
|
|
17
|
+
function withEdgeToEdgeEnabledGradleProperties(config, props) {
|
|
18
|
+
return (0, _configPlugins().withGradleProperties)(config, config => {
|
|
19
|
+
return configureEdgeToEdgeEnabledGradleProperties(config, props.edgeToEdgeEnabled);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function configureEdgeToEdgeEnabledGradleProperties(config, edgeToEdgeEnabled) {
|
|
23
|
+
const propertyIndex = config.modResults.findIndex(item => item.type === 'property' && item.key === EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_KEY);
|
|
24
|
+
if (propertyIndex !== -1) {
|
|
25
|
+
config.modResults.splice(propertyIndex, 1);
|
|
26
|
+
}
|
|
27
|
+
const commentIndex = config.modResults.findIndex(item => item.type === 'comment' && item.value === EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_COMMENT);
|
|
28
|
+
if (commentIndex !== -1) {
|
|
29
|
+
config.modResults.splice(commentIndex, 1);
|
|
30
|
+
}
|
|
31
|
+
config.modResults.push({
|
|
32
|
+
type: 'comment',
|
|
33
|
+
value: EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_COMMENT
|
|
34
|
+
});
|
|
35
|
+
config.modResults.push({
|
|
36
|
+
type: 'property',
|
|
37
|
+
key: EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_KEY,
|
|
38
|
+
value: edgeToEdgeEnabled ? 'true' : 'false'
|
|
39
|
+
});
|
|
40
|
+
return config;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=withEdgeToEdgeEnabledGradleProperties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withEdgeToEdgeEnabledGradleProperties.js","names":["_configPlugins","data","require","EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_KEY","EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_COMMENT","withEdgeToEdgeEnabledGradleProperties","config","props","withGradleProperties","configureEdgeToEdgeEnabledGradleProperties","edgeToEdgeEnabled","propertyIndex","modResults","findIndex","item","type","key","splice","commentIndex","value","push"],"sources":["../../../../src/plugins/unversioned/react-native-edge-to-edge/withEdgeToEdgeEnabledGradleProperties.ts"],"sourcesContent":["import { withGradleProperties } from '@expo/config-plugins';\nimport type { ExpoConfig } from '@expo/config-types';\n\nimport { GradlePropertiesConfig } from './withEdgeToEdge';\n\nconst EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_KEY = 'expo.edgeToEdgeEnabled';\nconst EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_COMMENT =\n 'Whether the app is configured to use edge-to-edge via the app config or `react-native-edge-to-edge` plugin';\n\nexport function withEdgeToEdgeEnabledGradleProperties(\n config: ExpoConfig,\n props: {\n edgeToEdgeEnabled: boolean;\n }\n) {\n return withGradleProperties(config, (config) => {\n return configureEdgeToEdgeEnabledGradleProperties(config, props.edgeToEdgeEnabled);\n });\n}\n\nexport function configureEdgeToEdgeEnabledGradleProperties(\n config: GradlePropertiesConfig,\n edgeToEdgeEnabled: boolean\n): GradlePropertiesConfig {\n const propertyIndex = config.modResults.findIndex(\n (item) => item.type === 'property' && item.key === EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_KEY\n );\n if (propertyIndex !== -1) {\n config.modResults.splice(propertyIndex, 1);\n }\n const commentIndex = config.modResults.findIndex(\n (item) => item.type === 'comment' && item.value === EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_COMMENT\n );\n if (commentIndex !== -1) {\n config.modResults.splice(commentIndex, 1);\n }\n\n config.modResults.push({\n type: 'comment',\n value: EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_COMMENT,\n });\n config.modResults.push({\n type: 'property',\n key: EDGE_TO_EDGE_ENABLED_GRADLE_PROPERTY_KEY,\n value: edgeToEdgeEnabled ? 'true' : 'false',\n });\n\n return config;\n}\n"],"mappings":";;;;;;;AAAA,SAAAA,eAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,cAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAKA,MAAME,wCAAwC,GAAG,wBAAwB;AACzE,MAAMC,4CAA4C,GAChD,4GAA4G;AAEvG,SAASC,qCAAqCA,CACnDC,MAAkB,EAClBC,KAEC,EACD;EACA,OAAO,IAAAC,qCAAoB,EAACF,MAAM,EAAGA,MAAM,IAAK;IAC9C,OAAOG,0CAA0C,CAACH,MAAM,EAAEC,KAAK,CAACG,iBAAiB,CAAC;EACpF,CAAC,CAAC;AACJ;AAEO,SAASD,0CAA0CA,CACxDH,MAA8B,EAC9BI,iBAA0B,EACF;EACxB,MAAMC,aAAa,GAAGL,MAAM,CAACM,UAAU,CAACC,SAAS,CAC9CC,IAAI,IAAKA,IAAI,CAACC,IAAI,KAAK,UAAU,IAAID,IAAI,CAACE,GAAG,KAAKb,wCACrD,CAAC;EACD,IAAIQ,aAAa,KAAK,CAAC,CAAC,EAAE;IACxBL,MAAM,CAACM,UAAU,CAACK,MAAM,CAACN,aAAa,EAAE,CAAC,CAAC;EAC5C;EACA,MAAMO,YAAY,GAAGZ,MAAM,CAACM,UAAU,CAACC,SAAS,CAC7CC,IAAI,IAAKA,IAAI,CAACC,IAAI,KAAK,SAAS,IAAID,IAAI,CAACK,KAAK,KAAKf,4CACtD,CAAC;EACD,IAAIc,YAAY,KAAK,CAAC,CAAC,EAAE;IACvBZ,MAAM,CAACM,UAAU,CAACK,MAAM,CAACC,YAAY,EAAE,CAAC,CAAC;EAC3C;EAEAZ,MAAM,CAACM,UAAU,CAACQ,IAAI,CAAC;IACrBL,IAAI,EAAE,SAAS;IACfI,KAAK,EAAEf;EACT,CAAC,CAAC;EACFE,MAAM,CAACM,UAAU,CAACQ,IAAI,CAAC;IACrBL,IAAI,EAAE,UAAU;IAChBC,GAAG,EAAEb,wCAAwC;IAC7CgB,KAAK,EAAET,iBAAiB,GAAG,MAAM,GAAG;EACtC,CAAC,CAAC;EAEF,OAAOJ,MAAM;AACf","ignoreList":[]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.restoreDefaultTheme = restoreDefaultTheme;
|
|
7
|
+
exports.withRestoreDefaultTheme = void 0;
|
|
8
|
+
function _configPlugins() {
|
|
9
|
+
const data = require("@expo/config-plugins");
|
|
10
|
+
_configPlugins = function () {
|
|
11
|
+
return data;
|
|
12
|
+
};
|
|
13
|
+
return data;
|
|
14
|
+
}
|
|
15
|
+
const withRestoreDefaultTheme = config => {
|
|
16
|
+
// Default theme for SDK 53 and onwards projects
|
|
17
|
+
return (0, _configPlugins().withAndroidStyles)(config, config => {
|
|
18
|
+
return restoreDefaultTheme(config);
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
exports.withRestoreDefaultTheme = withRestoreDefaultTheme;
|
|
22
|
+
function restoreDefaultTheme(config) {
|
|
23
|
+
const DEFAULT_THEME = 'Theme.AppCompat.DayNight.NoActionBar';
|
|
24
|
+
const {
|
|
25
|
+
style = []
|
|
26
|
+
} = config.modResults.resources;
|
|
27
|
+
const mainThemeIndex = style.findIndex(({
|
|
28
|
+
$
|
|
29
|
+
}) => $.name === 'AppTheme');
|
|
30
|
+
if (mainThemeIndex === -1) {
|
|
31
|
+
return config;
|
|
32
|
+
}
|
|
33
|
+
if (style[mainThemeIndex].$?.parent.includes('EdgeToEdge')) {
|
|
34
|
+
config.modResults.resources.style = [{
|
|
35
|
+
$: {
|
|
36
|
+
name: 'AppTheme',
|
|
37
|
+
parent: DEFAULT_THEME
|
|
38
|
+
},
|
|
39
|
+
item: style[mainThemeIndex].item
|
|
40
|
+
}, ...style.filter(({
|
|
41
|
+
$
|
|
42
|
+
}) => $.name !== 'AppTheme')];
|
|
43
|
+
}
|
|
44
|
+
return config;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=withRestoreDefaultTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withRestoreDefaultTheme.js","names":["_configPlugins","data","require","withRestoreDefaultTheme","config","withAndroidStyles","restoreDefaultTheme","exports","DEFAULT_THEME","style","modResults","resources","mainThemeIndex","findIndex","$","name","parent","includes","item","filter"],"sources":["../../../../src/plugins/unversioned/react-native-edge-to-edge/withRestoreDefaultTheme.ts"],"sourcesContent":["import { ConfigPlugin, withAndroidStyles } from '@expo/config-plugins';\n\nimport { ResourceXMLConfig } from './withEdgeToEdge';\n\nexport const withRestoreDefaultTheme: ConfigPlugin = (config) => {\n // Default theme for SDK 53 and onwards projects\n return withAndroidStyles(config, (config) => {\n return restoreDefaultTheme(config);\n });\n};\n\nexport function restoreDefaultTheme(config: ResourceXMLConfig): ResourceXMLConfig {\n const DEFAULT_THEME = 'Theme.AppCompat.DayNight.NoActionBar';\n\n const { style = [] } = config.modResults.resources;\n const mainThemeIndex = style.findIndex(({ $ }) => $.name === 'AppTheme');\n if (mainThemeIndex === -1) {\n return config;\n }\n\n if (style[mainThemeIndex].$?.parent.includes('EdgeToEdge')) {\n config.modResults.resources.style = [\n {\n $: {\n name: 'AppTheme',\n parent: DEFAULT_THEME,\n },\n item: style[mainThemeIndex].item,\n },\n ...style.filter(({ $ }) => $.name !== 'AppTheme'),\n ];\n }\n return config;\n}\n"],"mappings":";;;;;;;AAAA,SAAAA,eAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,cAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIO,MAAME,uBAAqC,GAAIC,MAAM,IAAK;EAC/D;EACA,OAAO,IAAAC,kCAAiB,EAACD,MAAM,EAAGA,MAAM,IAAK;IAC3C,OAAOE,mBAAmB,CAACF,MAAM,CAAC;EACpC,CAAC,CAAC;AACJ,CAAC;AAACG,OAAA,CAAAJ,uBAAA,GAAAA,uBAAA;AAEK,SAASG,mBAAmBA,CAACF,MAAyB,EAAqB;EAChF,MAAMI,aAAa,GAAG,sCAAsC;EAE5D,MAAM;IAAEC,KAAK,GAAG;EAAG,CAAC,GAAGL,MAAM,CAACM,UAAU,CAACC,SAAS;EAClD,MAAMC,cAAc,GAAGH,KAAK,CAACI,SAAS,CAAC,CAAC;IAAEC;EAAE,CAAC,KAAKA,CAAC,CAACC,IAAI,KAAK,UAAU,CAAC;EACxE,IAAIH,cAAc,KAAK,CAAC,CAAC,EAAE;IACzB,OAAOR,MAAM;EACf;EAEA,IAAIK,KAAK,CAACG,cAAc,CAAC,CAACE,CAAC,EAAEE,MAAM,CAACC,QAAQ,CAAC,YAAY,CAAC,EAAE;IAC1Db,MAAM,CAACM,UAAU,CAACC,SAAS,CAACF,KAAK,GAAG,CAClC;MACEK,CAAC,EAAE;QACDC,IAAI,EAAE,UAAU;QAChBC,MAAM,EAAER;MACV,CAAC;MACDU,IAAI,EAAET,KAAK,CAACG,cAAc,CAAC,CAACM;IAC9B,CAAC,EACD,GAAGT,KAAK,CAACU,MAAM,CAAC,CAAC;MAAEL;IAAE,CAAC,KAAKA,CAAC,CAACC,IAAI,KAAK,UAAU,CAAC,CAClD;EACH;EACA,OAAOX,MAAM;AACf","ignoreList":[]}
|
|
@@ -16,6 +16,7 @@ export declare const withIosExpoPlugins: ConfigPlugin<{
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const withAndroidExpoPlugins: ConfigPlugin<{
|
|
18
18
|
package: string;
|
|
19
|
+
projectRoot: string;
|
|
19
20
|
}>;
|
|
20
21
|
export declare const withVersionedExpoSDKPlugins: ConfigPlugin;
|
|
21
22
|
export declare function getAutoPlugins(): string[];
|
|
@@ -120,6 +120,13 @@ function _expoUpdates() {
|
|
|
120
120
|
};
|
|
121
121
|
return data;
|
|
122
122
|
}
|
|
123
|
+
function _withEdgeToEdge() {
|
|
124
|
+
const data = _interopRequireDefault(require("./unversioned/react-native-edge-to-edge/withEdgeToEdge"));
|
|
125
|
+
_withEdgeToEdge = function () {
|
|
126
|
+
return data;
|
|
127
|
+
};
|
|
128
|
+
return data;
|
|
129
|
+
}
|
|
123
130
|
function _reactNativeMaps() {
|
|
124
131
|
const data = _interopRequireDefault(require("./unversioned/react-native-maps"));
|
|
125
132
|
_reactNativeMaps = function () {
|
|
@@ -183,7 +190,7 @@ const withAndroidExpoPlugins = (config, props) => {
|
|
|
183
190
|
// Dangerous -- these plugins run in reverse order.
|
|
184
191
|
_configPlugins().AndroidConfig.GoogleServices.withGoogleServicesFile, _ReactNative77CompatPlugin().withSdk52ReactNative77CompatAndroid, _ReactNative78CompatPlugin().withSdk52ReactNative78CompatAndroid,
|
|
185
192
|
// Modify colors.xml and styles.xml
|
|
186
|
-
_configPlugins().AndroidConfig.StatusBar.withStatusBar, _configPlugins().AndroidConfig.PrimaryColor.withPrimaryColor, _withAndroidIcons().withAndroidIcons,
|
|
193
|
+
_configPlugins().AndroidConfig.StatusBar.withStatusBar, _configPlugins().AndroidConfig.PrimaryColor.withPrimaryColor, config => (0, _withEdgeToEdge().default)(config, props), _withAndroidIcons().withAndroidIcons,
|
|
187
194
|
// If we renamed the package, we should also move it around and rename it in source files
|
|
188
195
|
// Added last to ensure this plugin runs first. Out of tree solutions will mistakenly resolve the package incorrectly otherwise.
|
|
189
196
|
_configPlugins().AndroidConfig.Package.withPackageRefactor]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withDefaultPlugins.js","names":["_configPlugins","data","require","_debug","_interopRequireDefault","_getAutolinkedPackages","_withAndroidIcons","_withIosIcons","_ReactNative77CompatPlugin","_ReactNative78CompatPlugin","_expoAdsAdmob","_expoAppleAuthentication","_expoContacts","_expoDocumentPicker","_expoNavigationBar","_expoNotifications","_expoSplashScreen","_expoSystemUi","_expoUpdates","_reactNativeMaps","e","__esModule","default","debug","Debug","withIosExpoPlugins","config","bundleIdentifier","ios","withPlugins","IOSConfig","BundleIdentifier","withBundleIdentifier","Google","withGoogle","Name","withDisplayName","withProductName","Orientation","withOrientation","RequiresFullScreen","withRequiresFullScreen","Scheme","withScheme","UsesNonExemptEncryption","withUsesNonExemptEncryption","Version","withBuildNumber","withVersion","withGoogleServicesFile","BuildProperties","withJsEnginePodfileProps","withNewArchEnabledPodfileProps","Entitlements","withAssociatedDomains","DeviceFamily","withDeviceFamily","Bitcode","withBitcode","Locales","withLocales","DevelopmentTeam","withDevelopmentTeam","withIosIcons","PrivacyInfo","withPrivacyInfo","exports","withAndroidExpoPlugins","props","android","package","AndroidConfig","withJsEngineGradleProps","withNewArchEnabledGradleProps","withNameSettingsGradle","GoogleServices","withClassPath","withApplyPlugin","Package","withPackageGradle","AllowBackup","withAllowBackup","WindowSoftInputMode","withWindowSoftInputMode","IntentFilters","withAndroidIntentFilters","Permissions","withInternalBlockedPermissions","withPermissions","withName","withSdk52ReactNative77CompatAndroid","withSdk52ReactNative78CompatAndroid","StatusBar","withStatusBar","PrimaryColor","withPrimaryColor","withAndroidIcons","withPackageRefactor","versionedExpoSDKPackages","withVersionedExpoSDKPlugins","withMaps","withAdMob","withAppleAuthentication","withContacts","withNotifications","withUpdates","withDocumentPicker","withSystemUI","withSplashScreen","withNavigationBar","getAutoPlugins","concat","legacyExpoPlugins","expoManagedVersionedPlugins","getLegacyExpoPlugins","withOptionalLegacyPlugins","plugins","reduce","prev","plugin","shouldSkipAutoPlugin","withStaticPlugin","_isLegacyPlugin","fallback","withLegacyExpoPlugins","Set"],"sources":["../../src/plugins/withDefaultPlugins.ts"],"sourcesContent":["/**\n * These are the versioned first-party plugins with some of the future third-party plugins mixed in for legacy support.\n */\nimport {\n AndroidConfig,\n ConfigPlugin,\n IOSConfig,\n StaticPlugin,\n withPlugins,\n withStaticPlugin,\n} from '@expo/config-plugins';\nimport { ExpoConfig } from '@expo/config-types';\nimport Debug from 'debug';\n\nimport { shouldSkipAutoPlugin } from '../getAutolinkedPackages';\nimport { withAndroidIcons } from './icons/withAndroidIcons';\nimport { withIosIcons } from './icons/withIosIcons';\nimport { withSdk52ReactNative77CompatAndroid } from './sdk52/ReactNative77CompatPlugin';\nimport { withSdk52ReactNative78CompatAndroid } from './sdk52/ReactNative78CompatPlugin';\nimport withAdMob from './unversioned/expo-ads-admob/expo-ads-admob';\nimport withAppleAuthentication from './unversioned/expo-apple-authentication';\nimport withContacts from './unversioned/expo-contacts';\nimport withDocumentPicker from './unversioned/expo-document-picker';\nimport withNavigationBar from './unversioned/expo-navigation-bar/expo-navigation-bar';\nimport withNotifications from './unversioned/expo-notifications/expo-notifications';\nimport withSplashScreen from './unversioned/expo-splash-screen/expo-splash-screen';\nimport withSystemUI from './unversioned/expo-system-ui/expo-system-ui';\nimport withUpdates from './unversioned/expo-updates';\nimport withMaps from './unversioned/react-native-maps';\n\nconst debug = Debug('expo:prebuild-config');\n\n/**\n * Config plugin to apply all of the custom Expo iOS config plugins we support by default.\n * TODO: In the future most of this should go into versioned packages like expo-updates, etc...\n */\nexport const withIosExpoPlugins: ConfigPlugin<{\n bundleIdentifier: string;\n}> = (config, { bundleIdentifier }) => {\n // Set the bundle ID ahead of time.\n if (!config.ios) config.ios = {};\n config.ios.bundleIdentifier = bundleIdentifier;\n\n return withPlugins(config, [\n [IOSConfig.BundleIdentifier.withBundleIdentifier, { bundleIdentifier }],\n IOSConfig.Google.withGoogle,\n IOSConfig.Name.withDisplayName,\n IOSConfig.Name.withProductName,\n IOSConfig.Orientation.withOrientation,\n IOSConfig.RequiresFullScreen.withRequiresFullScreen,\n IOSConfig.Scheme.withScheme,\n IOSConfig.UsesNonExemptEncryption.withUsesNonExemptEncryption,\n IOSConfig.Version.withBuildNumber,\n IOSConfig.Version.withVersion,\n IOSConfig.Google.withGoogleServicesFile,\n IOSConfig.BuildProperties.withJsEnginePodfileProps,\n IOSConfig.BuildProperties.withNewArchEnabledPodfileProps,\n // Entitlements\n IOSConfig.Entitlements.withAssociatedDomains,\n // XcodeProject\n IOSConfig.DeviceFamily.withDeviceFamily,\n IOSConfig.Bitcode.withBitcode,\n IOSConfig.Locales.withLocales,\n IOSConfig.DevelopmentTeam.withDevelopmentTeam,\n // Dangerous\n withIosIcons,\n IOSConfig.PrivacyInfo.withPrivacyInfo,\n ]);\n};\n\n/**\n * Config plugin to apply all of the custom Expo Android config plugins we support by default.\n * TODO: In the future most of this should go into versioned packages like expo-updates, etc...\n */\nexport const withAndroidExpoPlugins: ConfigPlugin<{\n package: string;\n}> = (config, props) => {\n // Set the package name ahead of time.\n if (!config.android) config.android = {};\n config.android.package = props.package;\n\n return withPlugins(config, [\n // gradle.properties\n AndroidConfig.BuildProperties.withJsEngineGradleProps,\n AndroidConfig.BuildProperties.withNewArchEnabledGradleProps,\n\n // settings.gradle\n AndroidConfig.Name.withNameSettingsGradle,\n\n // project build.gradle\n AndroidConfig.GoogleServices.withClassPath,\n\n // app/build.gradle\n AndroidConfig.GoogleServices.withApplyPlugin,\n AndroidConfig.Package.withPackageGradle,\n AndroidConfig.Version.withVersion,\n\n // AndroidManifest.xml\n AndroidConfig.AllowBackup.withAllowBackup,\n AndroidConfig.WindowSoftInputMode.withWindowSoftInputMode,\n // Note: The withAndroidIntentFilters plugin must appear before the withScheme\n // plugin or withScheme will override the output of withAndroidIntentFilters.\n AndroidConfig.IntentFilters.withAndroidIntentFilters,\n AndroidConfig.Scheme.withScheme,\n AndroidConfig.Orientation.withOrientation,\n AndroidConfig.Permissions.withInternalBlockedPermissions,\n AndroidConfig.Permissions.withPermissions,\n\n // strings.xml\n AndroidConfig.Name.withName,\n\n // Dangerous -- these plugins run in reverse order.\n AndroidConfig.GoogleServices.withGoogleServicesFile,\n withSdk52ReactNative77CompatAndroid,\n withSdk52ReactNative78CompatAndroid,\n\n // Modify colors.xml and styles.xml\n AndroidConfig.StatusBar.withStatusBar,\n AndroidConfig.PrimaryColor.withPrimaryColor,\n\n withAndroidIcons,\n // If we renamed the package, we should also move it around and rename it in source files\n // Added last to ensure this plugin runs first. Out of tree solutions will mistakenly resolve the package incorrectly otherwise.\n AndroidConfig.Package.withPackageRefactor,\n ]);\n};\n\n// Must keep in sync with `withVersionedExpoSDKPlugins`\nconst versionedExpoSDKPackages: string[] = [\n 'react-native-maps',\n 'expo-ads-admob',\n 'expo-apple-authentication',\n 'expo-contacts',\n 'expo-notifications',\n 'expo-updates',\n 'expo-navigation-bar',\n 'expo-document-picker',\n 'expo-splash-screen',\n 'expo-system-ui',\n];\n\nexport const withVersionedExpoSDKPlugins: ConfigPlugin = (config) => {\n return withPlugins(config, [\n withMaps,\n withAdMob,\n withAppleAuthentication,\n withContacts,\n withNotifications,\n withUpdates,\n withDocumentPicker,\n // System UI must come before splash screen as they overlap\n // and splash screen will warn about conflicting rules.\n withSystemUI,\n withSplashScreen,\n withNavigationBar,\n ]);\n};\n\nexport function getAutoPlugins() {\n return versionedExpoSDKPackages.concat(legacyExpoPlugins).concat(expoManagedVersionedPlugins);\n}\n\nexport function getLegacyExpoPlugins() {\n return legacyExpoPlugins;\n}\n\n// Expo managed packages that require extra update.\n// These get applied automatically to create parity with expo build in eas build.\nconst legacyExpoPlugins = [\n 'expo-app-auth',\n 'expo-av',\n 'expo-background-fetch',\n 'expo-brightness',\n 'expo-calendar',\n 'expo-camera',\n 'expo-cellular',\n 'expo-dev-menu',\n 'expo-dev-launcher',\n 'expo-dev-client',\n 'expo-image-picker',\n 'expo-file-system',\n 'expo-location',\n 'expo-media-library',\n 'expo-screen-orientation',\n 'expo-sensors',\n 'expo-task-manager',\n 'expo-local-authentication',\n];\n\n// Plugins that need to be automatically applied, but also get applied by expo-cli if the versioned plugin isn't available.\n// These are split up because the user doesn't need to be prompted to setup these packages.\nconst expoManagedVersionedPlugins = [\n 'expo-firebase-analytics',\n 'expo-firebase-core',\n 'expo-google-sign-in',\n];\n\nconst withOptionalLegacyPlugins: ConfigPlugin<(StaticPlugin | string)[]> = (config, plugins) => {\n return plugins.reduce((prev, plugin) => {\n if (shouldSkipAutoPlugin(config, plugin)) {\n debug('Skipping unlinked auto plugin:', plugin);\n return prev;\n }\n\n return withStaticPlugin(prev, {\n // hide errors\n _isLegacyPlugin: true,\n plugin,\n // If a plugin doesn't exist, do nothing.\n fallback: (config) => config,\n });\n }, config);\n};\n\nexport function withLegacyExpoPlugins(config: ExpoConfig) {\n return withOptionalLegacyPlugins(config, [\n ...new Set(expoManagedVersionedPlugins.concat(legacyExpoPlugins)),\n ]);\n}\n"],"mappings":";;;;;;;;;;AAGA,SAAAA,eAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,cAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AASA,SAAAE,OAAA;EAAA,MAAAF,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,uBAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,sBAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,kBAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,iBAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,cAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,aAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,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ACa,MAAM,CAACC,iBAAiB,CAAC,CAACD,MAAM,CAACE,2BAA2B,CAAC;AAC/F;AAEO,SAASC,oBAAoBA,CAAA,EAAG;EACrC,OAAOF,iBAAiB;AAC1B;;AAEA;AACA;AACA,MAAMA,iBAAiB,GAAG,CACxB,eAAe,EACf,SAAS,EACT,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,2BAA2B,CAC5B;;AAED;AACA;AACA,MAAMC,2BAA2B,GAAG,CAClC,yBAAyB,EACzB,oBAAoB,EACpB,qBAAqB,CACtB;AAED,MAAME,yBAAkE,GAAGA,CAACzF,MAAM,EAAE0F,OAAO,KAAK;EAC9F,OAAOA,OAAO,CAACC,MAAM,CAAC,CAACC,IAAI,EAAEC,MAAM,KAAK;IACtC,IAAI,IAAAC,6CAAoB,EAAC9F,MAAM,EAAE6F,MAAM,CAAC,EAAE;MACxChG,KAAK,CAAC,gCAAgC,EAAEgG,MAAM,CAAC;MAC/C,OAAOD,IAAI;IACb;IAEA,OAAO,IAAAG,iCAAgB,EAACH,IAAI,EAAE;MAC5B;MACAI,eAAe,EAAE,IAAI;MACrBH,MAAM;MACN;MACAI,QAAQ,EAAGjG,MAAM,IAAKA;IACxB,CAAC,CAAC;EACJ,CAAC,EAAEA,MAAM,CAAC;AACZ,CAAC;AAEM,SAASkG,qBAAqBA,CAAClG,MAAkB,EAAE;EACxD,OAAOyF,yBAAyB,CAACzF,MAAM,EAAE,CACvC,GAAG,IAAImG,GAAG,CAACZ,2BAA2B,CAACF,MAAM,CAACC,iBAAiB,CAAC,CAAC,CAClE,CAAC;AACJ","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"withDefaultPlugins.js","names":["_configPlugins","data","require","_debug","_interopRequireDefault","_getAutolinkedPackages","_withAndroidIcons","_withIosIcons","_ReactNative77CompatPlugin","_ReactNative78CompatPlugin","_expoAdsAdmob","_expoAppleAuthentication","_expoContacts","_expoDocumentPicker","_expoNavigationBar","_expoNotifications","_expoSplashScreen","_expoSystemUi","_expoUpdates","_withEdgeToEdge","_reactNativeMaps","e","__esModule","default","debug","Debug","withIosExpoPlugins","config","bundleIdentifier","ios","withPlugins","IOSConfig","BundleIdentifier","withBundleIdentifier","Google","withGoogle","Name","withDisplayName","withProductName","Orientation","withOrientation","RequiresFullScreen","withRequiresFullScreen","Scheme","withScheme","UsesNonExemptEncryption","withUsesNonExemptEncryption","Version","withBuildNumber","withVersion","withGoogleServicesFile","BuildProperties","withJsEnginePodfileProps","withNewArchEnabledPodfileProps","Entitlements","withAssociatedDomains","DeviceFamily","withDeviceFamily","Bitcode","withBitcode","Locales","withLocales","DevelopmentTeam","withDevelopmentTeam","withIosIcons","PrivacyInfo","withPrivacyInfo","exports","withAndroidExpoPlugins","props","android","package","AndroidConfig","withJsEngineGradleProps","withNewArchEnabledGradleProps","withNameSettingsGradle","GoogleServices","withClassPath","withApplyPlugin","Package","withPackageGradle","AllowBackup","withAllowBackup","WindowSoftInputMode","withWindowSoftInputMode","IntentFilters","withAndroidIntentFilters","Permissions","withInternalBlockedPermissions","withPermissions","withName","withSdk52ReactNative77CompatAndroid","withSdk52ReactNative78CompatAndroid","StatusBar","withStatusBar","PrimaryColor","withPrimaryColor","withEdgeToEdge","withAndroidIcons","withPackageRefactor","versionedExpoSDKPackages","withVersionedExpoSDKPlugins","withMaps","withAdMob","withAppleAuthentication","withContacts","withNotifications","withUpdates","withDocumentPicker","withSystemUI","withSplashScreen","withNavigationBar","getAutoPlugins","concat","legacyExpoPlugins","expoManagedVersionedPlugins","getLegacyExpoPlugins","withOptionalLegacyPlugins","plugins","reduce","prev","plugin","shouldSkipAutoPlugin","withStaticPlugin","_isLegacyPlugin","fallback","withLegacyExpoPlugins","Set"],"sources":["../../src/plugins/withDefaultPlugins.ts"],"sourcesContent":["/**\n * These are the versioned first-party plugins with some of the future third-party plugins mixed in for legacy support.\n */\nimport {\n AndroidConfig,\n ConfigPlugin,\n IOSConfig,\n StaticPlugin,\n withPlugins,\n withStaticPlugin,\n} from '@expo/config-plugins';\nimport { ExpoConfig } from '@expo/config-types';\nimport Debug from 'debug';\n\nimport { shouldSkipAutoPlugin } from '../getAutolinkedPackages';\nimport { withAndroidIcons } from './icons/withAndroidIcons';\nimport { withIosIcons } from './icons/withIosIcons';\nimport { withSdk52ReactNative77CompatAndroid } from './sdk52/ReactNative77CompatPlugin';\nimport { withSdk52ReactNative78CompatAndroid } from './sdk52/ReactNative78CompatPlugin';\nimport withAdMob from './unversioned/expo-ads-admob/expo-ads-admob';\nimport withAppleAuthentication from './unversioned/expo-apple-authentication';\nimport withContacts from './unversioned/expo-contacts';\nimport withDocumentPicker from './unversioned/expo-document-picker';\nimport withNavigationBar from './unversioned/expo-navigation-bar/expo-navigation-bar';\nimport withNotifications from './unversioned/expo-notifications/expo-notifications';\nimport withSplashScreen from './unversioned/expo-splash-screen/expo-splash-screen';\nimport withSystemUI from './unversioned/expo-system-ui/expo-system-ui';\nimport withUpdates from './unversioned/expo-updates';\nimport withEdgeToEdge from './unversioned/react-native-edge-to-edge/withEdgeToEdge';\nimport withMaps from './unversioned/react-native-maps';\n\nconst debug = Debug('expo:prebuild-config');\n\n/**\n * Config plugin to apply all of the custom Expo iOS config plugins we support by default.\n * TODO: In the future most of this should go into versioned packages like expo-updates, etc...\n */\nexport const withIosExpoPlugins: ConfigPlugin<{\n bundleIdentifier: string;\n}> = (config, { bundleIdentifier }) => {\n // Set the bundle ID ahead of time.\n if (!config.ios) config.ios = {};\n config.ios.bundleIdentifier = bundleIdentifier;\n\n return withPlugins(config, [\n [IOSConfig.BundleIdentifier.withBundleIdentifier, { bundleIdentifier }],\n IOSConfig.Google.withGoogle,\n IOSConfig.Name.withDisplayName,\n IOSConfig.Name.withProductName,\n IOSConfig.Orientation.withOrientation,\n IOSConfig.RequiresFullScreen.withRequiresFullScreen,\n IOSConfig.Scheme.withScheme,\n IOSConfig.UsesNonExemptEncryption.withUsesNonExemptEncryption,\n IOSConfig.Version.withBuildNumber,\n IOSConfig.Version.withVersion,\n IOSConfig.Google.withGoogleServicesFile,\n IOSConfig.BuildProperties.withJsEnginePodfileProps,\n IOSConfig.BuildProperties.withNewArchEnabledPodfileProps,\n // Entitlements\n IOSConfig.Entitlements.withAssociatedDomains,\n // XcodeProject\n IOSConfig.DeviceFamily.withDeviceFamily,\n IOSConfig.Bitcode.withBitcode,\n IOSConfig.Locales.withLocales,\n IOSConfig.DevelopmentTeam.withDevelopmentTeam,\n // Dangerous\n withIosIcons,\n IOSConfig.PrivacyInfo.withPrivacyInfo,\n ]);\n};\n\n/**\n * Config plugin to apply all of the custom Expo Android config plugins we support by default.\n * TODO: In the future most of this should go into versioned packages like expo-updates, etc...\n */\nexport const withAndroidExpoPlugins: ConfigPlugin<{\n package: string;\n projectRoot: string;\n}> = (config, props) => {\n // Set the package name ahead of time.\n if (!config.android) config.android = {};\n config.android.package = props.package;\n return withPlugins(config, [\n // gradle.properties\n AndroidConfig.BuildProperties.withJsEngineGradleProps,\n AndroidConfig.BuildProperties.withNewArchEnabledGradleProps,\n\n // settings.gradle\n AndroidConfig.Name.withNameSettingsGradle,\n\n // project build.gradle\n AndroidConfig.GoogleServices.withClassPath,\n\n // app/build.gradle\n AndroidConfig.GoogleServices.withApplyPlugin,\n AndroidConfig.Package.withPackageGradle,\n AndroidConfig.Version.withVersion,\n\n // AndroidManifest.xml\n AndroidConfig.AllowBackup.withAllowBackup,\n AndroidConfig.WindowSoftInputMode.withWindowSoftInputMode,\n // Note: The withAndroidIntentFilters plugin must appear before the withScheme\n // plugin or withScheme will override the output of withAndroidIntentFilters.\n AndroidConfig.IntentFilters.withAndroidIntentFilters,\n AndroidConfig.Scheme.withScheme,\n AndroidConfig.Orientation.withOrientation,\n AndroidConfig.Permissions.withInternalBlockedPermissions,\n AndroidConfig.Permissions.withPermissions,\n\n // strings.xml\n AndroidConfig.Name.withName,\n\n // Dangerous -- these plugins run in reverse order.\n AndroidConfig.GoogleServices.withGoogleServicesFile,\n withSdk52ReactNative77CompatAndroid,\n withSdk52ReactNative78CompatAndroid,\n\n // Modify colors.xml and styles.xml\n AndroidConfig.StatusBar.withStatusBar,\n AndroidConfig.PrimaryColor.withPrimaryColor,\n (config) => withEdgeToEdge(config, props),\n\n withAndroidIcons,\n // If we renamed the package, we should also move it around and rename it in source files\n // Added last to ensure this plugin runs first. Out of tree solutions will mistakenly resolve the package incorrectly otherwise.\n AndroidConfig.Package.withPackageRefactor,\n ]);\n};\n\n// Must keep in sync with `withVersionedExpoSDKPlugins`\nconst versionedExpoSDKPackages: string[] = [\n 'react-native-maps',\n 'expo-ads-admob',\n 'expo-apple-authentication',\n 'expo-contacts',\n 'expo-notifications',\n 'expo-updates',\n 'expo-navigation-bar',\n 'expo-document-picker',\n 'expo-splash-screen',\n 'expo-system-ui',\n];\n\nexport const withVersionedExpoSDKPlugins: ConfigPlugin = (config) => {\n return withPlugins(config, [\n withMaps,\n withAdMob,\n withAppleAuthentication,\n withContacts,\n withNotifications,\n withUpdates,\n withDocumentPicker,\n // System UI must come before splash screen as they overlap\n // and splash screen will warn about conflicting rules.\n withSystemUI,\n withSplashScreen,\n withNavigationBar,\n ]);\n};\n\nexport function getAutoPlugins() {\n return versionedExpoSDKPackages.concat(legacyExpoPlugins).concat(expoManagedVersionedPlugins);\n}\n\nexport function getLegacyExpoPlugins() {\n return legacyExpoPlugins;\n}\n\n// Expo managed packages that require extra update.\n// These get applied automatically to create parity with expo build in eas build.\nconst legacyExpoPlugins = [\n 'expo-app-auth',\n 'expo-av',\n 'expo-background-fetch',\n 'expo-brightness',\n 'expo-calendar',\n 'expo-camera',\n 'expo-cellular',\n 'expo-dev-menu',\n 'expo-dev-launcher',\n 'expo-dev-client',\n 'expo-image-picker',\n 'expo-file-system',\n 'expo-location',\n 'expo-media-library',\n 'expo-screen-orientation',\n 'expo-sensors',\n 'expo-task-manager',\n 'expo-local-authentication',\n];\n\n// Plugins that need to be automatically applied, but also get applied by expo-cli if the versioned plugin isn't available.\n// These are split up because the user doesn't need to be prompted to setup these packages.\nconst expoManagedVersionedPlugins = [\n 'expo-firebase-analytics',\n 'expo-firebase-core',\n 'expo-google-sign-in',\n];\n\nconst withOptionalLegacyPlugins: ConfigPlugin<(StaticPlugin | string)[]> = (config, plugins) => {\n return plugins.reduce((prev, plugin) => {\n if (shouldSkipAutoPlugin(config, plugin)) {\n debug('Skipping unlinked auto plugin:', plugin);\n return prev;\n }\n\n return withStaticPlugin(prev, {\n // hide errors\n _isLegacyPlugin: true,\n plugin,\n // If a plugin doesn't exist, do nothing.\n fallback: (config) => config,\n });\n }, config);\n};\n\nexport function withLegacyExpoPlugins(config: ExpoConfig) {\n return withOptionalLegacyPlugins(config, [\n ...new Set(expoManagedVersionedPlugins.concat(legacyExpoPlugins)),\n ]);\n}\n"],"mappings":";;;;;;;;;;AAGA,SAAAA,eAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,cAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AASA,SAAAE,OAAA;EAAA,MAAAF,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,uBAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,sBAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,kBAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,iBAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,cAAA;EAAA,MAAAN,IAAA,GAAAC,OAAA;EAAAK,aAAA,YAA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;AACZ,CAAC;AAEM,SAASmG,qBAAqBA,CAACnG,MAAkB,EAAE;EACxD,OAAO0F,yBAAyB,CAAC1F,MAAM,EAAE,CACvC,GAAG,IAAIoG,GAAG,CAACZ,2BAA2B,CAACF,MAAM,CAACC,iBAAiB,CAAC,CAAC,CAClE,CAAC;AACJ","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/prebuild-config",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.3",
|
|
4
4
|
"description": "Get the prebuild config",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@expo/config": "~11.0.1",
|
|
41
41
|
"@expo/config-plugins": "~9.1.2",
|
|
42
|
-
"@expo/config-types": "^53.0.0-preview.
|
|
42
|
+
"@expo/config-types": "^53.0.0-preview.2",
|
|
43
43
|
"@expo/image-utils": "^0.7.1",
|
|
44
44
|
"@expo/json-file": "^9.1.1",
|
|
45
45
|
"@react-native/normalize-colors": "0.79.0",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "c81263062bf24ad09e51e019f1d7dc29fa651c55"
|
|
55
55
|
}
|