Skip to content

Commit

Permalink
[eas-cli] create keystore for Android emulator builds in `init:onboar…
Browse files Browse the repository at this point in the history
…ding` (#2379)

* [eas-cli] create keystore for Android emulator builds in `init:onboarding`

* use correct build profile
  • Loading branch information
szdziedzic authored May 13, 2024
1 parent ff9d533 commit 57928d1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/eas-cli/src/commands/project/onboarding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ export default class Onboarding extends EasCommand {
await vcsClient.trackFileAsync('package-lock.json');

const shouldSetupCredentials =
actor.preferences.onboarding.deviceType === OnboardingDeviceType.Device &&
((platform === Platform.IOS &&
actor.preferences.onboarding.deviceType === OnboardingDeviceType.Device) ||
platform === Platform.ANDROID) &&
actor.preferences.onboarding.environment === OnboardingEnvironment.DevBuild;
if (shouldSetupCredentials) {
Log.log('🔑 Now we need to set up build credentials for your project:');
Expand All @@ -213,7 +215,9 @@ export default class Onboarding extends EasCommand {
exp,
getDynamicProjectConfigFn,
platform,
'development',
actor.preferences.onboarding.deviceType === OnboardingDeviceType.Simulator
? 'development-simulator'
: 'development',
finalTargetProjectDirectory
).runAsync();
}
Expand Down

0 comments on commit 57928d1

Please sign in to comment.