Lines Matching refs:exp

18 function getUsernameAsync(exp: ExpoConfig) {
21 return getAccountUsername(exp);
34 const { exp } = getConfig(projectRoot); constant
36 const current = exp.ios?.bundleIdentifier;
48 return await promptForBundleIdAsync(projectRoot, exp);
51 async function promptForBundleIdAsync(projectRoot: string, exp: ExpoConfig): Promise<string> {
60 initial: (await getRecommendedBundleIdAsync(exp)) ?? undefined,
74 return await promptForBundleIdAsync(projectRoot, exp);
81 ios: { ...(exp.ios || {}), bundleIdentifier },
105 async function getRecommendedBundleIdAsync(exp: ExpoConfig): Promise<string | null> {
107 if (exp.android?.package && validateBundleId(exp.android?.package)) {
108 return exp.android?.package;
110 const username = await getUsernameAsync(exp);
111 const possibleId = `com.${username}.${exp.slug}`;
121 async function getRecommendedPackageNameAsync(exp: ExpoConfig): Promise<string | null> {
123 if (exp.ios?.bundleIdentifier && validatePackage(exp.ios.bundleIdentifier)) {
124 return exp.ios.bundleIdentifier;
126 const username = await getUsernameAsync(exp);
128 const possibleId = `com.${username}.${exp.slug}`.split('-').join('');
142 const { exp } = getConfig(projectRoot); constant
144 const current = exp.android?.package;
154 return await promptForPackageAsync(projectRoot, exp);
157 async function promptForPackageAsync(projectRoot: string, exp: ExpoConfig): Promise<string> {
166 initial: (await getRecommendedPackageNameAsync(exp)) ?? undefined,
179 return await promptForPackageAsync(projectRoot, exp);
186 android: { ...(exp.android || {}), package: packageName },