@expo/prebuild-config 4.0.3 → 5.0.1
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/getAutolinkedPackages.js +6 -5
- package/build/getAutolinkedPackages.js.map +1 -1
- package/build/getPrebuildConfig.js.map +1 -1
- package/build/importExpoModulesAutolinking.d.ts +16 -0
- package/build/importExpoModulesAutolinking.js +38 -0
- package/build/importExpoModulesAutolinking.js.map +1 -0
- package/build/index.js.map +1 -1
- package/build/plugins/icons/AssetContents.js.map +1 -1
- package/build/plugins/icons/withAndroidIcons.d.ts +2 -1
- package/build/plugins/icons/withAndroidIcons.js +144 -132
- package/build/plugins/icons/withAndroidIcons.js.map +1 -1
- package/build/plugins/icons/withAndroidManifestIcons.js.map +1 -1
- package/build/plugins/icons/withIosIcons.js.map +1 -1
- package/build/plugins/unversioned/createLegacyPlugin.js.map +1 -1
- package/build/plugins/unversioned/expo-ads-admob/expo-ads-admob.js.map +1 -1
- package/build/plugins/unversioned/expo-ads-admob/withAndroidAdMob.js.map +1 -1
- package/build/plugins/unversioned/expo-ads-admob/withIosAdMob.js.map +1 -1
- package/build/plugins/unversioned/expo-apple-authentication.js.map +1 -1
- package/build/plugins/unversioned/expo-branch/expo-branch.js.map +1 -1
- package/build/plugins/unversioned/expo-branch/withAndroidBranch.js.map +1 -1
- package/build/plugins/unversioned/expo-branch/withIosBranch.js.map +1 -1
- package/build/plugins/unversioned/expo-contacts.js.map +1 -1
- package/build/plugins/unversioned/expo-document-picker.js.map +1 -1
- package/build/plugins/unversioned/expo-facebook/expo-facebook.js.map +1 -1
- package/build/plugins/unversioned/expo-facebook/withAndroidFacebook.js.map +1 -1
- package/build/plugins/unversioned/expo-facebook/withIosFacebook.js.map +1 -1
- package/build/plugins/unversioned/expo-facebook/withSKAdNetworkIdentifiers.js.map +1 -1
- package/build/plugins/unversioned/expo-navigation-bar/expo-navigation-bar.js.map +1 -1
- package/build/plugins/unversioned/expo-navigation-bar/withAndroidNavigationBar.js.map +1 -1
- package/build/plugins/unversioned/expo-notifications/expo-notifications.js.map +1 -1
- package/build/plugins/unversioned/expo-notifications/withAndroidNotifications.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/InterfaceBuilder.d.ts +94 -5
- package/build/plugins/unversioned/expo-splash-screen/InterfaceBuilder.js +89 -86
- package/build/plugins/unversioned/expo-splash-screen/InterfaceBuilder.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/expo-splash-screen.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/getAndroidSplashConfig.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/getIosSplashConfig.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/withAndroidSplashDrawables.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/withAndroidSplashImages.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/withAndroidSplashLegacyMainActivity.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/withAndroidSplashScreen.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/withAndroidSplashStrings.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/withAndroidSplashStyles.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/withIosSplashAssets.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/withIosSplashInfoPlist.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/withIosSplashScreen.js +25 -1
- package/build/plugins/unversioned/expo-splash-screen/withIosSplashScreen.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/withIosSplashScreenStoryboard.d.ts +14 -0
- package/build/plugins/unversioned/expo-splash-screen/withIosSplashScreenStoryboard.js +212 -0
- package/build/plugins/unversioned/expo-splash-screen/withIosSplashScreenStoryboard.js.map +1 -0
- package/build/plugins/unversioned/expo-splash-screen/withIosSplashXcodeProject.d.ts +5 -7
- package/build/plugins/unversioned/expo-splash-screen/withIosSplashXcodeProject.js +11 -87
- package/build/plugins/unversioned/expo-splash-screen/withIosSplashXcodeProject.js.map +1 -1
- package/build/plugins/unversioned/expo-splash-screen/wtihIosSplashScreenStoryboardImage.d.ts +5 -0
- package/build/plugins/unversioned/expo-splash-screen/wtihIosSplashScreenStoryboardImage.js +68 -0
- package/build/plugins/unversioned/expo-splash-screen/wtihIosSplashScreenStoryboardImage.js.map +1 -0
- package/build/plugins/unversioned/expo-system-ui/expo-system-ui.js.map +1 -1
- package/build/plugins/unversioned/expo-system-ui/withAndroidRootViewBackgroundColor.js.map +1 -1
- package/build/plugins/unversioned/expo-system-ui/withAndroidUserInterfaceStyle.js.map +1 -1
- package/build/plugins/unversioned/expo-system-ui/withIosRootViewBackgroundColor.js.map +1 -1
- package/build/plugins/unversioned/expo-system-ui/withIosUserInterfaceStyle.d.ts +2 -2
- package/build/plugins/unversioned/expo-system-ui/withIosUserInterfaceStyle.js +8 -10
- package/build/plugins/unversioned/expo-system-ui/withIosUserInterfaceStyle.js.map +1 -1
- package/build/plugins/unversioned/expo-updates.js.map +1 -1
- package/build/plugins/unversioned/react-native-maps.js.map +1 -1
- package/build/plugins/withDefaultPlugins.js.map +1 -1
- package/package.json +14 -11
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.getSplashStoryboardContentsAsync = getSplashStoryboardContentsAsync;
|
|
7
6
|
exports.setSplashStoryboardAsync = setSplashStoryboardAsync;
|
|
8
7
|
exports.withIosSplashXcodeProject = void 0;
|
|
9
8
|
|
|
@@ -17,64 +16,36 @@ function _configPlugins() {
|
|
|
17
16
|
return data;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
|
-
function
|
|
21
|
-
const data = _interopRequireDefault(require("
|
|
19
|
+
function _path() {
|
|
20
|
+
const data = _interopRequireDefault(require("path"));
|
|
22
21
|
|
|
23
|
-
|
|
22
|
+
_path = function () {
|
|
24
23
|
return data;
|
|
25
24
|
};
|
|
26
25
|
|
|
27
26
|
return data;
|
|
28
27
|
}
|
|
29
28
|
|
|
30
|
-
function
|
|
31
|
-
const data =
|
|
29
|
+
function _withIosSplashScreenStoryboard() {
|
|
30
|
+
const data = require("./withIosSplashScreenStoryboard");
|
|
32
31
|
|
|
33
|
-
|
|
32
|
+
_withIosSplashScreenStoryboard = function () {
|
|
34
33
|
return data;
|
|
35
34
|
};
|
|
36
35
|
|
|
37
36
|
return data;
|
|
38
37
|
}
|
|
39
38
|
|
|
40
|
-
function path() {
|
|
41
|
-
const data = _interopRequireWildcard(require("path"));
|
|
42
|
-
|
|
43
|
-
path = function () {
|
|
44
|
-
return data;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
return data;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function _InterfaceBuilder() {
|
|
51
|
-
const data = require("./InterfaceBuilder");
|
|
52
|
-
|
|
53
|
-
_InterfaceBuilder = function () {
|
|
54
|
-
return data;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
return data;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
61
|
-
|
|
62
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
63
|
-
|
|
64
39
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
65
40
|
|
|
66
|
-
const debug = (
|
|
67
|
-
const STORYBOARD_FILE_PATH = './SplashScreen.storyboard';
|
|
41
|
+
const debug = require('debug')('expo:prebuild-config:expo-splash-screen:ios:xcodeproj');
|
|
68
42
|
|
|
69
|
-
const withIosSplashXcodeProject =
|
|
43
|
+
const withIosSplashXcodeProject = config => {
|
|
70
44
|
return (0, _configPlugins().withXcodeProject)(config, async config => {
|
|
71
|
-
const projectPath = _configPlugins().IOSConfig.Paths.getSourceRoot(config.modRequest.projectRoot);
|
|
72
|
-
|
|
73
45
|
config.modResults = await setSplashStoryboardAsync({
|
|
74
|
-
projectPath,
|
|
75
46
|
projectName: config.modRequest.projectName,
|
|
76
47
|
project: config.modResults
|
|
77
|
-
}
|
|
48
|
+
});
|
|
78
49
|
return config;
|
|
79
50
|
});
|
|
80
51
|
};
|
|
@@ -86,13 +57,13 @@ const withIosSplashXcodeProject = (config, splash) => {
|
|
|
86
57
|
|
|
87
58
|
exports.withIosSplashXcodeProject = withIosSplashXcodeProject;
|
|
88
59
|
|
|
89
|
-
function
|
|
60
|
+
async function setSplashStoryboardAsync({
|
|
90
61
|
projectName,
|
|
91
62
|
project
|
|
92
63
|
}) {
|
|
93
64
|
// Check if `${projectName}/SplashScreen.storyboard` already exists
|
|
94
65
|
// Path relative to `ios` directory
|
|
95
|
-
const storyboardFilePath =
|
|
66
|
+
const storyboardFilePath = _path().default.join(projectName, _withIosSplashScreenStoryboard().STORYBOARD_FILE_PATH);
|
|
96
67
|
|
|
97
68
|
if (!project.hasFile(storyboardFilePath)) {
|
|
98
69
|
debug(`Adding ${storyboardFilePath} to Xcode project`);
|
|
@@ -103,54 +74,7 @@ function updatePbxProject({
|
|
|
103
74
|
project
|
|
104
75
|
});
|
|
105
76
|
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
function getImageContentMode(resizeMode) {
|
|
109
|
-
switch (resizeMode) {
|
|
110
|
-
case 'contain':
|
|
111
|
-
return 'scaleAspectFit';
|
|
112
|
-
|
|
113
|
-
case 'cover':
|
|
114
|
-
return 'scaleAspectFill';
|
|
115
|
-
|
|
116
|
-
default:
|
|
117
|
-
throw new Error(`{ resizeMode: "${resizeMode}" } is not supported for iOS platform.`);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Creates [STORYBOARD] file containing ui description of Splash/Launch Screen.
|
|
122
|
-
*/
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
async function getSplashStoryboardContentsAsync(config) {
|
|
126
|
-
const resizeMode = config === null || config === void 0 ? void 0 : config.resizeMode;
|
|
127
|
-
const splashScreenImagePresent = Boolean(config === null || config === void 0 ? void 0 : config.image);
|
|
128
|
-
let xml = await (0, _InterfaceBuilder().createTemplateSplashScreenAsync)(); // Only get the resize mode when the image is present.
|
|
129
77
|
|
|
130
|
-
if (splashScreenImagePresent) {
|
|
131
|
-
const contentMode = getImageContentMode(resizeMode || 'contain');
|
|
132
|
-
xml = (0, _InterfaceBuilder().applyImageToSplashScreenXML)(xml, {
|
|
133
|
-
contentMode,
|
|
134
|
-
imageName: 'SplashScreen'
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
return (0, _InterfaceBuilder().toString)(xml);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
async function setSplashStoryboardAsync({
|
|
142
|
-
projectPath,
|
|
143
|
-
projectName,
|
|
144
|
-
project
|
|
145
|
-
}, config) {
|
|
146
|
-
const contents = await getSplashStoryboardContentsAsync(config);
|
|
147
|
-
const filePath = path().resolve(projectPath, STORYBOARD_FILE_PATH);
|
|
148
|
-
await _fsExtra().default.ensureDir(projectPath);
|
|
149
|
-
await _fsExtra().default.writeFile(filePath, contents);
|
|
150
|
-
await updatePbxProject({
|
|
151
|
-
projectName,
|
|
152
|
-
project
|
|
153
|
-
});
|
|
154
78
|
return project;
|
|
155
79
|
}
|
|
156
80
|
//# sourceMappingURL=withIosSplashXcodeProject.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"withIosSplashXcodeProject.js","names":["debug","require","withIosSplashXcodeProject","config","withXcodeProject","modResults","setSplashStoryboardAsync","projectName","modRequest","project","storyboardFilePath","path","join","STORYBOARD_FILE_PATH","hasFile","IOSConfig","XcodeUtils","addResourceFileToGroup","filepath","groupName"],"sources":["../../../../src/plugins/unversioned/expo-splash-screen/withIosSplashXcodeProject.ts"],"sourcesContent":["import { ConfigPlugin, IOSConfig, withXcodeProject } from '@expo/config-plugins';\nimport path from 'path';\nimport { XcodeProject } from 'xcode';\n\nimport { STORYBOARD_FILE_PATH } from './withIosSplashScreenStoryboard';\n\nconst debug = require('debug')(\n 'expo:prebuild-config:expo-splash-screen:ios:xcodeproj'\n) as typeof console.log;\n\nexport const withIosSplashXcodeProject: ConfigPlugin = (config) => {\n return withXcodeProject(config, async (config) => {\n config.modResults = await setSplashStoryboardAsync({\n projectName: config.modRequest.projectName!,\n project: config.modResults,\n });\n return config;\n });\n};\n\n/**\n * Modifies `.pbxproj` by:\n * - adding reference for `.storyboard` file\n */\nexport async function setSplashStoryboardAsync({\n projectName,\n project,\n}: {\n projectName: string;\n project: XcodeProject;\n}): Promise<XcodeProject> {\n // Check if `${projectName}/SplashScreen.storyboard` already exists\n // Path relative to `ios` directory\n const storyboardFilePath = path.join(projectName, STORYBOARD_FILE_PATH);\n if (!project.hasFile(storyboardFilePath)) {\n debug(`Adding ${storyboardFilePath} to Xcode project`);\n IOSConfig.XcodeUtils.addResourceFileToGroup({\n filepath: storyboardFilePath,\n groupName: projectName,\n project,\n });\n }\n\n return project;\n}\n"],"mappings":";;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAGA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;;;AAEA,MAAMA,KAAK,GAAGC,OAAO,CAAC,OAAD,CAAP,CACZ,uDADY,CAAd;;AAIO,MAAMC,yBAAuC,GAAIC,MAAD,IAAY;EACjE,OAAO,IAAAC,iCAAA,EAAiBD,MAAjB,EAAyB,MAAOA,MAAP,IAAkB;IAChDA,MAAM,CAACE,UAAP,GAAoB,MAAMC,wBAAwB,CAAC;MACjDC,WAAW,EAAEJ,MAAM,CAACK,UAAP,CAAkBD,WADkB;MAEjDE,OAAO,EAAEN,MAAM,CAACE;IAFiC,CAAD,CAAlD;IAIA,OAAOF,MAAP;EACD,CANM,CAAP;AAOD,CARM;AAUP;AACA;AACA;AACA;;;;;AACO,eAAeG,wBAAf,CAAwC;EAC7CC,WAD6C;EAE7CE;AAF6C,CAAxC,EAMmB;EACxB;EACA;EACA,MAAMC,kBAAkB,GAAGC,eAAA,CAAKC,IAAL,CAAUL,WAAV,EAAuBM,qDAAvB,CAA3B;;EACA,IAAI,CAACJ,OAAO,CAACK,OAAR,CAAgBJ,kBAAhB,CAAL,EAA0C;IACxCV,KAAK,CAAE,UAASU,kBAAmB,mBAA9B,CAAL;;IACAK,0BAAA,CAAUC,UAAV,CAAqBC,sBAArB,CAA4C;MAC1CC,QAAQ,EAAER,kBADgC;MAE1CS,SAAS,EAAEZ,WAF+B;MAG1CE;IAH0C,CAA5C;EAKD;;EAED,OAAOA,OAAP;AACD"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
+
import { IBSplashScreenDocument } from './InterfaceBuilder';
|
|
3
|
+
import { IOSSplashConfig } from './getIosSplashConfig';
|
|
4
|
+
export declare const withIosSplashScreenImage: ConfigPlugin<IOSSplashConfig>;
|
|
5
|
+
export declare function applySplashScreenStoryboard(obj: IBSplashScreenDocument, splash: IOSSplashConfig): IBSplashScreenDocument;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.applySplashScreenStoryboard = applySplashScreenStoryboard;
|
|
7
|
+
exports.withIosSplashScreenImage = void 0;
|
|
8
|
+
|
|
9
|
+
function _InterfaceBuilder() {
|
|
10
|
+
const data = require("./InterfaceBuilder");
|
|
11
|
+
|
|
12
|
+
_InterfaceBuilder = function () {
|
|
13
|
+
return data;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
return data;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function _withIosSplashScreenStoryboard() {
|
|
20
|
+
const data = require("./withIosSplashScreenStoryboard");
|
|
21
|
+
|
|
22
|
+
_withIosSplashScreenStoryboard = function () {
|
|
23
|
+
return data;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
return data;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const withIosSplashScreenImage = (config, splash) => {
|
|
30
|
+
return (0, _withIosSplashScreenStoryboard().withIosSplashScreenStoryboard)(config, config => {
|
|
31
|
+
config.modResults = applySplashScreenStoryboard(config.modResults, splash);
|
|
32
|
+
return config;
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
exports.withIosSplashScreenImage = withIosSplashScreenImage;
|
|
37
|
+
|
|
38
|
+
function applySplashScreenStoryboard(obj, splash) {
|
|
39
|
+
const resizeMode = splash === null || splash === void 0 ? void 0 : splash.resizeMode;
|
|
40
|
+
const splashScreenImagePresent = Boolean(splash === null || splash === void 0 ? void 0 : splash.image);
|
|
41
|
+
const imageName = 'SplashScreen'; // Only get the resize mode when the image is present.
|
|
42
|
+
|
|
43
|
+
if (splashScreenImagePresent) {
|
|
44
|
+
const contentMode = getImageContentMode(resizeMode || 'contain');
|
|
45
|
+
return (0, _InterfaceBuilder().applyImageToSplashScreenXML)(obj, {
|
|
46
|
+
contentMode,
|
|
47
|
+
imageName
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return (0, _InterfaceBuilder().removeImageFromSplashScreen)(obj, {
|
|
52
|
+
imageName
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function getImageContentMode(resizeMode) {
|
|
57
|
+
switch (resizeMode) {
|
|
58
|
+
case 'contain':
|
|
59
|
+
return 'scaleAspectFit';
|
|
60
|
+
|
|
61
|
+
case 'cover':
|
|
62
|
+
return 'scaleAspectFill';
|
|
63
|
+
|
|
64
|
+
default:
|
|
65
|
+
throw new Error(`{ resizeMode: "${resizeMode}" } is not supported for iOS platform.`);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=wtihIosSplashScreenStoryboardImage.js.map
|
package/build/plugins/unversioned/expo-splash-screen/wtihIosSplashScreenStoryboardImage.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wtihIosSplashScreenStoryboardImage.js","names":["withIosSplashScreenImage","config","splash","withIosSplashScreenStoryboard","modResults","applySplashScreenStoryboard","obj","resizeMode","splashScreenImagePresent","Boolean","image","imageName","contentMode","getImageContentMode","applyImageToSplashScreenXML","removeImageFromSplashScreen","Error"],"sources":["../../../../src/plugins/unversioned/expo-splash-screen/wtihIosSplashScreenStoryboardImage.ts"],"sourcesContent":["import { ConfigPlugin } from '@expo/config-plugins';\n\nimport {\n applyImageToSplashScreenXML,\n IBSplashScreenDocument,\n ImageContentMode,\n removeImageFromSplashScreen,\n} from './InterfaceBuilder';\nimport { IOSSplashConfig } from './getIosSplashConfig';\nimport { withIosSplashScreenStoryboard } from './withIosSplashScreenStoryboard';\n\nexport const withIosSplashScreenImage: ConfigPlugin<IOSSplashConfig> = (config, splash) => {\n return withIosSplashScreenStoryboard(config, (config) => {\n config.modResults = applySplashScreenStoryboard(config.modResults, splash);\n return config;\n });\n};\n\nexport function applySplashScreenStoryboard(obj: IBSplashScreenDocument, splash: IOSSplashConfig) {\n const resizeMode = splash?.resizeMode;\n const splashScreenImagePresent = Boolean(splash?.image);\n const imageName = 'SplashScreen';\n // Only get the resize mode when the image is present.\n if (splashScreenImagePresent) {\n const contentMode = getImageContentMode(resizeMode || 'contain');\n return applyImageToSplashScreenXML(obj, {\n contentMode,\n imageName,\n });\n }\n\n return removeImageFromSplashScreen(obj, { imageName });\n}\n\nfunction getImageContentMode(resizeMode: string): ImageContentMode {\n switch (resizeMode) {\n case 'contain':\n return 'scaleAspectFit';\n case 'cover':\n return 'scaleAspectFill';\n default:\n throw new Error(`{ resizeMode: \"${resizeMode}\" } is not supported for iOS platform.`);\n }\n}\n"],"mappings":";;;;;;;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAOA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,wBAAuD,GAAG,CAACC,MAAD,EAASC,MAAT,KAAoB;EACzF,OAAO,IAAAC,8DAAA,EAA8BF,MAA9B,EAAuCA,MAAD,IAAY;IACvDA,MAAM,CAACG,UAAP,GAAoBC,2BAA2B,CAACJ,MAAM,CAACG,UAAR,EAAoBF,MAApB,CAA/C;IACA,OAAOD,MAAP;EACD,CAHM,CAAP;AAID,CALM;;;;AAOA,SAASI,2BAAT,CAAqCC,GAArC,EAAkEJ,MAAlE,EAA2F;EAChG,MAAMK,UAAU,GAAGL,MAAH,aAAGA,MAAH,uBAAGA,MAAM,CAAEK,UAA3B;EACA,MAAMC,wBAAwB,GAAGC,OAAO,CAACP,MAAD,aAACA,MAAD,uBAACA,MAAM,CAAEQ,KAAT,CAAxC;EACA,MAAMC,SAAS,GAAG,cAAlB,CAHgG,CAIhG;;EACA,IAAIH,wBAAJ,EAA8B;IAC5B,MAAMI,WAAW,GAAGC,mBAAmB,CAACN,UAAU,IAAI,SAAf,CAAvC;IACA,OAAO,IAAAO,+CAAA,EAA4BR,GAA5B,EAAiC;MACtCM,WADsC;MAEtCD;IAFsC,CAAjC,CAAP;EAID;;EAED,OAAO,IAAAI,+CAAA,EAA4BT,GAA5B,EAAiC;IAAEK;EAAF,CAAjC,CAAP;AACD;;AAED,SAASE,mBAAT,CAA6BN,UAA7B,EAAmE;EACjE,QAAQA,UAAR;IACE,KAAK,SAAL;MACE,OAAO,gBAAP;;IACF,KAAK,OAAL;MACE,OAAO,iBAAP;;IACF;MACE,MAAM,IAAIS,KAAJ,CAAW,kBAAiBT,UAAW,wCAAvC,CAAN;EANJ;AAQD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"expo-system-ui.js","names":["createLegacyPlugin","packageName","fallback","withAndroidRootViewBackgroundColor","withIosRootViewBackgroundColor","withAndroidUserInterfaceStyle","withIosUserInterfaceStyle"],"sources":["../../../../src/plugins/unversioned/expo-system-ui/expo-system-ui.ts"],"sourcesContent":["import { createLegacyPlugin } from '../createLegacyPlugin';\nimport { withAndroidRootViewBackgroundColor } from './withAndroidRootViewBackgroundColor';\nimport { withAndroidUserInterfaceStyle } from './withAndroidUserInterfaceStyle';\nimport { withIosRootViewBackgroundColor } from './withIosRootViewBackgroundColor';\nimport { withIosUserInterfaceStyle } from './withIosUserInterfaceStyle';\n\nexport default createLegacyPlugin({\n packageName: 'expo-system-ui',\n fallback: [\n withAndroidRootViewBackgroundColor,\n withIosRootViewBackgroundColor,\n withAndroidUserInterfaceStyle,\n withIosUserInterfaceStyle,\n ],\n});\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;eAEe,IAAAA,wCAAA,EAAmB;EAChCC,WAAW,EAAE,gBADmB;EAEhCC,QAAQ,EAAE,CACRC,wEADQ,EAERC,gEAFQ,EAGRC,8DAHQ,EAIRC,sDAJQ;AAFsB,CAAnB,C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"withAndroidRootViewBackgroundColor.js","names":["assignColorValue","AndroidConfig","Colors","assignStylesValue","getAppThemeLightNoActionBarGroup","Styles","ANDROID_WINDOW_BACKGROUND","WINDOW_BACKGROUND_COLOR","withAndroidRootViewBackgroundColor","config","withRootViewBackgroundColorColors","withRootViewBackgroundColorStyles","withAndroidColors","modResults","value","getRootViewBackgroundColor","name","withAndroidStyles","add","parent","android","backgroundColor"],"sources":["../../../../src/plugins/unversioned/expo-system-ui/withAndroidRootViewBackgroundColor.ts"],"sourcesContent":["import {\n AndroidConfig,\n ConfigPlugin,\n withAndroidColors,\n withAndroidStyles,\n} from '@expo/config-plugins';\nimport { ExpoConfig } from '@expo/config-types';\n\nconst { assignColorValue } = AndroidConfig.Colors;\nconst { assignStylesValue, getAppThemeLightNoActionBarGroup } = AndroidConfig.Styles;\n\nconst ANDROID_WINDOW_BACKGROUND = 'android:windowBackground';\nconst WINDOW_BACKGROUND_COLOR = 'activityBackground';\n\nexport const withAndroidRootViewBackgroundColor: ConfigPlugin = (config) => {\n config = withRootViewBackgroundColorColors(config);\n config = withRootViewBackgroundColorStyles(config);\n return config;\n};\n\nexport const withRootViewBackgroundColorColors: ConfigPlugin = (config) => {\n return withAndroidColors(config, async (config) => {\n config.modResults = assignColorValue(config.modResults, {\n value: getRootViewBackgroundColor(config),\n name: WINDOW_BACKGROUND_COLOR,\n });\n return config;\n });\n};\n\nexport const withRootViewBackgroundColorStyles: ConfigPlugin = (config) => {\n return withAndroidStyles(config, async (config) => {\n config.modResults = assignStylesValue(config.modResults, {\n add: !!getRootViewBackgroundColor(config),\n parent: getAppThemeLightNoActionBarGroup(),\n name: ANDROID_WINDOW_BACKGROUND,\n value: `@color/${WINDOW_BACKGROUND_COLOR}`,\n });\n return config;\n });\n};\n\nexport function getRootViewBackgroundColor(\n config: Pick<ExpoConfig, 'android' | 'backgroundColor'>\n) {\n return config.android?.backgroundColor || config.backgroundColor || null;\n}\n"],"mappings":";;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAQA,MAAM;EAAEA;AAAF,IAAuBC,8BAAA,CAAcC,MAA3C;;AACA,MAAM;EAAEC,iBAAF;EAAqBC;AAArB,IAA0DH,8BAAA,CAAcI,MAA9E;;AAEA,MAAMC,yBAAyB,GAAG,0BAAlC;AACA,MAAMC,uBAAuB,GAAG,oBAAhC;;AAEO,MAAMC,kCAAgD,GAAIC,MAAD,IAAY;EAC1EA,MAAM,GAAGC,iCAAiC,CAACD,MAAD,CAA1C;EACAA,MAAM,GAAGE,iCAAiC,CAACF,MAAD,CAA1C;EACA,OAAOA,MAAP;AACD,CAJM;;;;AAMA,MAAMC,iCAA+C,GAAID,MAAD,IAAY;EACzE,OAAO,IAAAG,kCAAA,EAAkBH,MAAlB,EAA0B,MAAOA,MAAP,IAAkB;IACjDA,MAAM,CAACI,UAAP,GAAoBb,gBAAgB,CAACS,MAAM,CAACI,UAAR,EAAoB;MACtDC,KAAK,EAAEC,0BAA0B,CAACN,MAAD,CADqB;MAEtDO,IAAI,EAAET;IAFgD,CAApB,CAApC;IAIA,OAAOE,MAAP;EACD,CANM,CAAP;AAOD,CARM;;;;AAUA,MAAME,iCAA+C,GAAIF,MAAD,IAAY;EACzE,OAAO,IAAAQ,kCAAA,EAAkBR,MAAlB,EAA0B,MAAOA,MAAP,IAAkB;IACjDA,MAAM,CAACI,UAAP,GAAoBV,iBAAiB,CAACM,MAAM,CAACI,UAAR,EAAoB;MACvDK,GAAG,EAAE,CAAC,CAACH,0BAA0B,CAACN,MAAD,CADsB;MAEvDU,MAAM,EAAEf,gCAAgC,EAFe;MAGvDY,IAAI,EAAEV,yBAHiD;MAIvDQ,KAAK,EAAG,UAASP,uBAAwB;IAJc,CAApB,CAArC;IAMA,OAAOE,MAAP;EACD,CARM,CAAP;AASD,CAVM;;;;AAYA,SAASM,0BAAT,CACLN,MADK,EAEL;EAAA;;EACA,OAAO,oBAAAA,MAAM,CAACW,OAAP,oEAAgBC,eAAhB,KAAmCZ,MAAM,CAACY,eAA1C,IAA6D,IAApE;AACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"withAndroidUserInterfaceStyle.js","names":["withAndroidUserInterfaceStyle","config","withStringsXml","userInterfaceStyle","android","WarningAggregator","addWarningAndroid"],"sources":["../../../../src/plugins/unversioned/expo-system-ui/withAndroidUserInterfaceStyle.ts"],"sourcesContent":["import { ConfigPlugin, WarningAggregator, withStringsXml } from '@expo/config-plugins';\n\nexport const withAndroidUserInterfaceStyle: ConfigPlugin<void> = (config) => {\n return withStringsXml(config, (config) => {\n const userInterfaceStyle = config.android?.userInterfaceStyle ?? config.userInterfaceStyle;\n if (userInterfaceStyle) {\n WarningAggregator.addWarningAndroid(\n 'userInterfaceStyle',\n // TODO: Maybe warn that they need a certain version of React Native as well?\n 'Install expo-system-ui in your project to enable this feature.'\n );\n }\n\n return config;\n });\n};\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEO,MAAMA,6BAAiD,GAAIC,MAAD,IAAY;EAC3E,OAAO,IAAAC,+BAAA,EAAeD,MAAf,EAAwBA,MAAD,IAAY;IAAA;;IACxC,MAAME,kBAAkB,+CAAGF,MAAM,CAACG,OAAV,oDAAG,gBAAgBD,kBAAnB,yEAAyCF,MAAM,CAACE,kBAAxE;;IACA,IAAIA,kBAAJ,EAAwB;MACtBE,kCAAA,CAAkBC,iBAAlB,CACE,oBADF,EAEE;MACA,gEAHF;IAKD;;IAED,OAAOL,MAAP;EACD,CAXM,CAAP;AAYD,CAbM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"withIosRootViewBackgroundColor.js","names":["BACKGROUND_COLOR_KEY","debug","require","withIosRootViewBackgroundColor","config","withInfoPlist","shouldUseLegacyBehavior","modResults","setRootViewBackgroundColor","warnSystemUIMissing","sdkVersion","semver","lt","backgroundColor","getRootViewBackgroundColor","WarningAggregator","addWarningIOS","infoPlist","color","normalizeColor","Error","ios"],"sources":["../../../../src/plugins/unversioned/expo-system-ui/withIosRootViewBackgroundColor.ts"],"sourcesContent":["import { ConfigPlugin, InfoPlist, WarningAggregator, withInfoPlist } from '@expo/config-plugins';\nimport { ExpoConfig } from '@expo/config-types';\n// @ts-ignore: uses flow\nimport normalizeColor from '@react-native/normalize-color';\nimport semver from 'semver';\n\n// Maps to the template AppDelegate.m\nconst BACKGROUND_COLOR_KEY = 'RCTRootViewBackgroundColor';\n\nconst debug = require('debug')('expo:system-ui:plugin:ios');\n\nexport const withIosRootViewBackgroundColor: ConfigPlugin = (config) => {\n config = withInfoPlist(config, (config) => {\n if (shouldUseLegacyBehavior(config)) {\n config.modResults = setRootViewBackgroundColor(config, config.modResults);\n } else {\n warnSystemUIMissing(config);\n }\n return config;\n });\n return config;\n};\n\n/** The template was changed in SDK 43 to move the background color logic to the `expo-system-ui` module */\nexport function shouldUseLegacyBehavior(config: Pick<ExpoConfig, 'sdkVersion'>): boolean {\n try {\n return !!(config.sdkVersion && semver.lt(config.sdkVersion, '44.0.0'));\n } catch {}\n return false;\n}\n\nexport function warnSystemUIMissing(\n config: Pick<ExpoConfig, 'sdkVersion' | 'backgroundColor' | 'ios'>\n) {\n const backgroundColor = getRootViewBackgroundColor(config);\n\n if (backgroundColor) {\n // Background color needs to be set programmatically\n WarningAggregator.addWarningIOS(\n 'ios.backgroundColor',\n 'Install expo-system-ui to enable this feature',\n 'https://docs.expo.dev/build-reference/migrating/#expo-config--backgroundcolor--depends-on'\n );\n }\n}\n\nexport function setRootViewBackgroundColor(\n config: Pick<ExpoConfig, 'backgroundColor' | 'ios'>,\n infoPlist: InfoPlist\n): InfoPlist {\n const backgroundColor = getRootViewBackgroundColor(config);\n if (!backgroundColor) {\n delete infoPlist[BACKGROUND_COLOR_KEY];\n } else {\n let color = normalizeColor(backgroundColor);\n if (!color) {\n throw new Error('Invalid background color on iOS');\n }\n color = ((color << 24) | (color >>> 8)) >>> 0;\n infoPlist[BACKGROUND_COLOR_KEY] = color;\n\n debug(`Convert color: ${backgroundColor} -> ${color}`);\n }\n return infoPlist;\n}\n\nexport function getRootViewBackgroundColor(config: Pick<ExpoConfig, 'ios' | 'backgroundColor'>) {\n return config.ios?.backgroundColor || config.backgroundColor || null;\n}\n"],"mappings":";;;;;;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAGA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;;;AAFA;AAIA;AACA,MAAMA,oBAAoB,GAAG,4BAA7B;;AAEA,MAAMC,KAAK,GAAGC,OAAO,CAAC,OAAD,CAAP,CAAiB,2BAAjB,CAAd;;AAEO,MAAMC,8BAA4C,GAAIC,MAAD,IAAY;EACtEA,MAAM,GAAG,IAAAC,8BAAA,EAAcD,MAAd,EAAuBA,MAAD,IAAY;IACzC,IAAIE,uBAAuB,CAACF,MAAD,CAA3B,EAAqC;MACnCA,MAAM,CAACG,UAAP,GAAoBC,0BAA0B,CAACJ,MAAD,EAASA,MAAM,CAACG,UAAhB,CAA9C;IACD,CAFD,MAEO;MACLE,mBAAmB,CAACL,MAAD,CAAnB;IACD;;IACD,OAAOA,MAAP;EACD,CAPQ,CAAT;EAQA,OAAOA,MAAP;AACD,CAVM;AAYP;;;;;AACO,SAASE,uBAAT,CAAiCF,MAAjC,EAAkF;EACvF,IAAI;IACF,OAAO,CAAC,EAAEA,MAAM,CAACM,UAAP,IAAqBC,iBAAA,CAAOC,EAAP,CAAUR,MAAM,CAACM,UAAjB,EAA6B,QAA7B,CAAvB,CAAR;EACD,CAFD,CAEE,MAAM,CAAE;;EACV,OAAO,KAAP;AACD;;AAEM,SAASD,mBAAT,CACLL,MADK,EAEL;EACA,MAAMS,eAAe,GAAGC,0BAA0B,CAACV,MAAD,CAAlD;;EAEA,IAAIS,eAAJ,EAAqB;IACnB;IACAE,kCAAA,CAAkBC,aAAlB,CACE,qBADF,EAEE,+CAFF,EAGE,2FAHF;EAKD;AACF;;AAEM,SAASR,0BAAT,CACLJ,MADK,EAELa,SAFK,EAGM;EACX,MAAMJ,eAAe,GAAGC,0BAA0B,CAACV,MAAD,CAAlD;;EACA,IAAI,CAACS,eAAL,EAAsB;IACpB,OAAOI,SAAS,CAACjB,oBAAD,CAAhB;EACD,CAFD,MAEO;IACL,IAAIkB,KAAK,GAAG,IAAAC,yBAAA,EAAeN,eAAf,CAAZ;;IACA,IAAI,CAACK,KAAL,EAAY;MACV,MAAM,IAAIE,KAAJ,CAAU,iCAAV,CAAN;IACD;;IACDF,KAAK,GAAG,CAAEA,KAAK,IAAI,EAAV,GAAiBA,KAAK,KAAK,CAA5B,MAAoC,CAA5C;IACAD,SAAS,CAACjB,oBAAD,CAAT,GAAkCkB,KAAlC;IAEAjB,KAAK,CAAE,kBAAiBY,eAAgB,OAAMK,KAAM,EAA/C,CAAL;EACD;;EACD,OAAOD,SAAP;AACD;;AAEM,SAASH,0BAAT,CAAoCV,MAApC,EAAyF;EAAA;;EAC9F,OAAO,gBAAAA,MAAM,CAACiB,GAAP,4DAAYR,eAAZ,KAA+BT,MAAM,CAACS,eAAtC,IAAyD,IAAhE;AACD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InfoPlist } from '@expo/config-plugins';
|
|
2
2
|
import { ExpoConfig } from '@expo/config-types';
|
|
3
|
-
export declare const withIosUserInterfaceStyle: ConfigPlugin
|
|
3
|
+
export declare const withIosUserInterfaceStyle: import("@expo/config-plugins").ConfigPlugin<void>;
|
|
4
4
|
export declare function getUserInterfaceStyle(config: Pick<ExpoConfig, 'ios' | 'userInterfaceStyle'>): string;
|
|
5
5
|
export declare function setUserInterfaceStyle(config: Pick<ExpoConfig, 'ios' | 'userInterfaceStyle'>, { UIUserInterfaceStyle, ...infoPlist }: InfoPlist): InfoPlist;
|
|
@@ -7,23 +7,21 @@ exports.getUserInterfaceStyle = getUserInterfaceStyle;
|
|
|
7
7
|
exports.setUserInterfaceStyle = setUserInterfaceStyle;
|
|
8
8
|
exports.withIosUserInterfaceStyle = void 0;
|
|
9
9
|
|
|
10
|
-
function
|
|
11
|
-
const data = require("@expo/config-plugins");
|
|
10
|
+
function _iosPlugins() {
|
|
11
|
+
const data = require("@expo/config-plugins/build/plugins/ios-plugins");
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
_iosPlugins = function () {
|
|
14
14
|
return data;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
return data;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
const withIosUserInterfaceStyle =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
|
|
20
|
+
const withIosUserInterfaceStyle = (0, _iosPlugins().createInfoPlistPluginWithPropertyGuard)(setUserInterfaceStyle, {
|
|
21
|
+
infoPlistProperty: 'UIUserInterfaceStyle',
|
|
22
|
+
expoConfigProperty: 'userInterfaceStyle | ios.userInterfaceStyle',
|
|
23
|
+
expoPropertyGetter: getUserInterfaceStyle
|
|
24
|
+
}, 'withIosUserInterfaceStyle');
|
|
27
25
|
exports.withIosUserInterfaceStyle = withIosUserInterfaceStyle;
|
|
28
26
|
|
|
29
27
|
function getUserInterfaceStyle(config) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"withIosUserInterfaceStyle.js","names":["withIosUserInterfaceStyle","createInfoPlistPluginWithPropertyGuard","setUserInterfaceStyle","infoPlistProperty","expoConfigProperty","expoPropertyGetter","getUserInterfaceStyle","config","ios","userInterfaceStyle","UIUserInterfaceStyle","infoPlist","style","mapUserInterfaceStyleForInfoPlist"],"sources":["../../../../src/plugins/unversioned/expo-system-ui/withIosUserInterfaceStyle.ts"],"sourcesContent":["import { InfoPlist } from '@expo/config-plugins';\nimport { createInfoPlistPluginWithPropertyGuard } from '@expo/config-plugins/build/plugins/ios-plugins';\nimport { ExpoConfig } from '@expo/config-types';\n\nexport const withIosUserInterfaceStyle = createInfoPlistPluginWithPropertyGuard(\n setUserInterfaceStyle,\n {\n infoPlistProperty: 'UIUserInterfaceStyle',\n expoConfigProperty: 'userInterfaceStyle | ios.userInterfaceStyle',\n expoPropertyGetter: getUserInterfaceStyle,\n },\n 'withIosUserInterfaceStyle'\n);\n\nexport function getUserInterfaceStyle(\n config: Pick<ExpoConfig, 'ios' | 'userInterfaceStyle'>\n): string {\n return config.ios?.userInterfaceStyle ?? config.userInterfaceStyle ?? 'light';\n}\n\nexport function setUserInterfaceStyle(\n config: Pick<ExpoConfig, 'ios' | 'userInterfaceStyle'>,\n { UIUserInterfaceStyle, ...infoPlist }: InfoPlist\n): InfoPlist {\n const userInterfaceStyle = getUserInterfaceStyle(config);\n const style = mapUserInterfaceStyleForInfoPlist(userInterfaceStyle);\n\n if (!style) {\n return infoPlist;\n }\n\n return {\n ...infoPlist,\n UIUserInterfaceStyle: style,\n };\n}\n\nfunction mapUserInterfaceStyleForInfoPlist(\n userInterfaceStyle: string\n): NonNullable<InfoPlist['UIUserInterfaceStyle']> | null {\n switch (userInterfaceStyle) {\n case 'light':\n return 'Light';\n case 'dark':\n return 'Dark';\n case 'automatic':\n return 'Automatic';\n }\n\n return null;\n}\n"],"mappings":";;;;;;;;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAGO,MAAMA,yBAAyB,GAAG,IAAAC,oDAAA,EACvCC,qBADuC,EAEvC;EACEC,iBAAiB,EAAE,sBADrB;EAEEC,kBAAkB,EAAE,6CAFtB;EAGEC,kBAAkB,EAAEC;AAHtB,CAFuC,EAOvC,2BAPuC,CAAlC;;;AAUA,SAASA,qBAAT,CACLC,MADK,EAEG;EAAA;;EACR,uDAAOA,MAAM,CAACC,GAAd,gDAAO,YAAYC,kBAAnB,yEAAyCF,MAAM,CAACE,kBAAhD,uCAAsE,OAAtE;AACD;;AAEM,SAASP,qBAAT,CACLK,MADK,EAEL;EAAEG,oBAAF;EAAwB,GAAGC;AAA3B,CAFK,EAGM;EACX,MAAMF,kBAAkB,GAAGH,qBAAqB,CAACC,MAAD,CAAhD;EACA,MAAMK,KAAK,GAAGC,iCAAiC,CAACJ,kBAAD,CAA/C;;EAEA,IAAI,CAACG,KAAL,EAAY;IACV,OAAOD,SAAP;EACD;;EAED,OAAO,EACL,GAAGA,SADE;IAELD,oBAAoB,EAAEE;EAFjB,CAAP;AAID;;AAED,SAASC,iCAAT,CACEJ,kBADF,EAEyD;EACvD,QAAQA,kBAAR;IACE,KAAK,OAAL;MACE,OAAO,OAAP;;IACF,KAAK,MAAL;MACE,OAAO,MAAP;;IACF,KAAK,WAAL;MACE,OAAO,WAAP;EANJ;;EASA,OAAO,IAAP;AACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"expo-updates.js","names":["packageName","withExpoUpdates","config","props","withStaticPlugin","_isLegacyPlugin","plugin","fallback","createRunOncePlugin","withUnversionedUpdates","AndroidConfig","Updates","withUpdates","IOSConfig"],"sources":["../../../src/plugins/unversioned/expo-updates.ts"],"sourcesContent":["import {\n AndroidConfig,\n ConfigPlugin,\n createRunOncePlugin,\n IOSConfig,\n withStaticPlugin,\n} from '@expo/config-plugins';\n\n// Local unversioned updates plugin\n\nconst packageName = 'expo-updates';\n\nexport const withExpoUpdates: ConfigPlugin<{ expoUsername: string }> = (config, props) => {\n return withStaticPlugin(config, {\n _isLegacyPlugin: true,\n // Pass props to the static plugin if it exists.\n plugin: [packageName, props],\n // If the static plugin isn't found, use the unversioned one.\n fallback: createRunOncePlugin((config) => withUnversionedUpdates(config, props), packageName),\n });\n};\n\nconst withUnversionedUpdates: ConfigPlugin<{ expoUsername: string }> = (config, props) => {\n config = AndroidConfig.Updates.withUpdates(config, props);\n config = IOSConfig.Updates.withUpdates(config, props);\n return config;\n};\n\nexport default withExpoUpdates;\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAQA;AAEA,MAAMA,WAAW,GAAG,cAApB;;AAEO,MAAMC,eAAuD,GAAG,CAACC,MAAD,EAASC,KAAT,KAAmB;EACxF,OAAO,IAAAC,iCAAA,EAAiBF,MAAjB,EAAyB;IAC9BG,eAAe,EAAE,IADa;IAE9B;IACAC,MAAM,EAAE,CAACN,WAAD,EAAcG,KAAd,CAHsB;IAI9B;IACAI,QAAQ,EAAE,IAAAC,oCAAA,EAAqBN,MAAD,IAAYO,sBAAsB,CAACP,MAAD,EAASC,KAAT,CAAtD,EAAuEH,WAAvE;EALoB,CAAzB,CAAP;AAOD,CARM;;;;AAUP,MAAMS,sBAA8D,GAAG,CAACP,MAAD,EAASC,KAAT,KAAmB;EACxFD,MAAM,GAAGQ,8BAAA,CAAcC,OAAd,CAAsBC,WAAtB,CAAkCV,MAAlC,EAA0CC,KAA1C,CAAT;EACAD,MAAM,GAAGW,0BAAA,CAAUF,OAAV,CAAkBC,WAAlB,CAA8BV,MAA9B,EAAsCC,KAAtC,CAAT;EACA,OAAOD,MAAP;AACD,CAJD;;eAMeD,e"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"react-native-maps.js","names":["LOCATION_USAGE","withDefaultLocationPermissions","config","isLinked","_internal","autolinkedModules","includes","projectRoot","resolveFrom","silent","withInfoPlist","modResults","NSLocationWhenInUseUsageDescription","AndroidConfig","Permissions","withPermissions","createLegacyPlugin","packageName","fallback","GoogleMapsApiKey","withGoogleMapsApiKey","IOSConfig","Maps","withMaps"],"sources":["../../../src/plugins/unversioned/react-native-maps.ts"],"sourcesContent":["import { AndroidConfig, ConfigPlugin, IOSConfig, withInfoPlist } from '@expo/config-plugins';\nimport resolveFrom from 'resolve-from';\n\nimport { createLegacyPlugin } from './createLegacyPlugin';\n\nconst LOCATION_USAGE = 'Allow $(PRODUCT_NAME) to access your location';\n\n// Copied from expo-location package, this gets used when the\n// user has react-native-maps installed but not expo-location.\nconst withDefaultLocationPermissions: ConfigPlugin = (config) => {\n const isLinked =\n !config._internal?.autolinkedModules ||\n config._internal.autolinkedModules.includes('react-native-maps');\n // Only add location permissions if react-native-maps is installed.\n if (\n config._internal?.projectRoot &&\n resolveFrom.silent(config._internal.projectRoot, 'react-native-maps') &&\n isLinked\n ) {\n config = withInfoPlist(config, (config) => {\n config.modResults.NSLocationWhenInUseUsageDescription =\n config.modResults.NSLocationWhenInUseUsageDescription || LOCATION_USAGE;\n return config;\n });\n\n return AndroidConfig.Permissions.withPermissions(config, [\n 'android.permission.ACCESS_COARSE_LOCATION',\n 'android.permission.ACCESS_FINE_LOCATION',\n ]);\n }\n return config;\n};\n\nexport default createLegacyPlugin({\n packageName: 'react-native-maps',\n fallback: [\n AndroidConfig.GoogleMapsApiKey.withGoogleMapsApiKey,\n IOSConfig.Maps.withMaps,\n withDefaultLocationPermissions,\n ],\n});\n"],"mappings":";;;;;;;AAAA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AACA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;AAEA;EAAA;;EAAA;IAAA;EAAA;;EAAA;AAAA;;;;AAEA,MAAMA,cAAc,GAAG,+CAAvB,C,CAEA;AACA;;AACA,MAAMC,8BAA4C,GAAIC,MAAD,IAAY;EAAA;;EAC/D,MAAMC,QAAQ,GACZ,uBAACD,MAAM,CAACE,SAAR,8CAAC,kBAAkBC,iBAAnB,KACAH,MAAM,CAACE,SAAP,CAAiBC,iBAAjB,CAAmCC,QAAnC,CAA4C,mBAA5C,CAFF,CAD+D,CAI/D;;;EACA,IACE,sBAAAJ,MAAM,CAACE,SAAP,kEAAkBG,WAAlB,IACAC,sBAAA,CAAYC,MAAZ,CAAmBP,MAAM,CAACE,SAAP,CAAiBG,WAApC,EAAiD,mBAAjD,CADA,IAEAJ,QAHF,EAIE;IACAD,MAAM,GAAG,IAAAQ,8BAAA,EAAcR,MAAd,EAAuBA,MAAD,IAAY;MACzCA,MAAM,CAACS,UAAP,CAAkBC,mCAAlB,GACEV,MAAM,CAACS,UAAP,CAAkBC,mCAAlB,IAAyDZ,cAD3D;MAEA,OAAOE,MAAP;IACD,CAJQ,CAAT;IAMA,OAAOW,8BAAA,CAAcC,WAAd,CAA0BC,eAA1B,CAA0Cb,MAA1C,EAAkD,CACvD,2CADuD,EAEvD,yCAFuD,CAAlD,CAAP;EAID;;EACD,OAAOA,MAAP;AACD,CAtBD;;eAwBe,IAAAc,wCAAA,EAAmB;EAChCC,WAAW,EAAE,mBADmB;EAEhCC,QAAQ,EAAE,CACRL,8BAAA,CAAcM,gBAAd,CAA+BC,oBADvB,EAERC,0BAAA,CAAUC,IAAV,CAAeC,QAFP,EAGRtB,8BAHQ;AAFsB,CAAnB,C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/plugins/withDefaultPlugins.ts"],"names":["debug","withIosExpoPlugins","config","bundleIdentifier","ios","IOSConfig","BundleIdentifier","withBundleIdentifier","Swift","withSwiftBridgingHeader","withNoopSwiftFile","Google","withGoogle","Name","withDisplayName","withProductName","Orientation","withOrientation","RequiresFullScreen","withRequiresFullScreen","Scheme","withScheme","UsesNonExemptEncryption","withUsesNonExemptEncryption","Version","withBuildNumber","withVersion","withGoogleServicesFile","BuildProperties","withJsEnginePodfileProps","Entitlements","withAssociatedDomains","DeviceFamily","withDeviceFamily","Bitcode","withBitcode","Locales","withLocales","withIosIcons","withAndroidExpoPlugins","props","android","package","AndroidConfig","withJsEngineGradleProps","withNameSettingsGradle","GoogleServices","withClassPath","withApplyPlugin","Package","withPackageGradle","withPackageManifest","AllowBackup","withAllowBackup","WindowSoftInputMode","withWindowSoftInputMode","IntentFilters","withAndroidIntentFilters","Permissions","withInternalBlockedPermissions","withPermissions","withName","StatusBar","withStatusBar","PrimaryColor","withPrimaryColor","withAndroidIcons","withPackageRefactor","versionedExpoSDKPackages","withVersionedExpoSDKPlugins","expoUsername","withMaps","withAdMob","withAppleAuthentication","withContacts","withNotifications","withUpdates","withBranch","withDocumentPicker","withFacebook","withSystemUI","withSplashScreen","withNavigationBar","getAutoPlugins","concat","legacyExpoPlugins","expoManagedVersionedPlugins","getLegacyExpoPlugins","withOptionalLegacyPlugins","plugins","reduce","prev","plugin","_isLegacyPlugin","fallback","withLegacyExpoPlugins","Set"],"mappings":";;;;;;;;;;;AAGA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AASA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;;;AA5BA;AACA;AACA;AA4BA,MAAMA,KAAK,GAAG,sBAAM,sBAAN,CAAd;AAEA;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AAK,CAAC,gCAAD,EAAmC4F,MAAnC,CAAL;AACA,aAAOD,IAAP;AACD;;AAED,WAAO,uCAAiBA,IAAjB,EAAuB;AAC5B;AACAE,MAAAA,eAAe,EAAE,IAFW;AAG5BD,MAAAA,MAH4B;AAI5B;AACAE,MAAAA,QAAQ,EAAE5F,MAAM,IAAIA;AALQ,KAAvB,CAAP;AAOD,GAbM,EAaJA,MAbI,CAAP;AAcD,CAfD;;AAiBO,SAAS6F,qBAAT,CAA+B7F,MAA/B,EAAmD;AACxD,SAAOsF,yBAAyB,CAACtF,MAAD,EAAS,CACvC,GAAG,IAAI8F,GAAJ,CAAQV,2BAA2B,CAACF,MAA5B,CAAmCC,iBAAnC,CAAR,CADoC,CAAT,CAAhC;AAGD","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 withAdMob from './unversioned/expo-ads-admob/expo-ads-admob';\nimport withAppleAuthentication from './unversioned/expo-apple-authentication';\nimport withBranch from './unversioned/expo-branch/expo-branch';\nimport withContacts from './unversioned/expo-contacts';\nimport withDocumentPicker from './unversioned/expo-document-picker';\nimport withFacebook from './unversioned/expo-facebook/expo-facebook';\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-facebook, 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.Swift.withSwiftBridgingHeader,\n IOSConfig.Swift.withNoopSwiftFile,\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 // Entitlements\n IOSConfig.Entitlements.withAssociatedDomains,\n // XcodeProject\n IOSConfig.DeviceFamily.withDeviceFamily,\n IOSConfig.Bitcode.withBitcode,\n IOSConfig.Locales.withLocales,\n // Dangerous\n withIosIcons,\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-facebook, 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\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.Package.withPackageManifest,\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\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-branch',\n 'expo-navigation-bar',\n 'expo-document-picker',\n 'expo-facebook',\n 'expo-splash-screen',\n 'expo-system-ui',\n];\n\nexport const withVersionedExpoSDKPlugins: ConfigPlugin<{ expoUsername: string | null }> = (\n config,\n { expoUsername }\n) => {\n return withPlugins(config, [\n withMaps,\n withAdMob,\n withAppleAuthentication,\n withContacts,\n withNotifications,\n [withUpdates, { expoUsername }],\n withBranch,\n withDocumentPicker,\n withFacebook,\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-barcode-scanner',\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-ads-facebook',\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"],"file":"withDefaultPlugins.js"}
|
|
1
|
+
{"version":3,"file":"withDefaultPlugins.js","names":["debug","Debug","withIosExpoPlugins","config","bundleIdentifier","ios","withPlugins","IOSConfig","BundleIdentifier","withBundleIdentifier","Swift","withSwiftBridgingHeader","withNoopSwiftFile","Google","withGoogle","Name","withDisplayName","withProductName","Orientation","withOrientation","RequiresFullScreen","withRequiresFullScreen","Scheme","withScheme","UsesNonExemptEncryption","withUsesNonExemptEncryption","Version","withBuildNumber","withVersion","withGoogleServicesFile","BuildProperties","withJsEnginePodfileProps","Entitlements","withAssociatedDomains","DeviceFamily","withDeviceFamily","Bitcode","withBitcode","Locales","withLocales","withIosIcons","withAndroidExpoPlugins","props","android","package","AndroidConfig","withJsEngineGradleProps","withNameSettingsGradle","GoogleServices","withClassPath","withApplyPlugin","Package","withPackageGradle","withPackageManifest","AllowBackup","withAllowBackup","WindowSoftInputMode","withWindowSoftInputMode","IntentFilters","withAndroidIntentFilters","Permissions","withInternalBlockedPermissions","withPermissions","withName","StatusBar","withStatusBar","PrimaryColor","withPrimaryColor","withAndroidIcons","withPackageRefactor","versionedExpoSDKPackages","withVersionedExpoSDKPlugins","expoUsername","withMaps","withAdMob","withAppleAuthentication","withContacts","withNotifications","withUpdates","withBranch","withDocumentPicker","withFacebook","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 withAdMob from './unversioned/expo-ads-admob/expo-ads-admob';\nimport withAppleAuthentication from './unversioned/expo-apple-authentication';\nimport withBranch from './unversioned/expo-branch/expo-branch';\nimport withContacts from './unversioned/expo-contacts';\nimport withDocumentPicker from './unversioned/expo-document-picker';\nimport withFacebook from './unversioned/expo-facebook/expo-facebook';\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-facebook, 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.Swift.withSwiftBridgingHeader,\n IOSConfig.Swift.withNoopSwiftFile,\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 // Entitlements\n IOSConfig.Entitlements.withAssociatedDomains,\n // XcodeProject\n IOSConfig.DeviceFamily.withDeviceFamily,\n IOSConfig.Bitcode.withBitcode,\n IOSConfig.Locales.withLocales,\n // Dangerous\n withIosIcons,\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-facebook, 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\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.Package.withPackageManifest,\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\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-branch',\n 'expo-navigation-bar',\n 'expo-document-picker',\n 'expo-facebook',\n 'expo-splash-screen',\n 'expo-system-ui',\n];\n\nexport const withVersionedExpoSDKPlugins: ConfigPlugin<{ expoUsername: string | null }> = (\n config,\n { expoUsername }\n) => {\n return withPlugins(config, [\n withMaps,\n withAdMob,\n withAppleAuthentication,\n withContacts,\n withNotifications,\n [withUpdates, { expoUsername }],\n withBranch,\n withDocumentPicker,\n withFacebook,\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-barcode-scanner',\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-ads-facebook',\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(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C5B;MACAI,eAAe,EAAE,IAFW;MAG5BH,MAH4B;MAI5B;MACAI,QAAQ,EAAG/F,MAAD,IAAYA;IALM,CAAvB,CAAP;EAOD,CAbM,EAaJA,MAbI,CAAP;AAcD,CAfD;;AAiBO,SAASgG,qBAAT,CAA+BhG,MAA/B,EAAmD;EACxD,OAAOuF,yBAAyB,CAACvF,MAAD,EAAS,CACvC,GAAG,IAAIiG,GAAJ,CAAQZ,2BAA2B,CAACF,MAA5B,CAAmCC,iBAAnC,CAAR,CADoC,CAAT,CAAhC;AAGD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/prebuild-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Get the prebuild config",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "https://github.com/expo/expo
|
|
17
|
-
"directory": "packages/prebuild-config"
|
|
16
|
+
"url": "https://github.com/expo/expo.git",
|
|
17
|
+
"directory": "packages/@expo/prebuild-config"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
20
20
|
"json",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
],
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"bugs": {
|
|
27
|
-
"url": "https://github.com/expo/expo
|
|
27
|
+
"url": "https://github.com/expo/expo/issues"
|
|
28
28
|
},
|
|
29
|
-
"homepage": "https://github.com/expo/expo
|
|
29
|
+
"homepage": "https://github.com/expo/expo/tree/main/packages/@expo/prebuild-config#readme",
|
|
30
30
|
"files": [
|
|
31
31
|
"build"
|
|
32
32
|
],
|
|
@@ -35,19 +35,22 @@
|
|
|
35
35
|
"@types/xml2js": "^0.4.5"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@expo/config": "
|
|
39
|
-
"@expo/config-plugins": "
|
|
40
|
-
"@expo/config-types": "^
|
|
41
|
-
"@expo/image-utils": "0.3.
|
|
38
|
+
"@expo/config": "7.0.0",
|
|
39
|
+
"@expo/config-plugins": "~5.0.0",
|
|
40
|
+
"@expo/config-types": "^46.0.0",
|
|
41
|
+
"@expo/image-utils": "0.3.20",
|
|
42
42
|
"@expo/json-file": "8.2.36",
|
|
43
43
|
"debug": "^4.3.1",
|
|
44
|
-
"expo-modules-autolinking": "0.8.1",
|
|
45
44
|
"fs-extra": "^9.0.0",
|
|
46
45
|
"resolve-from": "^5.0.0",
|
|
47
46
|
"semver": "7.3.2",
|
|
48
47
|
"xml2js": "0.4.23"
|
|
49
48
|
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"expo-modules-autolinking": ">=0.8.1"
|
|
51
|
+
},
|
|
50
52
|
"publishConfig": {
|
|
51
53
|
"access": "public"
|
|
52
|
-
}
|
|
54
|
+
},
|
|
55
|
+
"gitHead": "8151bf48e683a50e942ef213f7978b35c41f5e11"
|
|
53
56
|
}
|