Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Prompt for bundle ID and package name in expo apply #2498

Merged
merged 2 commits into from
Aug 26, 2020

Conversation

EvanBacon
Copy link
Contributor

@EvanBacon EvanBacon commented Aug 25, 2020

Right now expo apply crashes if the project config doesn't have a bundle ID or package name defined. This prompts the user for the appropriate values using the same logic as eject.

This code does however get executed twice now when ejecting, but it might be ok since it's important that the command bails out as quickly as possible in expo eject.

Also added the ability to run in projects without Expo configs. I modified the order of operations, so Android config is done first, this way the package name is optimized for being shared across iOS and Android.

@EvanBacon EvanBacon added the enhancement New feature or request label Aug 25, 2020
@EvanBacon EvanBacon self-assigned this Aug 25, 2020
@EvanBacon EvanBacon merged commit 9e58cdb into master Aug 26, 2020
@EvanBacon EvanBacon deleted the @evanbacon/apply/prompt-bundle-id-and-package-name branch August 26, 2020 02:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant