Home
last modified time | relevance | path

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

/expo/packages/create-expo/src/
H A DresolveProjectRoot.ts11 export function assertValidName(folderName: string) {
12 const validation = Template.validateName(folderName);
14 Log.exit(chalk`{red Cannot create an app named {bold "${folderName}"}. ${validation}}`, 1);
16 const isFolderNameForbidden = Template.isFolderNameForbidden(folderName);
19 …chalk`{red Cannot create an app named {bold "${folderName}"} because it would conflict with a depe…
25 export function assertFolderEmpty(projectRoot: string, folderName: string) {
28 Log.log(chalk`The directory {cyan ${folderName}} has files that might be overwritten:`);
74 const folderName = path.basename(projectRoot); constant
76 assertValidName(folderName);
80 assertFolderEmpty(projectRoot, folderName);
H A DcreateAsync.ts45 const folderName = path.basename(projectRoot); constant
46 assertValidName(folderName);
47 assertFolderEmpty(projectRoot, folderName);
H A DTemplate.ts31 export function isFolderNameForbidden(folderName: string): boolean {
32 return FORBIDDEN_NAMES.includes(folderName);
/expo/packages/expo-notifications/plugin/src/
H A DwithNotificationsAndroid.ts18 type dpiMap = Record<DPIString, { folderName: string; scale: number }>;
22 mdpi: { folderName: 'mipmap-mdpi', scale: 1 },
23 hdpi: { folderName: 'mipmap-hdpi', scale: 1.5 },
24 xhdpi: { folderName: 'mipmap-xhdpi', scale: 2 },
25 xxhdpi: { folderName: 'mipmap-xxhdpi', scale: 3 },
26 xxxhdpi: { folderName: 'mipmap-xxxhdpi', scale: 4 },
149 Object.values(dpiValues).map(async ({ folderName, scale }) => {
150 const drawableFolderName = folderName.replace('mipmap', 'drawable');
181 Object.values(dpiValues).forEach(async ({ folderName }) => {
182 const drawableFolderName = folderName.replace('mipmap', 'drawable');
/expo/packages/expo-notifications/plugin/build/
H A DwithNotificationsAndroid.js11 mdpi: { folderName: 'mipmap-mdpi', scale: 1 }, property
12 hdpi: { folderName: 'mipmap-hdpi', scale: 1.5 }, property
13 xhdpi: { folderName: 'mipmap-xhdpi', scale: 2 }, property
14 xxhdpi: { folderName: 'mipmap-xxhdpi', scale: 3 }, property
15 xxxhdpi: { folderName: 'mipmap-xxxhdpi', scale: 4 }, property
111 await Promise.all(Object.values(exports.dpiValues).map(async ({ folderName, scale }) => { field
112 const drawableFolderName = folderName.replace('mipmap', 'drawable');
134 Object.values(exports.dpiValues).forEach(async ({ folderName }) => { field
135 const drawableFolderName = folderName.replace('mipmap', 'drawable');
H A DwithNotificationsAndroid.d.ts6 folderName: string;
/expo/packages/@expo/prebuild-config/src/plugins/icons/
H A DwithAndroidIcons.ts18 type dpiMap = Record<DPIString, { folderName: string; scale: number }>;
21 mdpi: { folderName: 'mipmap-mdpi', scale: 1 },
22 hdpi: { folderName: 'mipmap-hdpi', scale: 1.5 },
23 xhdpi: { folderName: 'mipmap-xhdpi', scale: 2 },
24 xxhdpi: { folderName: 'mipmap-xxhdpi', scale: 3 },
25 xxxhdpi: { folderName: 'mipmap-xxxhdpi', scale: 4 },
352 callback: (value: { dpiFolder: string; folderName: string; scale: number }) => Promise<void>
357 dpiFolder: path.resolve(projectRoot, ANDROID_RES_PATH, value.folderName),
/expo/packages/@expo/prebuild-config/src/plugins/unversioned/expo-notifications/
H A DwithAndroidNotifications.ts116 Object.values(dpiValues).map(async ({ folderName, scale }) => {
117 const drawableFolderName = folderName.replace('mipmap', 'drawable');
145 Object.values(dpiValues).map(async ({ folderName }) => {
146 const drawableFolderName = folderName.replace('mipmap', 'drawable');
/expo/packages/expo-updates/
H A Dexpo-updates.gradle20 def folderName = variant.name
21 def targetName = folderName.capitalize()
23 def assetsDir = file("$buildDir/intermediates/merged_assets/${folderName}/out")
27 …assetsDir = file("$buildDir/intermediates/merged_assets/${folderName}/merge${targetName}Assets/out…
/expo/packages/@expo/prebuild-config/build/plugins/unversioned/expo-notifications/
H A DwithAndroidNotifications.js136 folderName, field
139 const drawableFolderName = folderName.replace('mipmap', 'drawable');
162 folderName field
164 const drawableFolderName = folderName.replace('mipmap', 'drawable');
H A DwithAndroidNotifications.js.map1folderName","scale","drawableFolderName","replace","dpiFolderPath","path","resolve","ANDROID_RES_P…
/expo/packages/@expo/prebuild-config/build/plugins/icons/
H A DwithAndroidIcons.js55 folderName: 'mipmap-mdpi', property
59 folderName: 'mipmap-hdpi', property
63 folderName: 'mipmap-xhdpi', property
67 folderName: 'mipmap-xxhdpi', property
71 folderName: 'mipmap-xxxhdpi', property
331 dpiFolder: _path().default.resolve(projectRoot, ANDROID_RES_PATH, value.folderName),
H A DwithAndroidIcons.d.ts5 folderName: string;
H A DwithAndroidIcons.js.map1folderName","scale","hdpi","xhdpi","xxhdpi","xxxhdpi","exports","BASELINE_PIXEL_SIZE","ANDROID_RES…
/expo/packages/@expo/cli/src/prebuild/
H A DclearNativeFolder.ts19 folders.map((folderName) =>
20 fs.promises.rm(path.join(projectRoot, folderName), {
/expo/packages/expo-file-system/build/
H A DFileSystem.js538 function getUriForDirectoryInRoot(folderName) { argument
539 …://com.android.externalstorage.documents/tree/primary:${folderName}/document/primary:${folderName}…
H A DFileSystem.d.ts310 function getUriForDirectoryInRoot(folderName: string): string;
H A DFileSystem.js.map1folderName The name of the folder which is located in the Android root directory.\n * @return Re…
/expo/packages/expo-file-system/src/
H A DFileSystem.ts663 export function getUriForDirectoryInRoot(folderName: string) {
664 …://com.android.externalstorage.documents/tree/primary:${folderName}/document/primary:${folderName}…
/expo/apps/test-suite/tests/
H A DFileSystem.js483 const folderName = '中文';
484 const folderUri = FS.documentDirectory + folderName;
/expo/ios/versioned/sdk48/EXMediaLibrary/EXMediaLibrary/
H A DABI48_0_0EXMediaLibrary.m865 …ionary *)_exportCollection:(PHAssetCollection *)collection inFolder:(nullable NSString *)folderName
871 @"folderName": ABI48_0_0EXNullIfNil(folderName),
885 inFolder:(nullable NSString *)folderName
890 …t:[ABI48_0_0EXMediaLibrary _exportCollection:(PHAssetCollection *)collection inFolder:folderName]];
/expo/ios/versioned/sdk49/EXMediaLibrary/EXMediaLibrary/
H A DABI49_0_0EXMediaLibrary.m870 …ionary *)_exportCollection:(PHAssetCollection *)collection inFolder:(nullable NSString *)folderName
876 @"folderName": ABI49_0_0EXNullIfNil(folderName),
890 inFolder:(nullable NSString *)folderName
895 …t:[ABI49_0_0EXMediaLibrary _exportCollection:(PHAssetCollection *)collection inFolder:folderName]];
/expo/ios/versioned/sdk47/EXMediaLibrary/EXMediaLibrary/
H A DABI47_0_0EXMediaLibrary.m865 …ionary *)_exportCollection:(PHAssetCollection *)collection inFolder:(nullable NSString *)folderName
871 @"folderName": ABI47_0_0EXNullIfNil(folderName),
885 inFolder:(nullable NSString *)folderName
890 …t:[ABI47_0_0EXMediaLibrary _exportCollection:(PHAssetCollection *)collection inFolder:folderName]];
/expo/packages/expo-media-library/ios/EXMediaLibrary/
H A DEXMediaLibrary.m873 …ionary *)_exportCollection:(PHAssetCollection *)collection inFolder:(nullable NSString *)folderName
879 @"folderName": EXNullIfNil(folderName),
893 inFolder:(nullable NSString *)folderName
898 … addObject:[EXMediaLibrary _exportCollection:(PHAssetCollection *)collection inFolder:folderName]];
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dfilesystem.mdx728 ### `StorageAccessFramework.getUriForDirectoryInRoot(folderName)`
734 - **folderName (_string_)** -- The name of the folder which is located in the Android root director…