| /expo/packages/@expo/config-plugins/src/ios/ |
| H A D | Scheme.ts | 16 if (Array.isArray(config.scheme)) { 20 return config.scheme.filter<string>(validate); 21 } else if (typeof config.scheme === 'string') { 22 return [config.scheme]; 31 const scheme = [ constant 38 scheme.push(config.ios.bundleIdentifier); 40 if (scheme.length === 0) { 46 CFBundleURLTypes: [{ CFBundleURLSchemes: scheme }], 51 if (!scheme) { 65 CFBundleURLSchemes: [scheme], [all …]
|
| H A D | BuildScheme.ts | 89 scheme: string 92 const re = new RegExp(`/${scheme}.xcscheme`, 'i'); 97 throw new Error(`scheme '${scheme}' does not exist, make sure it's marked as shared`); 103 scheme: string 105 const schemeXML = await readSchemeAsync(projectRoot, scheme); 117 throw new Error(`${scheme}.xcscheme seems to be corrupted`); 124 scheme: string 126 const schemeXML = await readSchemeAsync(projectRoot, scheme); 129 throw new Error(`${scheme}.xcscheme seems to be corrupted`);
|
| /expo/packages/expo-linking/src/ |
| H A D | Schemes.ts | 21 scheme?: string | string[]; 26 if (Array.isArray(config.scheme)) { 32 return [config.scheme]; 125 if (options.scheme) { 128 return options.scheme; 138 if (options.scheme) { 146 options.scheme 148 .map((scheme) => `'${scheme}'`) 154 return options.scheme; 177 if (!scheme) { [all …]
|
| H A D | createURL.ts | 78 { scheme, queryParams = {}, isTripleSlashed = false }: CreateURLOptions = {} 80 const resolvedScheme = resolveScheme({ scheme }); 151 let scheme = parsed.protocol || null; 153 if (scheme) { 155 scheme = scheme.substring(0, scheme.length - 1); 179 scheme,
|
| /expo/packages/expo-linking/build/ |
| H A D | Schemes.js | 20 if (Array.isArray(config.scheme)) { 24 return config.scheme.filter(validate); 26 else if (typeof config.scheme === 'string') { 27 return [config.scheme]; 101 if (options.scheme) { 104 return options.scheme; 112 if (options.scheme) { 119 .map((scheme) => `'${scheme}'`) 124 return options.scheme; 143 if (!scheme) { [all …]
|
| H A D | createURL.js | 67 export function createURL(path, { scheme, queryParams = {}, isTripleSlashed = false } = {}) { field 68 const resolvedScheme = resolveScheme({ scheme }); field 128 let scheme = parsed.protocol || null; 129 if (scheme) { 131 scheme = scheme.substring(0, scheme.length - 1); 152 scheme,
|
| H A D | Schemes.js.map | 1 …scheme.\n return true;\n } else if (Constants.executionEnvironment === ExecutionEnvironment.St…
|
| /expo/packages/@expo/config-plugins/build/ios/ |
| H A D | Scheme.js | 26 if (Array.isArray(config.scheme)) { 30 return config.scheme.filter(validate); 32 return [config.scheme]; 38 const scheme = [...getScheme(config), 45 if (scheme.length === 0) { 51 CFBundleURLSchemes: scheme 55 function appendScheme(scheme, infoPlist) { argument 57 if (!scheme) { 69 CFBundleURLSchemes: [scheme] 74 if (!scheme) { [all …]
|
| H A D | Scheme.d.ts | 5 scheme?: string | string[]; 8 export declare function appendScheme(scheme: string | null, infoPlist: InfoPlist): InfoPlist; 9 export declare function removeScheme(scheme: string | null, infoPlist: InfoPlist): InfoPlist; 10 export declare function hasScheme(scheme: string, infoPlist: InfoPlist): boolean;
|
| H A D | BuildScheme.js | 79 async function readSchemeAsync(projectRoot, scheme) { argument 81 const re = new RegExp(`/${scheme}.xcscheme`, 'i'); 88 throw new Error(`scheme '${scheme}' does not exist, make sure it's marked as shared`); 91 async function getApplicationTargetNameForSchemeAsync(projectRoot, scheme) { argument 93 const schemeXML = await readSchemeAsync(projectRoot, scheme); 100 throw new Error(`${scheme}.xcscheme seems to be corrupted`); 104 async function getArchiveBuildConfigurationForSchemeAsync(projectRoot, scheme) { argument 106 const schemeXML = await readSchemeAsync(projectRoot, scheme); 109 throw new Error(`${scheme}.xcscheme seems to be corrupted`);
|
| /expo/packages/expo-linking/src/__tests__/ |
| H A D | Schemes-test.native.ts | 22 scheme: 'demo', 29 scheme: undefined, 36 scheme: 'demo', 82 scheme: 'demo', 90 scheme: undefined, 100 scheme: 'unused', 109 scheme: 'unused', 120 scheme: 'unused', 128 scheme: 'foobar', 146 scheme: undefined, [all …]
|
| /expo/packages/@expo/cli/src/start/server/__tests__/ |
| H A D | UrlCreator-test.ts | 32 createDefaultCreator().constructLoadingUrl({ scheme: 'my-scheme' }, 'android') 47 expect(createDefaultCreator().constructDevClientUrl({ scheme: 'http' })).toEqual(null); 48 expect(createDefaultCreator().constructDevClientUrl({ scheme: 'https' })).toEqual(null); 52 createDefaultCreator().constructDevClientUrl({ scheme: 'dev.expo.invalid_node_protocol' }) 62 createDefaultCreator().constructDevClientUrl({ scheme: 'bacon', hostType: 'tunnel' }) 67 createDefaultCreator().constructDevClientUrl({ scheme: 'bacon', hostType: 'localhost' }) 72 createDefaultCreator().constructDevClientUrl({ scheme: 'bacon', hostname: 'foobar.dev' }) 91 expect(createDefaultCreator().constructUrl({ scheme: 'exp' })).toMatchInlineSnapshot( 112 new UrlCreator({ scheme: 'foobar' }, { port: 8081 }).constructUrl({}) 117 new UrlCreator({ scheme: 'foobar' }, { port: 8081 }).constructUrl({ scheme: 'newer' }) [all …]
|
| /expo/packages/expo-dev-client/plugin/src/ |
| H A D | getDefaultScheme.ts | 17 let scheme = config.slug.replace(/[^A-Za-z0-9+\-.]/g, ''); 19 if (scheme.length === 0) { 26 scheme = scheme.toLowerCase(); 29 return `exp+${scheme}`;
|
| H A D | withGeneratedAndroidScheme.ts | 28 const scheme = getDefaultScheme(config); constant 29 if (!AndroidConfig.Scheme.hasScheme(scheme, androidManifest)) { 30 androidManifest = AndroidConfig.Scheme.appendScheme(scheme, androidManifest); 59 (scheme: string) => scheme === defaultScheme
|
| /expo/packages/expo-dev-client/plugin/build/ |
| H A D | getDefaultScheme.js | 16 let scheme = config.slug.replace(/[^A-Za-z0-9+\-.]/g, ''); 18 if (scheme.length === 0) { 22 scheme = scheme.toLowerCase(); 24 return `exp+${scheme}`;
|
| /expo/packages/@expo/config-plugins/src/android/ |
| H A D | Scheme.ts | 11 scheme: string; 19 if (Array.isArray(config.scheme)) { 22 return config.scheme.filter<string>(validate); 23 } else if (typeof config.scheme === 'string') { 24 return [config.scheme]; 87 scheme: data?.$?.['android:scheme'], 126 for (const { scheme, host } of properties.data) { constant 128 outputSchemes.push(scheme); 172 return schemes.includes(scheme); 188 $: { 'android:scheme': scheme }, [all …]
|
| /expo/packages/@expo/cli/src/run/ios/options/ |
| H A D | resolveNativeScheme.ts | 32 { scheme, configuration }: { scheme?: string | boolean; configuration?: XcodeConfiguration } 41 if (scheme === true) { 65 return scheme ? schemes.find(({ name }) => name === scheme) || { name: scheme } : null; 84 const scheme = constant 87 debug(`Using default scheme: ${scheme.name}`); 88 return scheme;
|
| /expo/packages/@expo/config-plugins/build/android/ |
| H A D | Scheme.d.ts | 7 scheme: string; 13 scheme?: string | string[]; 18 export declare function hasScheme(scheme: string, androidManifest: AndroidManifest): boolean; 19 export declare function appendScheme(scheme: string, androidManifest: AndroidManifest): AndroidMani… 20 export declare function removeScheme(scheme: string, androidManifest: AndroidManifest): AndroidMani…
|
| H A D | Scheme.js | 31 if (Array.isArray(config.scheme)) { 33 return config.scheme.filter(validate); 34 } else if (typeof config.scheme === 'string') { 35 return [config.scheme]; 132 scheme, field 136 outputSchemes.push(scheme); 183 function hasScheme(scheme, androidManifest) { argument 185 return schemes.includes(scheme); 187 function appendScheme(scheme, androidManifest) { argument 201 'android:scheme': scheme [all …]
|
| /expo/android/expoview/src/main/java/host/exp/exponent/kernel/services/linking/ |
| H A D | LinkingKernelService.kt | 18 val scheme = uri.scheme in canOpenURI() constant 19 if (scheme == "exp" || scheme == "exps") { in canOpenURI() 22 if (Constants.SHELL_APP_SCHEME != null && Constants.SHELL_APP_SCHEME == scheme) { in canOpenURI()
|
| /expo/packages/expo-auth-session/src/__tests__/ |
| H A D | SessionUrlProvider-test.ts | 20 scheme: 'my-app', 92 scheme: 'my-app', 118 scheme: 'my-app', 135 scheme: 'my-app', 157 scheme: 'my-app', 170 scheme: 'foobar', 204 scheme: 'my-app', 237 scheme: 'my-app', 281 scheme: 'my-app', 294 scheme: 'foobar', [all …]
|
| /expo/packages/@expo/cli/src/start/server/ |
| H A D | UrlCreator.ts | 11 scheme?: string | null; property 40 const url = new URL('_expo/loading', this.constructUrl({ scheme: 'http', ...options })); 51 const protocol = options?.scheme || this.defaults?.scheme; 63 const manifestUrl = this.constructUrl({ ...options, scheme: 'http' }); 92 protocol: options.scheme ?? 'http', 117 protocol: options.scheme ?? 'http', 127 let protocol = options.scheme ?? 'http';
|
| /expo/packages/expo-linking/src/__tests__/__snapshots__/ |
| H A D | Linking-test.ts.snap.node | 52 "scheme": "custom", 61 "scheme": "custom", 72 "scheme": "custom", 103 "scheme": "exp", 114 "scheme": "exp", 125 "scheme": "exp", 134 "scheme": "exp", 145 "scheme": "exp", 154 "scheme": "https", 165 "scheme": "https", [all …]
|
| /expo/packages/expo-dev-launcher/android/src/main/java/expo/modules/devlauncher/helpers/ |
| H A D | DevLauncherURLHelper.kt | 5 fun replaceEXPScheme(uri: Uri, scheme: String): Uri = if (uri.scheme == "exp") uri.buildUpon().sche… in <lambda>()
|
| /expo/packages/@expo/cli/src/start/ |
| H A D | resolveOptions.ts | 21 scheme: string | null; 51 const scheme = await resolveSchemeAsync(projectRoot, { constant 52 scheme: args['--scheme'], 73 scheme, 80 options: { scheme?: string; devClient?: boolean } 95 if (typeof options.scheme === 'string') { 97 return options.scheme ?? null;
|