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

[apply] Fix android schemes being added incorrectly #2507

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

EvanBacon
Copy link
Contributor

Android schemes were being added incorrectly each time apply was being run, this caused the manifest to get bigger on every run of expo apply. I fixed this by using the same logic as uri-scheme. We now remove all of the schemes, then add them all back each time, we also append the object correctly so it doesn't get duplicated.

I also added an extra warning (in the same place we throw in uri-scheme) which warns the user that their manifest is not properly configured, this warning also links to an fyi for how to fix the issue.

Test Plan

  • Current tests should cover this.

@EvanBacon EvanBacon self-assigned this Aug 26, 2020
@EvanBacon EvanBacon merged commit fc27865 into master Aug 26, 2020
@EvanBacon EvanBacon deleted the @evanbacon/eject/fix-android-schemes branch August 26, 2020 06:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants